19 references to CheckValue
Microsoft.ML.Data (3)
Commands\TrainCommand.cs (1)
214ectx.CheckValue(trainer, nameof(TrainCommand.Arguments.Trainer), "A trainer is required.");
Transforms\TrainAndScoreTransformer.cs (2)
206env.CheckValue(args.Trainer, nameof(args.Trainer), 218env.CheckValue(args.Trainer, nameof(args.Trainer),
Microsoft.ML.Ensemble (1)
Selector\SubsetSelector\BaseSubsetSelector.cs (1)
97Host.CheckValue(batch.TestInstances, nameof(batch), "Batch does not have test data");
Microsoft.ML.FastTree (6)
GamModelParameters.cs (5)
67Host.CheckValue(binEffects, nameof(binEffects), "May not be null."); 68Host.CheckValue(binUpperBounds, nameof(binUpperBounds), "May not be null."); 88Host.CheckValue(binEffects[i], nameof(binEffects), "Array contained null entries"); 358Host.CheckValue(writer, nameof(writer), "writer must not be null."); 438Host.CheckValue(writer, nameof(writer), "writer must not be null");
TreeEnsemble\TreeEnsembleCombiner.cs (1)
50_host.CheckValue(predictor, nameof(models), "One of the models is null");
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
146Host.CheckValue(labelColumnName, nameof(labelColumnName), "Label column should not be null.");
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
123Host.CheckValue(labelColumnName, nameof(labelColumnName), "Label column should not be null.");
Microsoft.ML.Sweeper (4)
Algorithms\NelderMead.cs (1)
96env.CheckValue(options.FirstBatchSweeper, nameof(options.FirstBatchSweeper), "First Batch Sweeper Contains Null Value");
AsyncSweeper.cs (1)
196_host.CheckValue(options.Sweeper, nameof(options.Sweeper), "Please specify a sweeper");
SweepCommand.cs (2)
67_host.CheckValue(args.Runner, nameof(args.Runner), "Please specify a runner"); 68_host.CheckValue(args.Sweeper, nameof(args.Sweeper), "Please specify a sweeper");
Microsoft.ML.TimeSeries (1)
TrajectoryMatrix.cs (1)
119_ectx.CheckValue(data, nameof(data), "The input data cannot be null.");
Microsoft.ML.Transforms (2)
GroupTransform.cs (1)
297_ectx.CheckValue(aggregatedValueType, nameof(aggregatedValueType), "Columns being aggregated must be primitive types such as string, float, or integer");
PermutationFeatureImportanceExtensions.cs (1)
681env.CheckValue(lastTransformer, nameof(lastTransformer), "The model provided does not have a compatible predictor");