33 references to Label
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 135/// The <see cref="ColumnRole.Label"/> column, when there is exactly one (null otherwise). 359yield return ColumnRole.Label.Bind(label); 380/// <param name="label">The column name that will be mapped to the <see cref="ColumnRole.Label"/> role</param> 466/// <param name="label">The column name that will be mapped to the <see cref="RoleMappedSchema.ColumnRole.Label"/> role</param>
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
2185RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label, "Label"));
Microsoft.ML.Data (13)
DataLoadSave\TransformerChain.cs (1)
307roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.Label.Value).First().Value);
Evaluators\AnomalyDetectionEvaluator.cs (1)
597RoleMappedSchema.ColumnRole.Label.Bind(label),
Evaluators\BinaryClassifierEvaluator.cs (4)
819RoleMappedSchema.ColumnRole.Label.Bind(label), 867RoleMappedSchema.ColumnRole.Label.Bind(label), 947RoleMappedSchema.ColumnRole.Label.Bind(label), 993RoleMappedSchema.ColumnRole.Label.Bind(label),
Evaluators\ClusteringEvaluator.cs (2)
74roles.Add(RoleMappedSchema.ColumnRole.Label.Bind(label)); 805if (!col.Key.Equals(RoleMappedSchema.ColumnRole.Label))
Evaluators\MamlEvaluator.cs (1)
143yield return RoleMappedSchema.ColumnRole.Label.Bind(label);
Evaluators\MulticlassClassificationEvaluator.cs (1)
558RoleMappedSchema.ColumnRole.Label.Bind(label),
Evaluators\RankingEvaluator.cs (1)
260RoleMappedSchema.ColumnRole.Label.Bind(label),
Evaluators\RegressionEvaluator.cs (1)
180RoleMappedSchema.ColumnRole.Label.Bind(label),
Scorers\SchemaBindablePredictorWrapper.cs (1)
550yield return (InputRoleMappedSchema.Feature.HasValue) ? RoleMappedSchema.ColumnRole.Feature.Bind(InputRoleMappedSchema.Feature?.Name) : RoleMappedSchema.ColumnRole.Label.Bind(InputRoleMappedSchema.Label?.Name);
Microsoft.ML.Ensemble (3)
Selector\SubModelSelector\BaseSubModelSelector.cs (3)
108yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label, testSchema.Label.Value.Name); 119yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label, testSchema.Label.Value.Name); 125yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label, testSchema.Label.Value.Name);
Microsoft.ML.EntryPoints (5)
CrossValidationMacro.cs (1)
366RoleMappedSchema.ColumnRole.Label.Bind(input.LabelColumn),
PermutationFeatureImportance.cs (4)
92var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.Label.Value).First().Value; 149var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.Label.Value).First().Value; 208var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.Label.Value).First().Value; 260var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.Label.Value).First().Value;
Microsoft.ML.FastTree (1)
GamModelParameters.cs (1)
683RoleMappedSchema.ColumnRole.Label.Bind(DefaultColumnNames.Label),
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
537new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, "Label")); 576new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, "Label"));
Microsoft.ML.Recommender (1)
MatrixFactorizationTrainer.cs (1)
530roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, LabelName));
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
597roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, LabelColumn.Name));
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
135CheckLabelType(new RoleMappedData(input, roles: RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label, _labelColumnName)), out var labelCardinality);