20 instantiations of KeyCount
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
700
new TextLoader.Column(userIdColumnName, DataKind.UInt32, new [] { new TextLoader.Range(1) }, new
KeyCount
(20)),
701
new TextLoader.Column(itemIdColumnName, DataKind.UInt32, new [] { new TextLoader.Range(2) }, new
KeyCount
(40)),
Microsoft.ML.Data (7)
Data\SchemaDefinition.cs (1)
44
KeyCount = new
KeyCount
(count);
DataLoadSave\Text\TextSaver.cs (1)
505
keyCount = new
KeyCount
(key.Count);
Transforms\TypeConverting.cs (1)
287
keyCount = new
KeyCount
(count);
Transforms\ValueMapping.cs (3)
536
valueColumn.KeyCount = new
KeyCount
(keyMax + 1);
538
valueColumn.KeyCount = new
KeyCount
();
542
valueColumn.KeyCount = new
KeyCount
();
Utilities\TypeParsingUtils.cs (1)
105
var res = new
KeyCount
();
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
657
new TextLoader.Column("Label", DataKind.UInt32 , new [] { new TextLoader.Range(0) }, new
KeyCount
(10)),
789
new TextLoader.Column("Label", DataKind.UInt32, new []{ new TextLoader.Range(0) }, new
KeyCount
(10)),
882
new TextLoader.Column("Label", DataKind.UInt32 , new [] { new TextLoader.Range(0) }, new
KeyCount
(10)),
Microsoft.ML.Tests (8)
OnnxConversionTest.cs (1)
1039
}, new
KeyCount
(10))
TrainerEstimators\MatrixFactorizationTests.cs (2)
165
new TextLoader.Column(matrixColumnIndexColumnName, DataKind.UInt32, new [] { new TextLoader.Range(1) }, new
KeyCount
(20)),
166
new TextLoader.Column(matrixRowIndexColumnName, DataKind.UInt32, new [] { new TextLoader.Range(2) }, new
KeyCount
(40)),
Transformers\ConvertTests.cs (1)
401
DataKind.UInt64, "key", new
KeyCount
(4)) }).Fit(dataView);
Transformers\FeatureSelectionTests.cs (3)
149
new TextLoader.Column("Label", DataKind.UInt32, new[]{ new TextLoader.Range(0) }, new
KeyCount
(3)),
171
new TextLoader.Column("Label", DataKind.UInt32, new[] { new TextLoader.Range(0) }, new
KeyCount
(3)),
209
new TextLoader.Column("Label", DataKind.UInt32, new[]{ new TextLoader.Range(0) }, new
KeyCount
(3)),
Transformers\KeyToValueTests.cs (1)
33
new TextLoader.Column("BareKey", DataKind.UInt32, new[] { new TextLoader.Range(0) }, new
KeyCount
(6))
26 references to KeyCount
Microsoft.ML.Data (25)
Data\SchemaDefinition.cs (1)
50
internal
KeyCount
KeyCount { get; }
DataLoadSave\Database\DatabaseLoader.cs (3)
216
public Column(string name, DbType dbType, Range[] source,
KeyCount
keyCount = null)
249
public
KeyCount
KeyCount;
683
private static KeyDataViewType ConstructKeyType(DbType dbType,
KeyCount
keyCount)
DataLoadSave\Text\TextLoader.cs (3)
80
public Column(string name, DataKind dataKind, Range[] source,
KeyCount
keyCount = null)
92
private Column(string name, InternalDataKind kind, Range[] source,
KeyCount
keyCount = null)
137
public
KeyCount
KeyCount;
DataLoadSave\Text\TextSaver.cs (1)
501
KeyCount
keyCount = null;
Transforms\TypeConverting.cs (12)
65
public
KeyCount
KeyCount;
139
public
KeyCount
KeyCount;
192
internal TypeConvertingTransformer(IHostEnvironment env, string outputColumnName, DataKind outputKind, string inputColumnName = null,
KeyCount
outputKeyCount = null)
267
KeyCount
keyCount = null;
307
KeyCount
keyCount = null;
312
keyCount =
KeyCount
.Parse(item.Range);
320
keyCount =
KeyCount
.Parse(options.Range);
353
internal static bool GetNewType(IExceptionContext ectx, DataViewType srcType, InternalDataKind kind,
KeyCount
keyCount, out PrimitiveDataViewType itemType)
412
private static bool CanConvertToType(IExceptionContext ectx, DataViewType srcType, InternalDataKind kind,
KeyCount
keyCount,
561
public readonly
KeyCount
OutputKeyCount;
570
public ColumnOptions(string name, DataKind outputKind, string inputColumnName,
KeyCount
outputKeyCount = null)
585
public ColumnOptions(string name, Type type, string inputColumnName,
KeyCount
outputKeyCount = null)
Utilities\TypeParsingUtils.cs (5)
27
public static bool TryParseDataKind(string str, out InternalDataKind dataKind, out
KeyCount
keyCount)
38
keyCount =
KeyCount
.Parse(str.Substring(ich + 1, str.Length - ich - 2));
55
public static KeyDataViewType ConstructKeyType(InternalDataKind? type,
KeyCount
keyCount)
101
internal static
KeyCount
Parse(string str)
105
var
res = new KeyCount();
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
122
if (kindStr != null && TypeParsingUtils.TryParseDataKind(kindStr, out InternalDataKind parsedKind, out
var
keyCount))