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).
359
yield 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)
2185
RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Label
, "Label"));
Microsoft.ML.Data (13)
DataLoadSave\TransformerChain.cs (1)
307
roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Label
.Value).First().Value);
Evaluators\AnomalyDetectionEvaluator.cs (1)
597
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
Evaluators\BinaryClassifierEvaluator.cs (4)
819
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
867
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
947
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
993
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
Evaluators\ClusteringEvaluator.cs (2)
74
roles.Add(RoleMappedSchema.ColumnRole.
Label
.Bind(label));
805
if (!col.Key.Equals(RoleMappedSchema.ColumnRole.
Label
))
Evaluators\MamlEvaluator.cs (1)
143
yield return RoleMappedSchema.ColumnRole.
Label
.Bind(label);
Evaluators\MulticlassClassificationEvaluator.cs (1)
558
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
Evaluators\RankingEvaluator.cs (1)
260
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
Evaluators\RegressionEvaluator.cs (1)
180
RoleMappedSchema.ColumnRole.
Label
.Bind(label),
Scorers\SchemaBindablePredictorWrapper.cs (1)
550
yield 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)
108
yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Label
, testSchema.Label.Value.Name);
119
yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Label
, testSchema.Label.Value.Name);
125
yield return RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Label
, testSchema.Label.Value.Name);
Microsoft.ML.EntryPoints (5)
CrossValidationMacro.cs (1)
366
RoleMappedSchema.ColumnRole.
Label
.Bind(input.LabelColumn),
PermutationFeatureImportance.cs (4)
92
var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Label
.Value).First().Value;
149
var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Label
.Value).First().Value;
208
var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Label
.Value).First().Value;
260
var labelColumnName = roles.Where(x => x.Key.Value == RoleMappedSchema.ColumnRole.
Label
.Value).First().Value;
Microsoft.ML.FastTree (1)
GamModelParameters.cs (1)
683
RoleMappedSchema.ColumnRole.
Label
.Bind(DefaultColumnNames.Label),
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
537
new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Label
, "Label"));
576
new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Label
, "Label"));
Microsoft.ML.Recommender (1)
MatrixFactorizationTrainer.cs (1)
530
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Label
, LabelName));
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
597
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.
Label
, LabelColumn.Name));
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
135
CheckLabelType(new RoleMappedData(input, roles: RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.
Label
, _labelColumnName)), out var labelCardinality);