52 references to Feature
Microsoft.ML.Core (5)
Data\RoleMappedSchema.cs (5)
52
/// commonly used pre-defined instances available (for example, <see cref="Label"/>, <see cref="
Feature
"/>) that should
130
/// The <see cref="ColumnRole.
Feature
"/> column, when there is exactly one (null otherwise).
361
yield return ColumnRole.
Feature
.Bind(feature);
381
/// <param name="feature">The column name that will be mapped to the <see cref="ColumnRole.
Feature
"/> role</param>
467
/// <param name="feature">The column name that will be mapped to the <see cref="RoleMappedSchema.ColumnRole.
Feature
"/> role</param>
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
2184
RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Feature
, "Features"),
Microsoft.ML.Data (16)
DataLoadSave\TransformerChain.cs (6)
302
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value);
306
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value,
310
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value);
313
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value);
316
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value);
319
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value);
Deprecated\Instances\HeaderSchema.cs (5)
40
schemaBuilder.AddColumn(RoleMappedSchema.ColumnRole.
Feature
.Value, _colType, metadataBuilder.ToAnnotations());
309
roles: RoleMappedSchema.ColumnRole.
Feature
.Bind(RoleMappedSchema.ColumnRole.
Feature
.Value));
401
roles: RoleMappedSchema.ColumnRole.
Feature
.Bind(RoleMappedSchema.ColumnRole.
Feature
.Value));
Evaluators\ClusteringEvaluator.cs (2)
77
roles.Add(RoleMappedSchema.ColumnRole.
Feature
.Bind(features));
816
yield return RoleMappedSchema.ColumnRole.
Feature
.Bind(feat);
Scorers\FeatureContributionCalculation.cs (1)
390
yield return RoleMappedSchema.ColumnRole.
Feature
.Bind(FeatureColumn.Name);
Scorers\SchemaBindablePredictorWrapper.cs (2)
230
yield return RoleMappedSchema.ColumnRole.
Feature
.Bind(InputRoleMappedSchema.Feature.Value.Name);
550
yield return (InputRoleMappedSchema.Feature.HasValue) ? RoleMappedSchema.ColumnRole.
Feature
.Bind(InputRoleMappedSchema.Feature?.Name) : RoleMappedSchema.ColumnRole.Label.Bind(InputRoleMappedSchema.Label?.Name);
Microsoft.ML.EntryPoints (6)
FeatureCombiner.cs (2)
33
yield return RoleMappedSchema.ColumnRole.
Feature
.Bind(col);
56
var feats = rms.GetColumns(RoleMappedSchema.ColumnRole.
Feature
);
PermutationFeatureImportance.cs (4)
91
var featureColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value;
148
var featureColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value;
207
var featureColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value;
259
var featureColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Feature
.Value).First().Value;
Microsoft.ML.FastTree (5)
FastTree.cs (2)
3151
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, NumFeatures, ref names);
3183
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, NumFeatures, ref names);
GamModelParameters.cs (1)
373
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, _numInputFeatures, ref names);
TreeEnsembleFeaturizationTransformer.cs (1)
65
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, _featureDetachedColumn.Name));
TreeEnsembleFeaturizer.cs (1)
359
yield return RoleMappedSchema.ColumnRole.
Feature
.Bind(FeatureColumn.Name);
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
902
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, Weight.Length, ref names);
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
536
new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, "Features"),
575
new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, "Features"),
Microsoft.ML.StandardTrainers (16)
FactorizationMachine\FactorizationMachineTrainer.cs (5)
362
var featureColumns = data.Schema.GetColumns(RoleMappedSchema.ColumnRole.
Feature
);
415
var featureColumns = data.Schema.GetColumns(RoleMappedSchema.ColumnRole.
Feature
);
440
var validFeatureColumns = data.Schema.GetColumns(RoleMappedSchema.ColumnRole.
Feature
);
595
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, feat.Name));
600
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, WeightColumn.Name));
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
425
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, feat));
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (2)
84
_columns = schema.GetColumns(RoleMappedSchema.ColumnRole.
Feature
).ToArray();
87
var inputFeatureColumns = _columns.Select(c => new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Feature
, c.Name)).ToList();
Standard\LinearModelParameters.cs (2)
377
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, Weight.Length, ref names);
552
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, Weight.Length, ref names);
Standard\LinearPredictorUtils.cs (3)
38
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, weights.Length, ref featureNames);
106
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, weights.Length, ref featureNames);
232
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, weights.Length, ref names);
Standard\LogisticRegression\MulticlassLogisticRegression.cs (3)
839
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, NumberOfFeatures, ref names);
1100
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, NumberOfFeatures, ref dst);
1120
AnnotationUtils.GetSlotNames(schema, RoleMappedSchema.ColumnRole.
Feature
, Weights.Length, ref names);