25 references to ScoreValueKind
Microsoft.ML.Core (1)
Data\AnnotationUtils.cs (1)
430cols.Add(new SchemaShape.Column(Kinds.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false));
Microsoft.ML.Core.Tests (2)
UnitTests\ScoreSchemaTest.cs (2)
63Assert.Equal(AnnotationUtils.Kinds.ScoreValueKind, scoreMetadata.Schema[2].Name); 119Assert.Equal(AnnotationUtils.Kinds.ScoreValueKind, scoreMetadata.Schema[1].Name);
Microsoft.ML.Data (13)
Evaluators\EvaluatorUtils.cs (4)
142if (col.Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.ScoreValueKind)?.Type == TextDataViewType.Instance) 144col.Annotations.GetValue(AnnotationUtils.Kinds.ScoreValueKind, ref tmp); 203if (col.Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.ScoreValueKind)?.Type == TextDataViewType.Instance) 205col.Annotations.GetValue(AnnotationUtils.Kinds.ScoreValueKind, ref tmp);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
568builder.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, getter);
Prediction\CalibratorCatalog.cs (2)
115inputScoreCol.Annotations.TryFindColumn(AnnotationUtils.Kinds.ScoreValueKind, out var valueKindCol) && 291schema.GetColumnOrNull(AnnotationUtils.Kinds.ScoreValueKind) is DataViewSchema.Column valueKindCol &&
Scorers\PredictedLabelScorerBase.cs (3)
187yield return TextDataViewType.Instance.GetPair(AnnotationUtils.Kinds.ScoreValueKind); 208if (iinfo < DerivedColumnCount && kind == AnnotationUtils.Kinds.ScoreValueKind) 226if (iinfo < DerivedColumnCount && kind == AnnotationUtils.Kinds.ScoreValueKind)
Scorers\ScoreSchemaFactory.cs (3)
32metadataBuilder.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, 65probabilityMetadataBuilder.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, 129metadataBuilder.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance,
Microsoft.ML.EntryPoints (1)
ScoreColumnSelector.cs (1)
93if (input.Data.Schema.TryGetAnnotation(TextDataViewType.Instance, AnnotationUtils.Kinds.ScoreValueKind, i,
Microsoft.ML.TorchSharp (7)
AutoFormerV2\ObjectDetectionTrainer.cs (3)
454scoreMetadata.Add(new SchemaShape.Column(Kinds.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, 555scoreMetadata.Add(new SchemaShape.Column(Kinds.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, 761meta.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, (ref ReadOnlyMemory<char> value) => { value = AnnotationUtils.Const.ScoreValueKind.Score.AsMemory(); });
NasBert\NasBertTrainer.cs (1)
527meta.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, (ref ReadOnlyMemory<char> value) => { value = AnnotationUtils.Const.ScoreValueKind.Score.AsMemory(); });
Roberta\QATrainer.cs (3)
514scoreMetadata.Add(new SchemaShape.Column(Kinds.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, 600new SchemaShape.Column(Kinds.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, 743meta.Add(AnnotationUtils.Kinds.ScoreValueKind, TextDataViewType.Instance, (ref ReadOnlyMemory<char> value) => { value = AnnotationUtils.Const.ScoreValueKind.Score.AsMemory(); });
Microsoft.ML.Transforms (1)
UngroupTransform.cs (1)
212case AnnotationUtils.Kinds.ScoreValueKind: