76 references to Range
Microsoft.ML.AutoML (2)
ColumnInference\ColumnGroupingInference.cs (2)
135
var currRange = new
Range
(indices[0]);
145
currRange = new
Range
(indices[i]);
Microsoft.ML.AutoML.Tests (3)
AutoFitTests.cs (3)
699
new TextLoader.Column(labelColumnName, DataKind.Single, new [] { new TextLoader.
Range
(0) }),
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.CodeGenerator.Tests (25)
CodeGenTests.cs (25)
145
new TextLoader.Column(){ Name = "Label", Source = new TextLoader.Range[]{new TextLoader.
Range
(0) }, DataKind = DataKind.Boolean },
149
new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.
Range
(0) }, DataKind = DataKind.Single },
150
new TextLoader.Column(){ Name = "country", Source = new TextLoader.Range[]{new TextLoader.
Range
(1) }, DataKind = DataKind.Single },
151
new TextLoader.Column(){ Name = "Country", Source = new TextLoader.Range[]{new TextLoader.
Range
(2) }, DataKind = DataKind.String }
155
new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.
Range
(0) }, DataKind = DataKind.Int32 },
156
new TextLoader.Column(){ Name = "shape", Source = new TextLoader.Range[]{new TextLoader.
Range
(1) }, DataKind = DataKind.Int32 },
157
new TextLoader.Column(){ Name = "Shape", Source = new TextLoader.Range[]{new TextLoader.
Range
(2) }, DataKind = DataKind.String },
158
new TextLoader.Column(){ Name = "color", Source = new TextLoader.Range[]{new TextLoader.
Range
(3) }, DataKind = DataKind.String },
159
new TextLoader.Column(){ Name = "price", Source = new TextLoader.Range[]{new TextLoader.
Range
(4) }, DataKind = DataKind.Double },
163
new TextLoader.Column(){ Name = "vin", Source = new TextLoader.Range[]{new TextLoader.
Range
(0) }, DataKind = DataKind.String },
164
new TextLoader.Column(){ Name = "make", Source = new TextLoader.Range[]{new TextLoader.
Range
(1) }, DataKind = DataKind.String },
165
new TextLoader.Column(){ Name = "model", Source = new TextLoader.Range[]{new TextLoader.
Range
(2) }, DataKind = DataKind.String },
166
new TextLoader.Column(){ Name = "color", Source = new TextLoader.Range[]{new TextLoader.
Range
(3) }, DataKind = DataKind.String },
167
new TextLoader.Column(){ Name = "MSRP", Source = new TextLoader.Range[]{new TextLoader.
Range
(4) }, DataKind = DataKind.Single },
168
new TextLoader.Column(){ Name = "engine size", Source = new TextLoader.Range[]{new TextLoader.
Range
(5) }, DataKind = DataKind.Double },
169
new TextLoader.Column(){ Name = "isElectric", Source = new TextLoader.Range[]{new TextLoader.
Range
(6) }, DataKind = DataKind.Boolean },
173
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.
Range
(0) }, DataKind = DataKind.String },
174
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.
Range
(1) }, DataKind = DataKind.String },
175
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.
Range
(2) }, DataKind = DataKind.Int32 },
176
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.
Range
(3) }, DataKind = DataKind.Int32 },
177
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.
Range
(4) }, DataKind = DataKind.Int32 },
178
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.
Range
(5) }, DataKind = DataKind.String },
179
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.
Range
(6) }, DataKind = DataKind.Int32 },
180
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.
Range
(7) }, DataKind = DataKind.String },
181
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.
Range
(8) }, DataKind = DataKind.Double },
Microsoft.ML.Data (3)
DataLoadSave\Text\LoadColumnAttribute.cs (2)
24
Sources.Add(new TextLoader.
Range
(fieldIndex));
46
Sources.Add(new TextLoader.
Range
(col));
DataLoadSave\Text\TextLoader.cs (1)
57
: this(name, dataKind.ToInternalDataKind(), new[] { new
Range
(index) })
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 (40)
OnnxConversionTest.cs (1)
1038
new TextLoader.
Range
(0)
TermEstimatorTests.cs (10)
60
new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.
Range
(12) }),
62
new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.
Range
(12) }),
65
new TextLoader.Column("text2", DataKind.String, new[]{new TextLoader.
Range
(1), new TextLoader.
Range
(2)}),
TrainerEstimators\MatrixFactorizationTests.cs (3)
164
new TextLoader.Column(labelColumnName, DataKind.Single, new [] { new TextLoader.
Range
(0) }),
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\ConcatTests.cs (14)
50
new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.
Range
(12) }),
51
new TextLoader.Column("float6", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.Range(12, 14) }),
108
new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.
Range
(12) }),
109
new TextLoader.Column("vfloat", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.Range(12, null) { AutoEnd = false, VariableEnd = true } })
Transformers\CustomMappingTests.cs (8)
58
new TextLoader.Column("Float4", DataKind.Single, new[]{new TextLoader.
Range
(9), new TextLoader.
Range
(10), new TextLoader.
Range
(11), new TextLoader.
Range
(12) })
94
new TextLoader.Column("Float4", DataKind.Single, new[]{new TextLoader.
Range
(0), new TextLoader.
Range
(2), new TextLoader.
Range
(4), new TextLoader.
Range
(10) }),
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))