26 references to Kinds
Microsoft.ML.Core (22)
Data\AnnotationBuilderExtensions.cs (2)
19
=> builder.Add(AnnotationUtils.
Kinds
.SlotNames, new VectorDataViewType(TextDataViewType.Instance, size), getter);
30
=> builder.Add(AnnotationUtils.
Kinds
.KeyValues, new VectorDataViewType(valueType, size), getter);
Data\AnnotationUtils.cs (20)
180
return GetNamesType(size).GetPair(
Kinds
.SlotNames);
189
return GetNamesType(size).GetPair(
Kinds
.KeyValues);
290
var metaColumn = column.Annotations.Schema.GetColumnOrNull(
Kinds
.SlotNames);
307
schema.Schema[list[0].Index].Annotations.GetValue(
Kinds
.SlotNames, ref slotNames);
312
return col.Annotations.TryFindColumn(
Kinds
.KeyValues, out var metaCol)
318
/// Returns whether a column has the <see cref="
Kinds
.IsNormalized"/> annotation indicated by
322
/// <returns>True if and only if the column has the <see cref="
Kinds
.IsNormalized"/> annotation
327
return column.Annotations.TryFindColumn(
Kinds
.IsNormalized, out var metaCol)
333
/// Returns whether a column has the <see cref="
Kinds
.SlotNames"/> annotation indicated by
338
/// <see cref="
Kinds
.SlotNames"/> annotation of definite sized vectors of text.</returns>
343
&& col.Annotations.TryFindColumn(
Kinds
.SlotNames, out var metaCol)
388
var type = schema[colIndex].Annotations.Schema.GetColumnOrNull(
Kinds
.CategoricalSlotRanges)?.Type;
392
schema[colIndex].Annotations.GetValue(
Kinds
.CategoricalSlotRanges, ref catIndices);
428
cols.Add(new SchemaShape.Column(
Kinds
.ScoreColumnSetId, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true));
429
cols.Add(new SchemaShape.Column(
Kinds
.ScoreColumnKind, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false));
430
cols.Add(new SchemaShape.Column(
Kinds
.ScoreValueKind, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false));
432
cols.Add(new SchemaShape.Column(
Kinds
.IsNormalized, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false));
446
if (labelColumn.Value.Annotations.TryFindColumn(
Kinds
.KeyValues, out var metaCol) &&
450
cols.Add(new SchemaShape.Column(
Kinds
.SlotNames, SchemaShape.Column.VectorKind.Vector, TextDataViewType.Instance, false));
451
cols.Add(new SchemaShape.Column(
Kinds
.TrainingLabelValues, SchemaShape.Column.VectorKind.Vector, metaCol.ItemType, false));
Microsoft.ML.Data (3)
DataLoadSave\Text\TextLoader.cs (1)
692
/// <see cref="Infos"/>[i] stores the i-th column's metadata, named <see cref="AnnotationUtils.
Kinds
.SlotNames"/>
Scorers\ScoreSchemaFactory.cs (2)
20
/// <param name="scoreColumnKindValue">The kind of the score column. It's the value of <see cref="AnnotationUtils.
Kinds
.ScoreColumnKind"/> in the score column's metadata.</param>
113
/// <see cref="AnnotationUtils.
Kinds
.ScoreColumnKind"/>.</param>
Microsoft.ML.FastTree (1)
TreeEnsemble\InternalTreeEnsemble.cs (1)
436
/// <seealso cref="AnnotationUtils.
Kinds
.SlotNames"/>