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