2 writes to _featureDetachedColumn
Microsoft.ML.FastTree (2)
TreeEnsembleFeaturizationTransformer.cs (2)
76
_featureDetachedColumn
= new DataViewSchema.DetachedColumn(featureColumn);
116
_featureDetachedColumn
= new DataViewSchema.DetachedColumn(TrainSchema[featureColumnName]);
12 references to _featureDetachedColumn
Microsoft.ML.FastTree (12)
TreeEnsembleFeaturizationTransformer.cs (12)
40
/// Check if <see cref="
_featureDetachedColumn
"/> is compatible with <paramref name="inspectedFeatureColumn"/>.
42
/// <param name="inspectedFeatureColumn">A column checked against <see cref="
_featureDetachedColumn
"/>.</param>
46
$"feature column with name {
_featureDetachedColumn
.Name} and type {
_featureDetachedColumn
.Type}. " +
49
Host.Check(
_featureDetachedColumn
.Name == inspectedFeatureColumn.Name, nameErrorMessage);
52
$"which does not match the expected feature column with name {
_featureDetachedColumn
.Name} and type {
_featureDetachedColumn
.Type}. " +
53
$"Please make sure your feature column type is {
_featureDetachedColumn
.Type}.";
55
Host.Check(
_featureDetachedColumn
.Type.Equals(inspectedFeatureColumn.Type), typeErrorMessage);
59
/// Create <see cref="RoleMappedSchema"/> from <paramref name="schema"/> by using <see cref="
_featureDetachedColumn
"/> as the feature role.
65
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Feature,
_featureDetachedColumn
.Name));
172
ctx.SaveString(
_featureDetachedColumn
.Name);