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