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