9 references to Threshold
Microsoft.ML.Transforms (9)
LearnerFeatureSelection.cs (9)
73if (Threshold.HasValue == NumSlotsToKeep.HasValue) 75throw ectx.ExceptUserArg(nameof(Threshold), 76$"Either {nameof(Threshold)} or {nameof(NumSlotsToKeep)} to keep must be specified (but not both)."); 78ectx.CheckUserArg((Threshold ?? 0) >= 0, nameof(Threshold), "Must be non-negative"); 121Contracts.Assert(options.Threshold.HasValue != options.NumSlotsToKeep.HasValue); 133if (options.Threshold.HasValue) 135threshold = options.Threshold.Value; 271host.Assert(options.Threshold.HasValue != options.NumSlotsToKeep.HasValue);