11 writes to Max
Microsoft.ML.AutoML (1)
ColumnInference\ColumnGroupingInference.cs (1)
140
currRange.
Max
++;
Microsoft.ML.Data (5)
DataLoadSave\Text\TextLoader.cs (4)
279
Max
= index;
295
Max
= max;
368
Max
= Min;
400
Max
= tmp;
DataLoadSave\Text\TextSaver.cs (1)
513
range = new TextLoader.Range { Min = minValue,
Max
= minValue + vectorType.Size - 1, ForceVector = true };
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 } })
21 references to Max
Microsoft.ML.AutoML (1)
ColumnInference\ColumnGroupingInference.cs (1)
138
if (indices[i] == currRange.
Max
+ 1)
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);
73
c.Source[0].
Max
== DatasetUtil.IrisDatasetLabelColIndex);
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
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)})]");
Microsoft.ML.Data (15)
DataLoadSave\Database\DatabaseLoader.cs (2)
335
Contracts.Assert(range.
Max
.HasValue);
337
var dbRange = new Range(range.Min, range.
Max
.Value);
DataLoadSave\Text\TextLoader.cs (13)
244
if (first.Min < 0 || first.Min > first.
Max
)
250
if (cur.Min > cur.
Max
)
254
if (prev.
Max
== null && (prev.AutoEnd || prev.VariableEnd))
256
if (cur.Min <= prev.
Max
)
319
/// If <see cref="
Max
"/> is specified, the fields <see cref="AutoEnd"/> and <see cref="VariableEnd"/> are ignored.
328
/// If <see cref="
Max
"/> is specified, the fields <see cref="AutoEnd"/> and <see cref="VariableEnd"/> are ignored.
411
if (
Max
!= null)
413
if (
Max
!= Min || ForceVector || AllOther)
414
sb.Append(dash).Append(
Max
);
720
if (!needInputSize && col.Source.Any(r => r.AutoEnd && r.
Max
== null))
804
if (range.
Max
!= null)
806
int max = range.
Max
.Value;
807
ch.CheckUserArg(min <= max && max < SrcLim - 1, nameof(range.
Max
));