3 implementations of NeedsTraining
Microsoft.ML.Data (3)
Prediction\Calibrator.cs (3)
1103
bool ICalibratorTrainer.
NeedsTraining
=> true;
1437
bool ICalibratorTrainer.
NeedsTraining
=> true;
1665
bool ICalibratorTrainer.
NeedsTraining
=> false;
3 references to NeedsTraining
Microsoft.ML.Data (3)
Prediction\Calibrator.cs (2)
946
ch.CheckParam(!caliTrainer.
NeedsTraining
|| !string.IsNullOrWhiteSpace(labelColumn), nameof(labelColumn),
950
if (!caliTrainer.
NeedsTraining
)
Prediction\CalibratorCatalog.cs (1)
71
env.CheckParam(!calibratorTrainer.
NeedsTraining
, nameof(labelColumn), "For trained calibrators, " + nameof(labelColumn) + " must be specified.");