45 references to Defaults
Microsoft.ML.Transforms (45)
Text\NgramTransform.cs (22)
83
public int NgramLength = NgramExtractingEstimator.
Defaults
.NgramLength;
87
public bool UseAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths;
92
public int SkipLength = NgramExtractingEstimator.
Defaults
.SkipLength;
95
public int[] MaxNumTerms = new int[] { NgramExtractingEstimator.
Defaults
.MaximumNgramsCount };
98
public NgramExtractingEstimator.WeightingCriteria Weighting = NgramExtractingEstimator.
Defaults
.Weighting;
909
int ngramLength =
Defaults
.NgramLength,
910
int skipLength =
Defaults
.SkipLength,
911
bool useAllLengths =
Defaults
.UseAllLengths,
912
int maximumNgramsCount =
Defaults
.MaximumNgramsCount,
913
WeightingCriteria weighting =
Defaults
.Weighting)
931
int ngramLength =
Defaults
.NgramLength,
932
int skipLength =
Defaults
.SkipLength,
933
bool useAllLengths =
Defaults
.UseAllLengths,
934
int maximumNgramsCount =
Defaults
.MaximumNgramsCount,
935
WeightingCriteria weighting =
Defaults
.Weighting)
1023
int ngramLength =
Defaults
.NgramLength,
1024
int skipLength =
Defaults
.SkipLength,
1025
bool useAllLengths =
Defaults
.UseAllLengths,
1026
WeightingCriteria weighting =
Defaults
.Weighting,
1027
int maximumNgramsCount =
Defaults
.MaximumNgramsCount)
1053
limits[ngramLength - 1] = Utils.Size(maximumNgramsCounts) == 0 ?
Defaults
.MaximumNgramsCount : maximumNgramsCounts[0];
1059
var extend = Utils.Size(maximumNgramsCounts) == 0 ?
Defaults
.MaximumNgramsCount : maximumNgramsCounts[maximumNgramsCounts.Length - 1];
Text\TextCatalog.cs (14)
271
int ngramLength = NgramExtractingEstimator.
Defaults
.NgramLength,
272
int skipLength = NgramExtractingEstimator.
Defaults
.SkipLength,
273
bool useAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths,
274
int maximumNgramsCount = NgramExtractingEstimator.
Defaults
.MaximumNgramsCount,
275
NgramExtractingEstimator.WeightingCriteria weighting = NgramExtractingEstimator.
Defaults
.Weighting) =>
357
int ngramLength = NgramExtractingEstimator.
Defaults
.NgramLength,
358
int skipLength = NgramExtractingEstimator.
Defaults
.SkipLength,
359
bool useAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths,
360
int maximumNgramsCount = NgramExtractingEstimator.
Defaults
.MaximumNgramsCount,
386
int maximumNgramsCount = NgramExtractingEstimator.
Defaults
.MaximumNgramsCount)
411
int ngramLength = NgramExtractingEstimator.
Defaults
.NgramLength,
412
int skipLength = NgramExtractingEstimator.
Defaults
.SkipLength,
413
bool useAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths,
414
int maximumNgramsCount = NgramExtractingEstimator.
Defaults
.MaximumNgramsCount,
Text\WordBagTransform.cs (5)
415
public int SkipLength = NgramExtractingEstimator.
Defaults
.SkipLength;
420
public bool UseAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths;
423
public int[] MaxNumTerms = new int[] { NgramExtractingEstimator.
Defaults
.MaximumNgramsCount };
426
public NgramExtractingEstimator.WeightingCriteria Weighting = NgramExtractingEstimator.
Defaults
.Weighting;
501
termLoaderArgs == null ? NgramExtractingEstimator.
Defaults
.MaximumNgramsCount : int.MaxValue,
Text\WrappedTextTransformers.cs (4)
85
SkipLength = NgramExtractingEstimator.
Defaults
.SkipLength;
86
UseAllLengths = NgramExtractingEstimator.
Defaults
.UseAllLengths;
87
MaximumNgramsCount = new int[] { NgramExtractingEstimator.
Defaults
.MaximumNgramsCount };
88
Weighting = NgramExtractingEstimator.
Defaults
.Weighting;