8 references to NumSlotsToKeep
Microsoft.ML.Transforms (8)
LearnerFeatureSelection.cs (8)
73if (Threshold.HasValue == NumSlotsToKeep.HasValue) 76$"Either {nameof(Threshold)} or {nameof(NumSlotsToKeep)} to keep must be specified (but not both)."); 79ectx.CheckUserArg((NumSlotsToKeep ?? int.MaxValue) > 0, nameof(NumSlotsToKeep), "Must be positive"); 121Contracts.Assert(options.Threshold.HasValue != options.NumSlotsToKeep.HasValue); 140Contracts.Assert(options.NumSlotsToKeep.HasValue); 141threshold = ComputeThreshold(scoresValues, options.NumSlotsToKeep.Value, out tiedScoresToKeep); 271host.Assert(options.Threshold.HasValue != options.NumSlotsToKeep.HasValue);