Implemented interface members:
property
FeatureColumnName
Microsoft.ML.ISingleFeaturePredictionTransformer<TModel>.FeatureColumnName
property
FeatureColumnName
Microsoft.ML.ISingleFeaturePredictionTransformer.FeatureColumnName
3 writes to FeatureColumnName
Microsoft.ML.Data (3)
Scorers\PredictionTransformer.cs (3)
230FeatureColumnName = featureColumn; 244FeatureColumnName = ctx.LoadStringOrNull(); 259FeatureColumnName = ctx.LoadStringOrNull();
20 references to FeatureColumnName
Microsoft.ML.Data (20)
Scorers\PredictionTransformer.cs (18)
246if (FeatureColumnName == null) 248else if (!TrainSchema.TryGetColumnIndex(FeatureColumnName, out int col)) 249throw Host.ExceptSchemaMismatch(nameof(FeatureColumnName), "feature", FeatureColumnName); 261if (FeatureColumnName == null) 263else if (!TrainSchema.TryGetColumnIndex(FeatureColumnName, out int col)) 264throw Host.ExceptSchemaMismatch(nameof(FeatureColumnName), "feature", FeatureColumnName); 280if (FeatureColumnName != null) 282if (!inputSchema.TryGetColumnIndex(FeatureColumnName, out int col)) 283throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumnName); 285throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumnName, FeatureColumnType.ToString(), inputSchema[col].Type.ToString()); 301ctx.SaveStringOrNull(FeatureColumnName); 306var schema = new RoleMappedSchema(TrainSchema, null, FeatureColumnName); 348var schema = new RoleMappedSchema(TrainSchema, null, FeatureColumnName); 440var schema = new RoleMappedSchema(TrainSchema, LabelColumnName, FeatureColumnName); 532var schema = new RoleMappedSchema(TrainSchema, _trainLabelColumn, FeatureColumnName); 686var schema = new RoleMappedSchema(TrainSchema, null, FeatureColumnName);
TrainCatalog.cs (2)
296return new BinaryPredictionTransformer<TModel>(Environment, model.Model, model.TrainSchema, model.FeatureColumnName, threshold, model.ThresholdColumn); 790return new AnomalyPredictionTransformer<TModel>(Environment, model.Model, model.TrainSchema, model.FeatureColumnName, threshold, model.ThresholdColumn);