17 writes to Min
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
4530
new [] { new TextLoader.Range() {
Min
= 0, VariableEnd=true, ForceVector=true} })
Microsoft.ML.Data (8)
DataLoadSave\Text\TextLoader.cs (5)
278
Min
= index;
294
Min
= min;
366
if (!int.TryParse(str, out
Min
))
380
Min
= 0;
382
else if (!int.TryParse(str.Substring(0, ich), out
Min
))
DataLoadSave\Text\TextSaver.cs (3)
513
range = new TextLoader.Range {
Min
= minValue, Max = minValue + vectorType.Size - 1, ForceVector = true };
515
range = new TextLoader.Range {
Min
= minValue, VariableEnd = true };
517
range = new TextLoader.Range {
Min
= minValue };
Microsoft.ML.PerformanceTests (5)
KMeansAndLogisticRegressionBench.cs (2)
28
new TextLoader.Range() {
Min
= 1, Max = 8 },
32
new TextLoader.Range() {
Min
= 9, Max = 14 },
RffTransform.cs (1)
37
new TextLoader.Column("Features", DataKind.Single, new[] {new TextLoader.Range() {
Min
= 0, Max = 63}})
StochasticDualCoordinateAscentClassifierBench.cs (2)
93
new TextLoader.Column("Label", DataKind.Single, new[] { new TextLoader.Range() {
Min
= 0, Max = 0 } }),
94
new TextLoader.Column("SentimentText", DataKind.String, new[] { new TextLoader.Range() {
Min
= 1, Max = 1 } })
Microsoft.ML.Tests (3)
Transformers\NormalizerTests.cs (3)
45
new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range {
Min
= 1, VariableEnd = true } }),
114
new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range {
Min
= 1, VariableEnd = true } })
233
new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range {
Min
= 1, VariableEnd = true } })
19 references to Min
Microsoft.ML.AutoML.Tests (3)
ColumnInferenceTests.cs (3)
36
Assert.False(col.Source.Length > 1 || col.Source[0].
Min
!= col.Source[0].Max);
62
var labelCol = result.TextLoaderOptions.Columns.First(c => c.Source[0].
Min
== 14 && c.Source[0].Max == 14);
72
var labelCol = result.TextLoaderOptions.Columns.First(c => c.Source[0].
Min
== DatasetUtil.IrisDatasetLabelColIndex &&
Microsoft.ML.CodeGenerator (3)
Utils.cs (3)
268
int range = (column.Source[0].Max - column.Source[0].
Min
).Value;
292
result.Add($"[ColumnName(\"{columnName}\"),LoadColumn({column.Source[0].
Min
}, {column.Source[0].Max}) VectorType({(range + 1)})]");
297
result.Add($"[ColumnName(\"{columnName}\"), LoadColumn({column.Source[0].
Min
})]");
Microsoft.ML.Data (13)
DataLoadSave\Database\DatabaseLoader.cs (1)
337
var dbRange = new Range(range.
Min
, range.Max.Value);
DataLoadSave\Text\TextLoader.cs (12)
242
var sortedRanges = Source.OrderBy(x => x.
Min
).ToList();
244
if (first.
Min
< 0 || first.
Min
> first.Max)
250
if (cur.
Min
> cur.Max)
256
if (cur.
Min
<= prev.Max)
368
Max =
Min
;
408
if (
Min
< 0)
410
sb.Append(
Min
);
413
if (Max !=
Min
|| ForceVector || AllOther)
800
int min = range.
Min
;
801
ch.CheckUserArg(0 <= min && min < SrcLim - 1, nameof(range.
Min
));
815
throw ch.ExceptUserArg(nameof(range.
Min
), "Column #{0} not found in the dataset (it only has {1} columns)", min, inputSize);