11 references to TrainingLabelValues
Microsoft.ML.Core (1)
Data\AnnotationUtils.cs (1)
451
cols.Add(new SchemaShape.Column(Kinds.
TrainingLabelValues
, SchemaShape.Column.VectorKind.Vector, metaCol.ItemType, false));
Microsoft.ML.Data (5)
Scorers\BinaryClassifierScorer.cs (2)
99
if (mapper.OutputSchema[scoreIdx].Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.
TrainingLabelValues
)?.Type != null)
122
return MulticlassClassificationScorer.LabelNameBindableMapper.CreateBound<T>(env, (ISchemaBoundRowMapper)mapper, type, getter, AnnotationUtils.Kinds.
TrainingLabelValues
, CanWrap);
Scorers\MulticlassClassificationScorer.cs (2)
439
if (GetTypesForWrapping(mapper, labelNameType, AnnotationUtils.Kinds.
TrainingLabelValues
, out var scoreType))
505
resultMapper = LabelNameBindableMapper.CreateBound<T>(env, (ISchemaBoundRowMapper)resultMapper, type as VectorDataViewType, getter, AnnotationUtils.Kinds.
TrainingLabelValues
, CanWrapTrainingLabels);
Scorers\PredictedLabelScorerBase.cs (1)
74
var trainLabelColumn = scoreColMetadata.Schema.GetColumnOrNull(AnnotationUtils.Kinds.
TrainingLabelValues
);
Microsoft.ML.Tests (1)
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
47
engine.OutputSchema[nameof(IrisPrediction.Score)].Annotations.GetValue(AnnotationUtils.Kinds.
TrainingLabelValues
, ref originalLabels);
Microsoft.ML.TorchSharp (4)
AutoFormerV2\ObjectDetectionTrainer.cs (3)
458
scoreMetadata.Add(new SchemaShape.Column(Kinds.
TrainingLabelValues
, SchemaShape.Column.VectorKind.Vector,
559
scoreMetadata.Add(new SchemaShape.Column(Kinds.
TrainingLabelValues
, SchemaShape.Column.VectorKind.Vector,
762
meta.Add(AnnotationUtils.Kinds.
TrainingLabelValues
, keyType, getter);
NasBert\NasBertTrainer.cs (1)
528
meta.Add(AnnotationUtils.Kinds.
TrainingLabelValues
, keyType, getter);