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