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