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