153 references to CheckValueOrNull
Microsoft.ML.Core (5)
ComponentModel\AssemblyLoadingUtils.cs (1)
88
env.
CheckValueOrNull
(loadAssembliesPath);
ComponentModel\ComponentCatalog.cs (1)
1002
env.
CheckValueOrNull
(name);
Data\ModelLoadContext.cs (1)
83
_ectx.
CheckValueOrNull
(dir);
Data\ModelSaveContext.cs (1)
91
_ectx.
CheckValueOrNull
(dir);
Data\Repository.cs (1)
237
_ectx.
CheckValueOrNull
(dir);
Microsoft.ML.Data (112)
Commands\CrossValidationCommand.cs (7)
409
env.
CheckValueOrNull
(scorer);
410
env.
CheckValueOrNull
(evaluator);
411
env.
CheckValueOrNull
(args.Calibrator);
414
env.
CheckValueOrNull
(inputPredictor);
415
env.
CheckValueOrNull
(cmd);
416
env.
CheckValueOrNull
(args.OutputModelFile);
417
env.
CheckValueOrNull
(loader);
Commands\ScoreCommand.cs (7)
259
env.
CheckValueOrNull
(scorer);
262
env.
CheckValueOrNull
(featureColName);
263
env.
CheckValueOrNull
(groupColName);
264
env.
CheckValueOrNull
(customColumns);
265
env.
CheckValueOrNull
(trainSchema);
370
env.
CheckValueOrNull
(mapperFactory);
371
env.
CheckValueOrNull
(scorerFactorySettings);
Commands\TrainCommand.cs (8)
231
ectx.
CheckValueOrNull
(userName);
265
ch.
CheckValueOrNull
(validData);
266
ch.
CheckValueOrNull
(inputPredictor);
323
ch.
CheckValueOrNull
(predictor);
325
ch.
CheckValueOrNull
(command);
347
ch.
CheckValueOrNull
(predictor);
349
ch.
CheckValueOrNull
(command);
448
ch.
CheckValueOrNull
(featureColumn);
Data\RowCursorUtils.cs (2)
527
_host.
CheckValueOrNull
(rand);
534
_host.
CheckValueOrNull
(rand);
DataLoadSave\Binary\BinaryLoader.cs (2)
1204
_host.
CheckValueOrNull
(rand);
1210
_host.
CheckValueOrNull
(rand);
DataLoadSave\Binary\BinarySaver.cs (1)
647
_host.
CheckValueOrNull
(colIndices);
DataLoadSave\Database\DatabaseLoader.cs (1)
722
_host.
CheckValueOrNull
(rand);
DataLoadSave\DataOperationsCatalog.cs (5)
81
_env.
CheckValueOrNull
(schemaDefinition);
133
_env.
CheckValueOrNull
(schemaDefinition);
195
_env.
CheckValueOrNull
(columnsToPrefetch);
415
_env.
CheckValueOrNull
(samplingKeyColumnName);
462
_env.
CheckValueOrNull
(samplingKeyColumnName);
DataLoadSave\LegacyCompositeDataLoader.cs (7)
119
h.
CheckValueOrNull
(transformArgs);
183
h.
CheckValueOrNull
(tagData);
282
h.
CheckValueOrNull
(tag);
283
h.
CheckValueOrNull
(creationArgs);
527
h.
CheckValueOrNull
(transforms);
587
_host.
CheckValueOrNull
(rand);
595
_host.
CheckValueOrNull
(rand);
DataLoadSave\Text\TextLoader.cs (3)
1155
_host.
CheckValueOrNull
(dataSample);
1664
_host.
CheckValueOrNull
(rand);
1671
_host.
CheckValueOrNull
(rand);
DataLoadSave\Transpose\TransposeLoader.cs (1)
624
_host.
CheckValueOrNull
(rand);
DataView\AppendRowsDataView.cs (1)
62
env.
CheckValueOrNull
(schema);
DataView\ArrayDataViewBuilder.cs (2)
239
_host.
CheckValueOrNull
(rand);
247
_host.
CheckValueOrNull
(rand);
DataView\BatchDataViewMapperBase.cs (1)
33
Host.
CheckValueOrNull
(rand);
DataView\CacheDataView.cs (3)
85
_host.
CheckValueOrNull
(prefetch);
211
_host.
CheckValueOrNull
(rand);
257
_host.
CheckValueOrNull
(rand);
DataView\EmptyDataView.cs (2)
35
_host.
CheckValueOrNull
(rand);
41
_host.
CheckValueOrNull
(rand);
DataView\LambdaFilter.cs (1)
127
Host.
CheckValueOrNull
(rand);
DataView\RowToRowMapperTransform.cs (1)
199
Host.
CheckValueOrNull
(rand);
DataView\Transposer.cs (1)
844
_host.
CheckValueOrNull
(rand);
DataView\TypedCursor.cs (2)
206
_host.
CheckValueOrNull
(rand);
668
env.
CheckValueOrNull
(schemaDefinition);
DataView\ZipDataView.cs (1)
78
_host.
CheckValueOrNull
(rand);
Dirty\ChooseColumnsByIndexTransform.cs (1)
260
Host.
CheckValueOrNull
(rand);
Dirty\PredictorUtils.cs (4)
22
ch.
CheckValueOrNull
(schema);
42
ch.
CheckValueOrNull
(schema);
89
ch.
CheckValueOrNull
(schema);
121
ch.
CheckValueOrNull
(schema);
EntryPoints\InputBuilder.cs (1)
205
_ectx.
CheckValueOrNull
(value);
EntryPoints\TransformModelImpl.cs (1)
88
env.
CheckValueOrNull
(xfs);
Evaluators\EvaluatorUtils.cs (2)
113
ectx.
CheckValueOrNull
(name);
168
ectx.
CheckValueOrNull
(name);
Model\ModelOperationsCatalog.cs (6)
42
_env.
CheckValueOrNull
(model);
67
_env.
CheckValueOrNull
(model);
85
_env.
CheckValueOrNull
(model);
86
_env.
CheckValueOrNull
(inputSchema);
114
_env.
CheckValueOrNull
(model);
115
_env.
CheckValueOrNull
(inputSchema);
Model\Pfa\BoundPfaContext.cs (2)
176
_host.
CheckValueOrNull
(name);
223
_host.
CheckValueOrNull
(name);
Prediction\Calibrator.cs (2)
360
Host.
CheckValueOrNull
(score);
361
Host.
CheckValueOrNull
(prob);
Scorers\BinaryClassifierScorer.cs (1)
59
env.
CheckValueOrNull
(trainSchema);
Scorers\MulticlassClassificationScorer.cs (2)
291
_host.
CheckValueOrNull
(canWrap);
409
env.
CheckValueOrNull
(trainSchema);
Scorers\PredictionTransformer.cs (1)
488
Host.
CheckValueOrNull
(labelColumn);
Scorers\RowToRowScorerBase.cs (1)
144
Host.
CheckValueOrNull
(rand);
TrainCatalog.cs (1)
95
Environment.
CheckValueOrNull
(samplingKeyColumn);
Transforms\ColumnSelecting.cs (3)
228
_host.
CheckValueOrNull
(keepColumns);
229
_host.
CheckValueOrNull
(dropColumns);
694
_host.
CheckValueOrNull
(rand);
Transforms\GenerateNumberTransform.cs (1)
352
Host.
CheckValueOrNull
(rand);
Transforms\NAFilter.cs (1)
221
Host.
CheckValueOrNull
(rand);
Transforms\PerGroupTransformBase.cs (2)
159
Host.
CheckValueOrNull
(rand);
167
Host.
CheckValueOrNull
(rand);
Transforms\RangeFilter.cs (1)
223
Host.
CheckValueOrNull
(rand);
Transforms\RowShufflingTransformer.cs (1)
292
Host.
CheckValueOrNull
(rand);
Transforms\SkipTakeFilter.cs (1)
222
Host.
CheckValueOrNull
(rand);
Transforms\TrainAndScoreTransformer.cs (1)
221
env.
CheckValueOrNull
(mapperFactory);
Transforms\TransformBase.cs (6)
67
Host.
CheckValueOrNull
(rand);
503
Host.
CheckValueOrNull
(testType);
517
Host.
CheckValueOrNull
(testType);
531
Host.
CheckValueOrNull
(testType);
547
Host.
CheckValueOrNull
(checkType);
748
Host.
CheckValueOrNull
(rand);
Transforms\ValueMapping.cs (2)
607
env.
CheckValueOrNull
(options.KeyColumn);
608
env.
CheckValueOrNull
(options.ValueColumn);
Transforms\ValueToKeyMappingEstimator.cs (1)
157
_host.
CheckValueOrNull
(keyData);
Utilities\ApplyTransformUtils.cs (1)
73
env.
CheckValueOrNull
(oldSource);
Utilities\ComponentCreation.cs (7)
51
env.
CheckValueOrNull
(label);
52
env.
CheckValueOrNull
(features);
53
env.
CheckValueOrNull
(group);
54
env.
CheckValueOrNull
(weight);
55
env.
CheckValueOrNull
(custom);
161
env.
CheckValueOrNull
(trainSchema);
192
env.
CheckValueOrNull
(trainSchema);
Microsoft.ML.Ensemble (2)
PipelineEnsemble.cs (1)
703
Host.
CheckValueOrNull
(schema);
Selector\SubsetSelector\BaseSubsetSelector.cs (1)
96
Host.
CheckValueOrNull
(subset);
Microsoft.ML.FastTree (4)
FastTree.cs (3)
2841
Host.
CheckValueOrNull
(innerArgs);
2964
Host.
CheckValueOrNull
(schema);
2974
Host.
CheckValueOrNull
(schema);
GamModelParameters.cs (1)
359
Host.
CheckValueOrNull
(schema);
Microsoft.ML.Parquet (2)
ParquetLoader.cs (2)
396
_host.
CheckValueOrNull
(rand);
402
_host.
CheckValueOrNull
(rand);
Microsoft.ML.StandardTrainers (5)
Standard\LinearModelParameters.cs (1)
561
Host.
CheckValueOrNull
(calibrator);
Standard\LogisticRegression\MulticlassLogisticRegression.cs (2)
834
Host.
CheckValueOrNull
(schema);
907
Host.
CheckValueOrNull
(schema);
Standard\SdcaRegression.cs (1)
133
Host.
CheckValueOrNull
(weightColumn);
Standard\Simple\SimpleTrainers.cs (1)
234
_host.
CheckValueOrNull
(weightColunn);
Microsoft.ML.TimeSeries (3)
PredictionEngine.cs (2)
406
env.
CheckValueOrNull
(inputSchemaDefinition);
407
env.
CheckValueOrNull
(outputSchemaDefinition);
SequentialTransformerBase.cs (1)
877
Host.
CheckValueOrNull
(rand);
Microsoft.ML.Transforms (20)
CustomMappingTransformer.cs (3)
50
_host.
CheckValueOrNull
(contractName);
51
_host.
CheckValueOrNull
(inputSchemaDefinition);
52
_host.
CheckValueOrNull
(outputSchemaDefinition);
FourierDistributionSampler.cs (1)
106
Contracts.
CheckValueOrNull
(env, nameof(env));
GroupTransform.cs (2)
160
Host.
CheckValueOrNull
(rand);
176
Host.
CheckValueOrNull
(rand);
LambdaTransform.cs (5)
108
env.
CheckValueOrNull
(initStateAction);
109
env.
CheckValueOrNull
(inputSchemaDefinition);
110
env.
CheckValueOrNull
(outputSchemaDefinition);
147
env.
CheckValueOrNull
(initStateAction);
148
env.
CheckValueOrNull
(inputSchemaDefinition);
OptionalColumnTransform.cs (1)
338
Host.
CheckValueOrNull
(rand);
ProduceIdTransform.cs (1)
155
Host.
CheckValueOrNull
(rand);
StatefulCustomMappingTransformer.cs (1)
54
_host.
CheckValueOrNull
(contractName);
StatefulFilterTransform.cs (1)
105
_host.
CheckValueOrNull
(rand);
SvmLight\SvmLightLoader.cs (2)
427
_host.
CheckValueOrNull
(rand);
434
_host.
CheckValueOrNull
(rand);
SvmLight\SvmLightSaver.cs (1)
91
_host.
CheckValueOrNull
(cols);
Text\TextFeaturizingEstimator.cs (1)
422
_host.
CheckValueOrNull
(options);
Text\WordBagTransform.cs (1)
576
h.
CheckValueOrNull
(termLoaderArgs);