791 references to MLContext
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
31var mlContext = new MLContext();
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
346var mlContext = new MLContext(); 448var mlContext = new MLContext();
Microsoft.Extensions.ML (1)
MLOptions.cs (1)
30get { return _context ?? (_context = new MLContext()); }
Microsoft.ML.AutoML (4)
AutoMLExperiment\IMLContextManager.cs (1)
38var newContext = new MLContext(seed);
AutoMLExperiment\ITrialResultManager.cs (1)
137var context = new MLContext();
Experiment\Experiment.cs (2)
158_currentModelMLContext = _newContextSeedGenerator == null ? new MLContext() : new MLContext(_newContextSeedGenerator.Next());
Microsoft.ML.AutoML.Samples (8)
AutoFit\BinaryClassificationExperiment.cs (1)
18MLContext mlContext = new MLContext();
AutoFit\MulticlassClassificationExperiment.cs (1)
19MLContext mlContext = new MLContext();
AutoFit\RankingExperiment.cs (1)
22MLContext mlContext = new MLContext();
AutoFit\RecommendationExperiment.cs (1)
25MLContext mlContext = new MLContext();
AutoFit\RegressionExperiment.cs (1)
19MLContext mlContext = new MLContext();
AutoMLExperiment.cs (1)
20var context = new MLContext(seed);
Cifar10.cs (1)
28var context = new MLContext();
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
32var context = new MLContext(seed);
Microsoft.ML.AutoML.Tests (109)
AutoFeaturizerTests.cs (6)
46var context = new MLContext(1); 58var context = new MLContext(1); 70var context = new MLContext(1); 83var context = new MLContext(1); 94var context = new MLContext(1); 106var context = new MLContext(1);
AutoFitTests.cs (16)
44var context = new MLContext(1); 70var context = new MLContext(1); 97var context = new MLContext(1); 124var context = new MLContext(1); 152var context = new MLContext(1); 183var context = new MLContext(1); 213var context = new MLContext(1); 259var context = new MLContext(0); 332var context = new MLContext(seed: 1); 359var context = new MLContext(seed: 1); 382var context = new MLContext(1); 415var mlContext = new MLContext(1); 478var mlContext = new MLContext(1); 520MLContext mlContext = new MLContext(1); 584var context = new MLContext(1); 648var context = new MLContext(1);
AutoMLExperimentTests.cs (16)
35var context = new MLContext(1); 65var context = new MLContext(1); 95var context = new MLContext(1); 121var context = new MLContext(1); 154var context = new MLContext(1); 185var context = new MLContext(1); 212var context = new MLContext(1); 237var context = new MLContext(1); 262var context = new MLContext(1); 287var context = new MLContext(1); 314var context = new MLContext(1); 341var context = new MLContext(1); 379var context = new MLContext(1); 398var context = new MLContext(1); 418var context = new MLContext(); 423context = new MLContext(1);
ColumnInferenceTests.cs (14)
32var context = new MLContext(1); 47var context = new MLContext(1); 54Assert.Throws<ArgumentOutOfRangeException>(() => new MLContext(1).Auto().InferColumns(DatasetUtil.GetUciAdultDataset(), 100)); 60var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetUciAdultDataset(), 14, hasHeader: true); 70var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetIrisDataset(), DatasetUtil.IrisDatasetLabelColIndex); 81var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithEmptyColumn.txt"), DefaultColumnNames.Label, groupColumns: false); 89var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "BinaryDatasetWithBoolColumn.txt"), DefaultColumnNames.Label); 107var context = new MLContext(1); 136var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "NameColumnIsOnlyFeatureDataset.txt"), DefaultColumnNames.Label); 152var result = new MLContext(1).Auto() 173var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithDefaultColumnNames.txt"), 190var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetMlNetGeneratedRegressionDataset(), 203var context = new MLContext(); 219MLContext mlContext = new MLContext();
DatasetDimensionsTests.cs (3)
24var context = new MLContext(1); 44var context = new MLContext(1); 64var context = new MLContext(1);
DatasetUtil.cs (6)
56var context = new MLContext(1); 69var context = new MLContext(1); 82var context = new MLContext(1); 95var context = new MLContext(1); 107var context = new MLContext(1); 118var context = new MLContext(1);
EstimatorExtensionTests.cs (2)
24var context = new MLContext(1); 44var context = new MLContext(1);
GetNextPipelineTests.cs (2)
26var context = new MLContext(1); 51var context = new MLContext(1);
InferredPipelineTests.cs (1)
22var context = new MLContext(1);
MLContextManagerTests.cs (2)
28var mainContext = new MLContext(10); 46var mainContext = new MLContext(10);
PurposeInferenceTests.cs (1)
22var context = new MLContext(1);
SplitUtilTests.cs (3)
29var mlContext = new MLContext(1); 45var mlContext = new MLContext(seed: 0); 64var mlContext = new MLContext(seed: 0);
SuggestedPipelineBuilderTests.cs (1)
15private static MLContext _context = new MLContext(1);
SweepableExtensionTest.cs (11)
49var context = new MLContext(); 68var context = new MLContext(); 80var context = new MLContext(); 93var context = new MLContext(); 106var context = new MLContext(); 119var context = new MLContext(); 132var context = new MLContext(); 146var context = new MLContext(); 160var context = new MLContext(); 173var context = new MLContext(); 186var context = new MLContext();
SweeperTests.cs (3)
32var sweeper = new SmacSweeper(new MLContext(1), new SmacSweeper.Arguments() 89var sweeper = new SmacSweeper(new MLContext(1), new SmacSweeper.Arguments() 142var sweeper = new SmacSweeper(new MLContext(1), new SmacSweeper.Arguments()
TrainerExtensionsTests.cs (4)
25var context = new MLContext(1); 54var context = new MLContext(1); 404var trainers = RecipeInference.AllowedTrainers(new MLContext(1), TaskKind.BinaryClassification, new ColumnInformation(), null); 412var trainers = RecipeInference.AllowedTrainers(new MLContext(1), TaskKind.BinaryClassification, new ColumnInformation(), allowList);
TrainValidaionDatasetManagerTest.cs (1)
28var context = new MLContext(1);
TransformInferenceTests.cs (1)
765var transforms = TransformInferenceApi.InferTransforms(new MLContext(1), task, columns);
TransformPostTrainerInferenceTests.cs (1)
71var transforms = TransformInferenceApi.InferTransformsPostTrainer(new MLContext(1), task, columns);
TunerTests.cs (7)
32var context = new MLContext(1); 73var context = new MLContext(1); 167var context = new MLContext(1); 202var context = new MLContext(1); 237var context = new MLContext(1); 291var context = new MLContext(1); 341var context = new MLContext(1);
UserInputValidationTests.cs (7)
105var context = new MLContext(1); 127var context = new MLContext(1); 150var context = new MLContext(1); 279var dataViewBuilder = new ArrayDataViewBuilder(new MLContext(1)); 324var dataViewBuilder = new ArrayDataViewBuilder(new MLContext(1)); 348var mlContext = new MLContext(1); 374var dataViewBuilder = new ArrayDataViewBuilder(new MLContext(1));
Utils\MLNetUtils\DataViewTestFixture.cs (1)
25var dataBuilder = new ArrayDataViewBuilder(new MLContext(1));
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
41var mlContext = new MLContext();
Microsoft.ML.CodeGenerator.Tests (61)
ApprovalTests\ConsoleCodeGeneratorTests.cs (4)
544MLContext context = new MLContext(); 600MLContext context = new MLContext(); 637MLContext context = new MLContext(); 1095MLContext context = new MLContext();
CodeGenTests.cs (5)
26var context = new MLContext(); 46var context = new MLContext(); 67var context = new MLContext(); 81var context = new MLContext(); 121var context = new MLContext();
TrainerGeneratorTests.cs (39)
28var context = new MLContext(); 56var context = new MLContext(); 77var context = new MLContext(); 100var context = new MLContext(); 117var context = new MLContext(); 137var context = new MLContext(); 154var context = new MLContext(); 174var context = new MLContext(); 191var context = new MLContext(); 211var context = new MLContext(); 228var context = new MLContext(); 248var context = new MLContext(); 265var context = new MLContext(); 285var context = new MLContext(); 299var context = new MLContext(); 325var context = new MLContext(); 342var context = new MLContext(); 362var context = new MLContext(); 379var context = new MLContext(); 399var context = new MLContext(); 416var context = new MLContext(); 436var context = new MLContext(); 453var context = new MLContext(); 473var context = new MLContext(); 490var context = new MLContext(); 510var context = new MLContext(); 527var context = new MLContext(); 548var context = new MLContext(); 565var context = new MLContext(); 586var context = new MLContext(); 603var context = new MLContext(); 624var context = new MLContext(); 641var context = new MLContext(); 662var context = new MLContext(); 678var context = new MLContext(); 699var context = new MLContext(); 716var context = new MLContext(); 737var context = new MLContext(); 754var context = new MLContext();
TransformGeneratorTests.cs (11)
24var context = new MLContext(); 38var context = new MLContext(); 52var context = new MLContext(); 66var context = new MLContext(); 80var context = new MLContext(); 94var context = new MLContext(); 108var context = new MLContext(); 122var context = new MLContext(); 136var context = new MLContext(); 150var context = new MLContext(); 164var context = new MLContext();
UtilTest.cs (2)
130var context = new MLContext(); 165var context = new MLContext();
Microsoft.ML.Core.Tests (14)
UnitTests\TestContracts.cs (1)
51var env = new MLContext(1);
UnitTests\TestEarlyStoppingCriteria.cs (1)
20var env = new MLContext(1)
UnitTests\TestEntryPoints.cs (7)
744var mlContext = new MLContext(1); 892var mlContext = new MLContext(1); 1053var mlContext = new MLContext(1); 1196var mlContext = new MLContext(1); 1343var mlContext = new MLContext(1); 1359var mlContext = new MLContext(1); 6582var ml = new MLContext(1);
UnitTests\TestHosts.cs (3)
27IHostEnvironment env = new MLContext(seed: 42); 92IHostEnvironment env = new MLContext(seed: 42); 127var env = new MLContext(1);
UnitTests\TestModelLoad.cs (2)
26var env = new MLContext(1).AddStandardComponents(); 44var env = new MLContext(1).AddStandardComponents();
Microsoft.ML.Fairlearn (1)
Metrics\FairlearnMetricCatalog.cs (1)
153private readonly MLContext _context = new MLContext();
Microsoft.ML.Fairlearn.Tests (3)
GridSearchTest.cs (2)
26var context = new MLContext(); 82var context = new MLContext();
MetricTest.cs (1)
18mlContext = new MLContext();
Microsoft.ML.IntegrationTests (73)
DataIO.cs (5)
33var mlContext = new MLContext(seed: 1); 47var mlContext = new MLContext(seed: 1); 68var mlContext = new MLContext(seed: 1); 90var mlContext = new MLContext(seed: 1); 109var mlContext = new MLContext(seed: 1);
DataTransformation.cs (5)
29var mlContext = new MLContext(seed: 1); 82var mlContext = new MLContext(seed: 1); 130var mlContext = new MLContext(seed: 1); 166var mlContext = new MLContext(seed: 1); 193var mlContext = new MLContext(seed: 1);
Debugging.cs (4)
38var mlContext = new MLContext(seed: 1); 101var mlContext = new MLContext(seed: 1); 130var mlContext = new MLContext(seed: 1); 164var mlContext = new MLContext(seed: 1);
Evaluation.cs (10)
28var mlContext = new MLContext(seed: 1); 58var mlContext = new MLContext(seed: 1); 87var mlContext = new MLContext(seed: 1); 116var mlContext = new MLContext(seed: 1); 144var mlContext = new MLContext(seed: 1); 194var mlContext = new MLContext(seed: 1); 209var mlContext = new MLContext(seed: 1); 227var mlContext = new MLContext(seed: 1); 265var mlContext = new MLContext(seed: 1); 293var mlContext = new MLContext(seed: 1);
Explainability.cs (8)
32var mlContext = new MLContext(seed: 1); 90var mlContext = new MLContext(seed: 1); 114var mlContext = new MLContext(seed: 1); 141var mlContext = new MLContext(seed: 1); 168var mlContext = new MLContext(seed: 1); 205var mlContext = new MLContext(seed: 1); 242var mlContext = new MLContext(seed: 1); 280var mlContext = new MLContext(seed: 1);
IntrospectiveTraining.cs (9)
32var mlContext = new MLContext(seed: 1); 73var mlContext = new MLContext(seed: 1); 134var mlContext = new MLContext(seed: 1); 175var mlContext = new MLContext(seed: 1); 217var mlContext = new MLContext(seed: 1); 255var mlContext = new MLContext(seed: 1); 286var mlContext = new MLContext(seed: 1); 329var mlContext = new MLContext(seed: 1); 387var mlContext = new MLContext(seed: 1);
ModelFiles.cs (10)
42var mlContext = new MLContext(seed: 1); 89var mlContext = new MLContext(seed: 1); 132var mlContext = new MLContext(1); 238var mlContext = new MLContext(1); 265var mlContext = new MLContext(1); 322var mlContext = new MLContext(1); 355var mlContext = new MLContext(1); 384var mlContext = new MLContext(1); 422var mlContext = new MLContext(1); 455var mlContext = new MLContext(1);
ONNX.cs (3)
34var mlContext = new MLContext(seed: 1); 84var mlContext = new MLContext(seed: 1); 136var mlContext = new MLContext(seed: 1);
Prediction.cs (3)
38var mlContext = new MLContext(seed: 1); 81var mlContext = new MLContext(seed: 1); 104var mlContext = new MLContext(seed: 1);
SchemaDefinitionTests.cs (1)
26_ml = new MLContext(42);
Training.cs (11)
29var mlContext = new MLContext(seed: 1); 83var mlContext = new MLContext(seed: 1); 127var mlContext = new MLContext(seed: 1); 171var mlContext = new MLContext(seed: 1); 215var mlContext = new MLContext(seed: 1); 259var mlContext = new MLContext(seed: 1); 309var mlContext = new MLContext(seed: 1); 353var mlContext = new MLContext(seed: 1); 397var mlContext = new MLContext(seed: 1); 446var mlContext = new MLContext(seed: 1); 477var mlContext = new MLContext(seed: 1);
Validation.cs (4)
35var mlContext = new MLContext(seed: 1); 67var mlContext = new MLContext(1); 101var mlContext = new MLContext(seed: 1); 151var mlContext = new MLContext(1);
Microsoft.ML.OnnxTransformerTest (5)
DnnImageFeaturizerTest.cs (1)
98var env = new MLContext(null);
OnnxTransformTests.cs (4)
243var env = new MLContext(1); 294var env = new MLContext(1); 528var mlContext = new MLContext(1); 554var mlContext = new MLContext(seed: 1);
Microsoft.ML.PerformanceTests (16)
BenchmarkBase.cs (1)
44var mlContext = new MLContext(1);
CacheDataViewBench.cs (1)
30var ctx = new MLContext(1);
FeaturizeTextBench.cs (1)
28_mlContext = new MLContext(seed: 1);
HashBench.cs (1)
74private readonly MLContext _env = new MLContext(1);
Helpers\EnvironmentFactory.cs (2)
20var ctx = new MLContext(1); 36var ctx = new MLContext(1);
ImageClassificationBench.cs (1)
31_mlContext = new MLContext(seed: 1);
KMeansAndLogisticRegressionBench.cs (1)
21var ml = new MLContext(seed: 1);
PredictionEngineBench.cs (3)
38var env = new MLContext(seed: 1); 77var mlContext = new MLContext(seed: 1); 112var env = new MLContext(seed: 1);
RffTransform.cs (1)
31var mlContext = new MLContext(1);
ShuffleRowsBench.cs (1)
26_context = new MLContext();
StochasticDualCoordinateAscentClassifierBench.cs (1)
24private readonly MLContext _mlContext = new MLContext(seed: 1);
TextLoaderBench.cs (1)
31_mlContext = new MLContext(seed: 1);
TextPredictionEngineCreation.cs (1)
23_context = new MLContext(1);
Microsoft.ML.Predictor.Tests (7)
CmdLine\CmdLine.cs (2)
101var env = new MLContext(seed: 42); 111var env = new MLContext(seed: 42);
CmdLine\CmdLineReverseTest.cs (2)
25var env = new MLContext(seed: 42); 84var ml = new MLContext(1);
TestGamPublicInterfaces.cs (1)
24var mlContext = new MLContext(seed: 1);
TestIniModels.cs (2)
518var mlContext = new MLContext(seed: 0); 557var mlContext = new MLContext(seed: 0);
Microsoft.ML.Samples (216)
Dynamic\DataOperations\BootstrapSample.cs (1)
13var mlContext = new MLContext();
Dynamic\DataOperations\Cache.cs (1)
14var mlContext = new MLContext();
Dynamic\DataOperations\CrossValidationSplit.cs (1)
15var mlContext = new MLContext();
Dynamic\DataOperations\DataViewEnumerable.cs (1)
16var mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByColumn.cs (1)
16var mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (1)
14var mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (1)
17var mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByMissingValues.cs (1)
17var mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (1)
14var mlContext = new MLContext();
Dynamic\DataOperations\LoadFromEnumerable.cs (1)
22var mlContext = new MLContext();
Dynamic\DataOperations\LoadingSvmLight.cs (1)
44var mlContext = new MLContext();
Dynamic\DataOperations\LoadingText.cs (1)
42var mlContext = new MLContext();
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\DataOperations\ShuffleRows.cs (1)
16var mlContext = new MLContext();
Dynamic\DataOperations\SkipRows.cs (1)
15var mlContext = new MLContext();
Dynamic\DataOperations\TakeRows.cs (1)
16var mlContext = new MLContext();
Dynamic\DataOperations\TrainTestSplit.cs (1)
15var mlContext = new MLContext();
Dynamic\ModelOperations\OnnxConversion.cs (1)
36var mlContext = new MLContext(seed: 0);
Dynamic\ModelOperations\SaveLoadModel.cs (1)
14var mlContext = new MLContext();
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
14var mlContext = new MLContext();
Dynamic\NgramExtraction.cs (1)
14var ml = new MLContext();
Dynamic\SimpleDataViewImplementation.cs (1)
35var mlContext = new MLContext();
Dynamic\TensorFlow\ImageClassification.cs (1)
37var mlContext = new MLContext();
Dynamic\TensorFlow\TextClassification.cs (1)
21var mlContext = new MLContext();
Dynamic\TextTransform.cs (1)
15var ml = new MLContext();
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
16var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
18var mlContext = new MLContext();
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
19var mlContext = new MLContext();
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
15var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
16var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Clustering\KMeans.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
41MLContext mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
23var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
15var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
18var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\FastTree.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\LightGbm.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
15var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
17var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (1)
24var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
25var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
29var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastForest.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTree.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\Gam.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
18var mlContext = new MLContext();
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
19var mlContext = new MLContext();
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbm.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (1)
17var mlContext = new MLContext();
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
21var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
18var mlContext = new MLContext();
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
25var mlContext = new MLContext(seed: 3);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
25var mlContext = new MLContext(seed: 3);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
15var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
17var mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Regression\Sdca.cs (1)
17var mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
18var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\ApplyOnnxModel.cs (1)
20var mlContext = new MLContext();
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (1)
22var mlContext = new MLContext();
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
18var mlContext = new MLContext();
Dynamic\Transforms\CalculateFeatureContribution.cs (1)
15var mlContext = new MLContext(seed: 1);
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
12var mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
12var mlContext = new MLContext();
Dynamic\Transforms\Concatenate.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Conversion\ConvertType.cs (1)
11var mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (1)
17var mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\Hash.cs (1)
14var mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
16var mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (1)
20var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (1)
19var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\Conversion\MapKeyToVector.cs (1)
19var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (1)
19var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValue.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueToArray.cs (1)
19var mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\CopyColumns.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\CustomMapping.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
20var mlContext = new MLContext();
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
23var mlContext = new MLContext();
Dynamic\Transforms\DropColumns.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Expression.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
12var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (1)
22var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
18var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\IndicateMissingValues.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\NormalizeBinning.cs (1)
18var mlContext = new MLContext();
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\NormalizeLogMeanVariance.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\NormalizeLpNorm.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\NormalizeMeanVariance.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\NormalizeMinMax.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\NormalizeSupervisedBinning.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
18var ml = new MLContext();
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
17var ml = new MLContext();
Dynamic\Transforms\ReplaceMissingValues.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\SelectColumns.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\StatefulCustomMapping.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\FeaturizeText.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Text\NormalizeText.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (1)
14var mlContext = new MLContext();
Dynamic\Transforms\Text\RemoveStopWords.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\Text\TokenizeIntoWords.cs (1)
13var mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
19var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (1)
15var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
22var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (1)
18var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
22var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
16var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
23var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (1)
21var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
19var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (1)
17var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
15var mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
20var ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (1)
18var ml = new MLContext();
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
17var ml = new MLContext();
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
17var ml = new MLContext();
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
16var mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (1)
17var mlContext = new MLContext();
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
20var mlContext = new MLContext(seed: 0);
Dynamic\WithOnFitDelegate.cs (1)
18var mlContext = new MLContext();
Microsoft.ML.Samples.GPU (6)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
37var mlContext = new MLContext();
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
21var mlContext = new MLContext();
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
41MLContext mlContext = new MLContext(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
35MLContext mlContext = new MLContext(seed: 1);
Microsoft.ML.Samples.OneDal (1)
Program.cs (1)
165var mlContext = new MLContext(seed: 42);
Microsoft.ML.Sweeper.Tests (12)
SweeperTest.cs (2)
22var env = new MLContext(42); 39var env = new MLContext(42);
TestSweeper.cs (10)
93var env = new MLContext(42); 133var env = new MLContext(42); 183var env = new MLContext(42); 233var env = new MLContext(42); 301var env = new MLContext(42); 353var env = new MLContext(42); 431var env = new MLContext(42); 541var env = new MLContext(42); 597var env = new MLContext(42); 645var env = new MLContext(42);
Microsoft.ML.TensorFlow.Tests (5)
TensorFlowEstimatorTests.cs (4)
150var mlContext = new MLContext(seed: 1); 192var mlContext = new MLContext(seed: 1); 238var mlContext = new MLContext(seed: 1); 286MLContext context = new MLContext(seed: 1);
TensorflowTests.cs (1)
64private MLContext _mlContext = new MLContext(seed: 1);
Microsoft.ML.TestFramework (4)
BaseTestBaseline.cs (1)
109ML = new MLContext(42);
TestCommandBase.cs (1)
532var env = new MLContext(seed: 42);
TestSparseDataView.cs (2)
50var env = new MLContext(1); 90var env = new MLContext(1);
Microsoft.ML.Tests (216)
AnomalyDetectionTests.cs (3)
59var mlContext = new MLContext(seed: 0); 89var mlContext = new MLContext(seed: 0); 262var mlContext = new MLContext(seed: 0);
CollectionsDataViewTest.cs (9)
159var env = new MLContext(1); 181var env = new MLContext(1); 233var env = new MLContext(1); 259var env = new MLContext(1); 313var env = new MLContext(1); 343var env = new MLContext(1); 394var env = new MLContext(1); 445var env = new MLContext(1); 482var env = new MLContext(1);
DatabaseLoaderTests.cs (6)
52var mlContext = new MLContext(seed: 1); 97var mlContext = new MLContext(seed: 1); 133var mlContext = new MLContext(seed: 1); 165var mlContext = new MLContext(seed: 1); 197var mlContext = new MLContext(seed: 1); 257var mlContext = new MLContext(seed: 1);
EvaluateTests.cs (1)
33var mlContext = new MLContext(seed: 1);
ImagesTests.cs (17)
31var env = new MLContext(1); 62IHostEnvironment env = new MLContext(1); 106var env = new MLContext(1); 138var env = new MLContext(1); 173IHostEnvironment env = new MLContext(1); 332IHostEnvironment env = new MLContext(1); 407IHostEnvironment env = new MLContext(1); 483IHostEnvironment env = new MLContext(1); 558IHostEnvironment env = new MLContext(1); 633IHostEnvironment env = new MLContext(1); 708IHostEnvironment env = new MLContext(1); 784IHostEnvironment env = new MLContext(1); 859IHostEnvironment env = new MLContext(1); 935IHostEnvironment env = new MLContext(1); 1009var env = new MLContext(1); 1085var mlContext = new MLContext(0); 1177var mlContext = new MLContext(seed: 1);
OnnxConversionTest.cs (39)
70var mlContext = new MLContext(seed: 1); 145var mlContext = new MLContext(seed: 1); 178var mlContext = new MLContext(seed: 1); 219var mlContext = new MLContext(seed: 1); 260var mlContext = new MLContext(seed: 1); 384var mlContext = new MLContext(seed: 1); 413var mlContext = new MLContext(seed: 1); 464var mlContext = new MLContext(seed: 1); 497var env = new MLContext(1); 566var mlContext = new MLContext(seed: 1); 597var mlContext = new MLContext(seed: 1); 621var mlContext = new MLContext(seed: 1); 766var mlContext = new MLContext(seed: 1); 785var mlContext = new MLContext(seed: 1); 848var mlContext = new MLContext(seed: 1); 868var mlContext = new MLContext(seed: 1); 940var mlContext = new MLContext(seed: 1); 966var mlContext = new MLContext(seed: 1); 1001var mlContext = new MLContext(); 1059var mlContext = new MLContext(); 1098var mlContext = new MLContext(); 1152var mlContext = new MLContext(seed: 1); 1188var mlContext = new MLContext(seed: 1); 1226var mlContext = new MLContext(seed: 1); 1391var mlContext = new MLContext(seed: 1); 1437var mlContext = new MLContext(seed: 1); 1464var mlContext = new MLContext(seed: 1); 1539var mlContext = new MLContext(); 1563var mlContext = new MLContext(); 1599var mlContext = new MLContext(seed: 1); 1644var mlContext = new MLContext(seed: 1); 1698var mlContext = new MLContext(seed: 1); 1716var mlContext = new MLContext(seed: 1); 1761var mlContext = new MLContext(); 1843var mlContext = new MLContext(seed: 1); 1882var mlContext = new MLContext(seed: 1); 1930var mlContext = new MLContext(seed: 1); 1971var mlContext = new MLContext(seed: 1); 2022var mlContext = new MLContext();
OnnxSequenceTypeWithAttributesTest.cs (2)
43var ctx = new MLContext(1); 82var ctx = new MLContext(1);
PermutationFeatureImportanceTests.cs (40)
52ML = new MLContext(42); 53var ml2 = new MLContext(42); 61ML = new MLContext(42); 62var ml2 = new MLContext(42); 126ML = new MLContext(42); 127var ml2 = new MLContext(42); 135ML = new MLContext(42); 136var ml2 = new MLContext(42); 194ML = new MLContext(42); 195var ml2 = new MLContext(42); 203ML = new MLContext(42); 204var ml2 = new MLContext(42); 282ML = new MLContext(42); 283var ml2 = new MLContext(42); 291ML = new MLContext(42); 292var ml2 = new MLContext(42); 357ML = new MLContext(42); 358var ml2 = new MLContext(42); 366ML = new MLContext(42); 367var ml2 = new MLContext(42); 431ML = new MLContext(42); 432var ml2 = new MLContext(42); 440ML = new MLContext(42); 441var ml2 = new MLContext(42); 539ML = new MLContext(42); 540var ml2 = new MLContext(42); 548ML = new MLContext(42); 549var ml2 = new MLContext(42); 612ML = new MLContext(42); 613var ml2 = new MLContext(42); 621ML = new MLContext(42); 622var ml2 = new MLContext(42); 691ML = new MLContext(0); 692var ml2 = new MLContext(0); 700ML = new MLContext(0); 701var ml2 = new MLContext(0); 759ML = new MLContext(42); 760var ml2 = new MLContext(42); 768ML = new MLContext(42); 769var ml2 = new MLContext(42);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (16)
38var mlContext = new MLContext(1); 76var mlContext = new MLContext(); 147var mlContext = new MLContext(1); 215var mlContext = new MLContext(1); 274var mlContext = new MLContext(1); 301var mlContext = new MLContext(1); 332var context = new MLContext(1); 372var context = new MLContext(1); 407var context = new MLContext(1); 443var context = new MLContext(1); 501var mlContext = new MLContext(1); 570var mlContext = new MLContext(1); 633var mlContext = new MLContext(1); 682var mlContext = new MLContext(1); 705var mlContext = new MLContext(1); 755var newContext = new MLContext(1);
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
29var ml = new MLContext(1);
Scenarios\Api\Estimators\Extensibility.cs (1)
29var ml = new MLContext(1);
Scenarios\Api\Estimators\MultithreadedPrediction.cs (1)
27var ml = new MLContext(seed: 1);
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
27var ml = new MLContext(1); 75var mlContext = new MLContext(seed: 1);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (2)
25var ml = new MLContext(seed: 1); 62var ml = new MLContext(seed: 1);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
23var ml = new MLContext(seed: 1);
Scenarios\Api\TestApi.cs (7)
66var env = new MLContext(seed: 0); 151var env = new MLContext(seed: 42); 173var mlContext = new MLContext(0); 200var mlContext = new MLContext(0); 298var mlContext = new MLContext(0); 346var mlContext = new MLContext(0); 418var mlContext = new MLContext(0);
Scenarios\ClusteringTests.cs (1)
57var mlContext = new MLContext(seed: 1);
Scenarios\GetColumnTests.cs (2)
28var mlContext = new MLContext(1); 70var mlContext = new MLContext(1);
Scenarios\IrisPlantClassificationTests.cs (1)
20var mlContext = new MLContext(seed: 1);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
16var mlContext = new MLContext(seed: 1);
Scenarios\OvaTest.cs (4)
21var mlContext = new MLContext(seed: 1); 54var mlContext = new MLContext(seed: 1); 90var mlContext = new MLContext(seed: 1); 125var mlContext = new MLContext(seed: 1);
Scenarios\RegressionTest.cs (1)
15var context = new MLContext();
Scenarios\WordBagTest.cs (2)
16var mlContext = new MLContext(1); 53var mlContext = new MLContext(1);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
18var mlContext = new MLContext(seed: 1);
TextLoaderTests.cs (15)
583var mlContext = new MLContext(seed: 1); 591var mlContext = new MLContext(seed: 1); 609var mlContext = new MLContext(seed: 1); 733var mlContext = new MLContext(1); 813var mlContext = new MLContext(1); 832var mlContext = new MLContext(1); 890var mlContext = new MLContext(seed: 1); 984var mlContext = new MLContext(seed: 1); 1036var mlContext = new MLContext(seed: 1); 1183var mlContext = new MLContext(1); 1241var mlContext = new MLContext(seed: 1); 1253var mlContext = new MLContext(seed: 1); 1268var mlContext = new MLContext(seed: 1); 1373var mlContext = new MLContext(seed: 1); 1424var mlContext = new MLContext(seed: 1);
TrainerEstimators\CalibratorEstimators.cs (1)
150var mlContext = new MLContext(0);
TrainerEstimators\FAFMEstimator.cs (2)
21var mlContext = new MLContext(seed: 0); 42var mlContext = new MLContext(seed: 0);
TrainerEstimators\MatrixFactorizationTests.cs (8)
59var mlContext = new MLContext(seed: 1); 216var mlContext = new MLContext(seed: 1); 327var mlContext = new MLContext(seed: 1); 447var mlContext = new MLContext(seed: 1); 534var mlContext = new MLContext(seed: 1); 591var mlContext = new MLContext(seed: 1); 647var mlContext = new MLContext(seed: 0); 774var mlContext = new MLContext(seed: 1);
TrainerEstimators\SdcaTests.cs (6)
64var mlContext = new MLContext(1); 108var mlContext = new MLContext(0); 164var mlContext = new MLContext(0); 223var mlContext = new MLContext(1); 265var mlContext = new MLContext(1); 300var mlContext = new MLContext(1);
TrainerEstimators\TreeEstimators.cs (5)
460var mlContext = new MLContext(seed: 0); 742var mlContext = new MLContext(seed: 0); 1025var context = new MLContext(seed: 1); 1071var context = new MLContext(seed: 1); 1099var context = new MLContext(seed: 1);
Transformers\CategoricalTests.cs (2)
107var mlContext = new MLContext(1); 130var mlContext = new MLContext(1);
Transformers\ConvertTests.cs (1)
283var mlContext = new MLContext(1);
Transformers\CopyColumnEstimatorTests.cs (6)
48var env = new MLContext(1); 60var env = new MLContext(1); 78var env = new MLContext(1); 97var env = new MLContext(1); 115var env = new MLContext(1); 134var env = new MLContext(1);
Transformers\CustomMappingTests.cs (2)
66var tempoEnv = new MLContext(1); 179var tempoEnv = new MLContext();
Transformers\KeyToVectorEstimatorTests.cs (1)
252MLContext mlContext = new MLContext(1);
Transformers\NormalizerTests.cs (1)
222var context = new MLContext(seed: 0);
Transformers\TextFeaturizerTests.cs (2)
671IHostEnvironment env = new MLContext(seed: 42); 719var ml = new MLContext(1);
Transformers\WordBagTransformerTests.cs (3)
28var mlContext = new MLContext(1); 57var mlContext = new MLContext(1); 85var mlContext = new MLContext(1);
Microsoft.ML.TimeSeries.Tests (24)
TimeSeriesDirectApi.cs (19)
110var env = new MLContext(1); 151var env = new MLContext(1); 215var ml = new MLContext(seed: 1); 291var ml = new MLContext(seed: 1); 354var env = new MLContext(1); 424var ml = new MLContext(seed: 1); 532var ml = new MLContext(1); 588var ml = new MLContext(1); 678var ml = new MLContext(1); 725var ml = new MLContext(1); 780var ml = new MLContext(1); 839var ml = new MLContext(1); 896var ml = new MLContext(1); 960var ml = new MLContext(1); 987var ml = new MLContext(1); 1037var ml = new MLContext(1); 1074var mlContext = new MLContext(); 1187var ml = new MLContext(1); 1221var ml = new MLContext(1);
TimeSeriesEstimatorTests.cs (1)
87var ml = new MLContext(seed: 1);
TimeSeriesSimpleApiTests.cs (4)
41var env = new MLContext(1); 79var env = new MLContext(1); 123var env = new MLContext(1); 173var env = new MLContext(1);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
171var mlContext = new MLContext();