791 instantiations of MLContext
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
31
var mlContext = new
MLContext
();
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
346
var mlContext = new
MLContext
();
448
var mlContext = new
MLContext
();
Microsoft.Extensions.ML (1)
MLOptions.cs (1)
30
get { return _context ?? (_context = new
MLContext
()); }
Microsoft.ML.AutoML (4)
AutoMLExperiment\IMLContextManager.cs (1)
38
var newContext = new
MLContext
(seed);
AutoMLExperiment\ITrialResultManager.cs (1)
137
var 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)
18
MLContext mlContext = new
MLContext
();
AutoFit\MulticlassClassificationExperiment.cs (1)
19
MLContext mlContext = new
MLContext
();
AutoFit\RankingExperiment.cs (1)
22
MLContext mlContext = new
MLContext
();
AutoFit\RecommendationExperiment.cs (1)
25
MLContext mlContext = new
MLContext
();
AutoFit\RegressionExperiment.cs (1)
19
MLContext mlContext = new
MLContext
();
AutoMLExperiment.cs (1)
20
var context = new
MLContext
(seed);
Cifar10.cs (1)
28
var context = new
MLContext
();
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
32
var context = new
MLContext
(seed);
Microsoft.ML.AutoML.Tests (109)
AutoFeaturizerTests.cs (6)
46
var context = new
MLContext
(1);
58
var context = new
MLContext
(1);
70
var context = new
MLContext
(1);
83
var context = new
MLContext
(1);
94
var context = new
MLContext
(1);
106
var context = new
MLContext
(1);
AutoFitTests.cs (16)
44
var context = new
MLContext
(1);
70
var context = new
MLContext
(1);
97
var context = new
MLContext
(1);
124
var context = new
MLContext
(1);
152
var context = new
MLContext
(1);
183
var context = new
MLContext
(1);
213
var context = new
MLContext
(1);
259
var context = new
MLContext
(0);
332
var context = new
MLContext
(seed: 1);
359
var context = new
MLContext
(seed: 1);
382
var context = new
MLContext
(1);
415
var mlContext = new
MLContext
(1);
478
var mlContext = new
MLContext
(1);
520
MLContext mlContext = new
MLContext
(1);
584
var context = new
MLContext
(1);
648
var context = new
MLContext
(1);
AutoMLExperimentTests.cs (16)
35
var context = new
MLContext
(1);
65
var context = new
MLContext
(1);
95
var context = new
MLContext
(1);
121
var context = new
MLContext
(1);
154
var context = new
MLContext
(1);
185
var context = new
MLContext
(1);
212
var context = new
MLContext
(1);
237
var context = new
MLContext
(1);
262
var context = new
MLContext
(1);
287
var context = new
MLContext
(1);
314
var context = new
MLContext
(1);
341
var context = new
MLContext
(1);
379
var context = new
MLContext
(1);
398
var context = new
MLContext
(1);
418
var context = new
MLContext
();
423
context = new
MLContext
(1);
ColumnInferenceTests.cs (14)
32
var context = new
MLContext
(1);
47
var context = new
MLContext
(1);
54
Assert.Throws<ArgumentOutOfRangeException>(() => new
MLContext
(1).Auto().InferColumns(DatasetUtil.GetUciAdultDataset(), 100));
60
var result = new
MLContext
(1).Auto().InferColumns(DatasetUtil.GetUciAdultDataset(), 14, hasHeader: true);
70
var result = new
MLContext
(1).Auto().InferColumns(DatasetUtil.GetIrisDataset(), DatasetUtil.IrisDatasetLabelColIndex);
81
var result = new
MLContext
(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithEmptyColumn.txt"), DefaultColumnNames.Label, groupColumns: false);
89
var result = new
MLContext
(1).Auto().InferColumns(Path.Combine("TestData", "BinaryDatasetWithBoolColumn.txt"), DefaultColumnNames.Label);
107
var context = new
MLContext
(1);
136
var result = new
MLContext
(1).Auto().InferColumns(Path.Combine("TestData", "NameColumnIsOnlyFeatureDataset.txt"), DefaultColumnNames.Label);
152
var result = new
MLContext
(1).Auto()
173
var result = new
MLContext
(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithDefaultColumnNames.txt"),
190
var result = new
MLContext
(1).Auto().InferColumns(DatasetUtil.GetMlNetGeneratedRegressionDataset(),
203
var context = new
MLContext
();
219
MLContext mlContext = new
MLContext
();
DatasetDimensionsTests.cs (3)
24
var context = new
MLContext
(1);
44
var context = new
MLContext
(1);
64
var context = new
MLContext
(1);
DatasetUtil.cs (6)
56
var context = new
MLContext
(1);
69
var context = new
MLContext
(1);
82
var context = new
MLContext
(1);
95
var context = new
MLContext
(1);
107
var context = new
MLContext
(1);
118
var context = new
MLContext
(1);
EstimatorExtensionTests.cs (2)
24
var context = new
MLContext
(1);
44
var context = new
MLContext
(1);
GetNextPipelineTests.cs (2)
26
var context = new
MLContext
(1);
51
var context = new
MLContext
(1);
InferredPipelineTests.cs (1)
22
var context = new
MLContext
(1);
MLContextManagerTests.cs (2)
28
var mainContext = new
MLContext
(10);
46
var mainContext = new
MLContext
(10);
PurposeInferenceTests.cs (1)
22
var context = new
MLContext
(1);
SplitUtilTests.cs (3)
29
var mlContext = new
MLContext
(1);
45
var mlContext = new
MLContext
(seed: 0);
64
var mlContext = new
MLContext
(seed: 0);
SuggestedPipelineBuilderTests.cs (1)
15
private static MLContext _context = new
MLContext
(1);
SweepableExtensionTest.cs (11)
49
var context = new
MLContext
();
68
var context = new
MLContext
();
80
var context = new
MLContext
();
93
var context = new
MLContext
();
106
var context = new
MLContext
();
119
var context = new
MLContext
();
132
var context = new
MLContext
();
146
var context = new
MLContext
();
160
var context = new
MLContext
();
173
var context = new
MLContext
();
186
var context = new
MLContext
();
SweeperTests.cs (3)
32
var sweeper = new SmacSweeper(new
MLContext
(1), new SmacSweeper.Arguments()
89
var sweeper = new SmacSweeper(new
MLContext
(1), new SmacSweeper.Arguments()
142
var sweeper = new SmacSweeper(new
MLContext
(1), new SmacSweeper.Arguments()
TrainerExtensionsTests.cs (4)
25
var context = new
MLContext
(1);
54
var context = new
MLContext
(1);
404
var trainers = RecipeInference.AllowedTrainers(new
MLContext
(1), TaskKind.BinaryClassification, new ColumnInformation(), null);
412
var trainers = RecipeInference.AllowedTrainers(new
MLContext
(1), TaskKind.BinaryClassification, new ColumnInformation(), allowList);
TrainValidaionDatasetManagerTest.cs (1)
28
var context = new
MLContext
(1);
TransformInferenceTests.cs (1)
765
var transforms = TransformInferenceApi.InferTransforms(new
MLContext
(1), task, columns);
TransformPostTrainerInferenceTests.cs (1)
71
var transforms = TransformInferenceApi.InferTransformsPostTrainer(new
MLContext
(1), task, columns);
TunerTests.cs (7)
32
var context = new
MLContext
(1);
73
var context = new
MLContext
(1);
167
var context = new
MLContext
(1);
202
var context = new
MLContext
(1);
237
var context = new
MLContext
(1);
291
var context = new
MLContext
(1);
341
var context = new
MLContext
(1);
UserInputValidationTests.cs (7)
105
var context = new
MLContext
(1);
127
var context = new
MLContext
(1);
150
var context = new
MLContext
(1);
279
var dataViewBuilder = new ArrayDataViewBuilder(new
MLContext
(1));
324
var dataViewBuilder = new ArrayDataViewBuilder(new
MLContext
(1));
348
var mlContext = new
MLContext
(1);
374
var dataViewBuilder = new ArrayDataViewBuilder(new
MLContext
(1));
Utils\MLNetUtils\DataViewTestFixture.cs (1)
25
var dataBuilder = new ArrayDataViewBuilder(new
MLContext
(1));
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
41
var mlContext = new
MLContext
();
Microsoft.ML.CodeGenerator.Tests (61)
ApprovalTests\ConsoleCodeGeneratorTests.cs (4)
544
MLContext context = new
MLContext
();
600
MLContext context = new
MLContext
();
637
MLContext context = new
MLContext
();
1095
MLContext context = new
MLContext
();
CodeGenTests.cs (5)
26
var context = new
MLContext
();
46
var context = new
MLContext
();
67
var context = new
MLContext
();
81
var context = new
MLContext
();
121
var context = new
MLContext
();
TrainerGeneratorTests.cs (39)
28
var context = new
MLContext
();
56
var context = new
MLContext
();
77
var context = new
MLContext
();
100
var context = new
MLContext
();
117
var context = new
MLContext
();
137
var context = new
MLContext
();
154
var context = new
MLContext
();
174
var context = new
MLContext
();
191
var context = new
MLContext
();
211
var context = new
MLContext
();
228
var context = new
MLContext
();
248
var context = new
MLContext
();
265
var context = new
MLContext
();
285
var context = new
MLContext
();
299
var context = new
MLContext
();
325
var context = new
MLContext
();
342
var context = new
MLContext
();
362
var context = new
MLContext
();
379
var context = new
MLContext
();
399
var context = new
MLContext
();
416
var context = new
MLContext
();
436
var context = new
MLContext
();
453
var context = new
MLContext
();
473
var context = new
MLContext
();
490
var context = new
MLContext
();
510
var context = new
MLContext
();
527
var context = new
MLContext
();
548
var context = new
MLContext
();
565
var context = new
MLContext
();
586
var context = new
MLContext
();
603
var context = new
MLContext
();
624
var context = new
MLContext
();
641
var context = new
MLContext
();
662
var context = new
MLContext
();
678
var context = new
MLContext
();
699
var context = new
MLContext
();
716
var context = new
MLContext
();
737
var context = new
MLContext
();
754
var context = new
MLContext
();
TransformGeneratorTests.cs (11)
24
var context = new
MLContext
();
38
var context = new
MLContext
();
52
var context = new
MLContext
();
66
var context = new
MLContext
();
80
var context = new
MLContext
();
94
var context = new
MLContext
();
108
var context = new
MLContext
();
122
var context = new
MLContext
();
136
var context = new
MLContext
();
150
var context = new
MLContext
();
164
var context = new
MLContext
();
UtilTest.cs (2)
130
var context = new
MLContext
();
165
var context = new
MLContext
();
Microsoft.ML.Core.Tests (14)
UnitTests\TestContracts.cs (1)
51
var env = new
MLContext
(1);
UnitTests\TestEarlyStoppingCriteria.cs (1)
20
var env = new
MLContext
(1)
UnitTests\TestEntryPoints.cs (7)
744
var mlContext = new
MLContext
(1);
892
var mlContext = new
MLContext
(1);
1053
var mlContext = new
MLContext
(1);
1196
var mlContext = new
MLContext
(1);
1343
var mlContext = new
MLContext
(1);
1359
var mlContext = new
MLContext
(1);
6582
var ml = new
MLContext
(1);
UnitTests\TestHosts.cs (3)
27
IHostEnvironment env = new
MLContext
(seed: 42);
92
IHostEnvironment env = new
MLContext
(seed: 42);
127
var env = new
MLContext
(1);
UnitTests\TestModelLoad.cs (2)
26
var env = new
MLContext
(1).AddStandardComponents();
44
var env = new
MLContext
(1).AddStandardComponents();
Microsoft.ML.Fairlearn (1)
Metrics\FairlearnMetricCatalog.cs (1)
153
private readonly MLContext _context = new
MLContext
();
Microsoft.ML.Fairlearn.Tests (3)
GridSearchTest.cs (2)
26
var context = new
MLContext
();
82
var context = new
MLContext
();
MetricTest.cs (1)
18
mlContext = new
MLContext
();
Microsoft.ML.IntegrationTests (73)
DataIO.cs (5)
33
var mlContext = new
MLContext
(seed: 1);
47
var mlContext = new
MLContext
(seed: 1);
68
var mlContext = new
MLContext
(seed: 1);
90
var mlContext = new
MLContext
(seed: 1);
109
var mlContext = new
MLContext
(seed: 1);
DataTransformation.cs (5)
29
var mlContext = new
MLContext
(seed: 1);
82
var mlContext = new
MLContext
(seed: 1);
130
var mlContext = new
MLContext
(seed: 1);
166
var mlContext = new
MLContext
(seed: 1);
193
var mlContext = new
MLContext
(seed: 1);
Debugging.cs (4)
38
var mlContext = new
MLContext
(seed: 1);
101
var mlContext = new
MLContext
(seed: 1);
130
var mlContext = new
MLContext
(seed: 1);
164
var mlContext = new
MLContext
(seed: 1);
Evaluation.cs (10)
28
var mlContext = new
MLContext
(seed: 1);
58
var mlContext = new
MLContext
(seed: 1);
87
var mlContext = new
MLContext
(seed: 1);
116
var mlContext = new
MLContext
(seed: 1);
144
var mlContext = new
MLContext
(seed: 1);
194
var mlContext = new
MLContext
(seed: 1);
209
var mlContext = new
MLContext
(seed: 1);
227
var mlContext = new
MLContext
(seed: 1);
265
var mlContext = new
MLContext
(seed: 1);
293
var mlContext = new
MLContext
(seed: 1);
Explainability.cs (8)
32
var mlContext = new
MLContext
(seed: 1);
90
var mlContext = new
MLContext
(seed: 1);
114
var mlContext = new
MLContext
(seed: 1);
141
var mlContext = new
MLContext
(seed: 1);
168
var mlContext = new
MLContext
(seed: 1);
205
var mlContext = new
MLContext
(seed: 1);
242
var mlContext = new
MLContext
(seed: 1);
280
var mlContext = new
MLContext
(seed: 1);
IntrospectiveTraining.cs (9)
32
var mlContext = new
MLContext
(seed: 1);
73
var mlContext = new
MLContext
(seed: 1);
134
var mlContext = new
MLContext
(seed: 1);
175
var mlContext = new
MLContext
(seed: 1);
217
var mlContext = new
MLContext
(seed: 1);
255
var mlContext = new
MLContext
(seed: 1);
286
var mlContext = new
MLContext
(seed: 1);
329
var mlContext = new
MLContext
(seed: 1);
387
var mlContext = new
MLContext
(seed: 1);
ModelFiles.cs (10)
42
var mlContext = new
MLContext
(seed: 1);
89
var mlContext = new
MLContext
(seed: 1);
132
var mlContext = new
MLContext
(1);
238
var mlContext = new
MLContext
(1);
265
var mlContext = new
MLContext
(1);
322
var mlContext = new
MLContext
(1);
355
var mlContext = new
MLContext
(1);
384
var mlContext = new
MLContext
(1);
422
var mlContext = new
MLContext
(1);
455
var mlContext = new
MLContext
(1);
ONNX.cs (3)
34
var mlContext = new
MLContext
(seed: 1);
84
var mlContext = new
MLContext
(seed: 1);
136
var mlContext = new
MLContext
(seed: 1);
Prediction.cs (3)
38
var mlContext = new
MLContext
(seed: 1);
81
var mlContext = new
MLContext
(seed: 1);
104
var mlContext = new
MLContext
(seed: 1);
SchemaDefinitionTests.cs (1)
26
_ml = new
MLContext
(42);
Training.cs (11)
29
var mlContext = new
MLContext
(seed: 1);
83
var mlContext = new
MLContext
(seed: 1);
127
var mlContext = new
MLContext
(seed: 1);
171
var mlContext = new
MLContext
(seed: 1);
215
var mlContext = new
MLContext
(seed: 1);
259
var mlContext = new
MLContext
(seed: 1);
309
var mlContext = new
MLContext
(seed: 1);
353
var mlContext = new
MLContext
(seed: 1);
397
var mlContext = new
MLContext
(seed: 1);
446
var mlContext = new
MLContext
(seed: 1);
477
var mlContext = new
MLContext
(seed: 1);
Validation.cs (4)
35
var mlContext = new
MLContext
(seed: 1);
67
var mlContext = new
MLContext
(1);
101
var mlContext = new
MLContext
(seed: 1);
151
var mlContext = new
MLContext
(1);
Microsoft.ML.OnnxTransformerTest (5)
DnnImageFeaturizerTest.cs (1)
98
var env = new
MLContext
(null);
OnnxTransformTests.cs (4)
243
var env = new
MLContext
(1);
294
var env = new
MLContext
(1);
528
var mlContext = new
MLContext
(1);
554
var mlContext = new
MLContext
(seed: 1);
Microsoft.ML.PerformanceTests (16)
BenchmarkBase.cs (1)
44
var mlContext = new
MLContext
(1);
CacheDataViewBench.cs (1)
30
var ctx = new
MLContext
(1);
FeaturizeTextBench.cs (1)
28
_mlContext = new
MLContext
(seed: 1);
HashBench.cs (1)
74
private readonly MLContext _env = new
MLContext
(1);
Helpers\EnvironmentFactory.cs (2)
20
var ctx = new
MLContext
(1);
36
var ctx = new
MLContext
(1);
ImageClassificationBench.cs (1)
31
_mlContext = new
MLContext
(seed: 1);
KMeansAndLogisticRegressionBench.cs (1)
21
var ml = new
MLContext
(seed: 1);
PredictionEngineBench.cs (3)
38
var env = new
MLContext
(seed: 1);
77
var mlContext = new
MLContext
(seed: 1);
112
var env = new
MLContext
(seed: 1);
RffTransform.cs (1)
31
var mlContext = new
MLContext
(1);
ShuffleRowsBench.cs (1)
26
_context = new
MLContext
();
StochasticDualCoordinateAscentClassifierBench.cs (1)
24
private 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)
101
var env = new
MLContext
(seed: 42);
111
var env = new
MLContext
(seed: 42);
CmdLine\CmdLineReverseTest.cs (2)
25
var env = new
MLContext
(seed: 42);
84
var ml = new
MLContext
(1);
TestGamPublicInterfaces.cs (1)
24
var mlContext = new
MLContext
(seed: 1);
TestIniModels.cs (2)
518
var mlContext = new
MLContext
(seed: 0);
557
var mlContext = new
MLContext
(seed: 0);
Microsoft.ML.Samples (216)
Dynamic\DataOperations\BootstrapSample.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\DataOperations\Cache.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\DataOperations\CrossValidationSplit.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\DataOperations\DataViewEnumerable.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\DataOperations\FilterRowsByColumn.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\DataOperations\FilterRowsByMissingValues.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\DataOperations\LoadFromEnumerable.cs (1)
22
var mlContext = new
MLContext
();
Dynamic\DataOperations\LoadingSvmLight.cs (1)
44
var mlContext = new
MLContext
();
Dynamic\DataOperations\LoadingText.cs (1)
42
var mlContext = new
MLContext
();
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\DataOperations\ShuffleRows.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\DataOperations\SkipRows.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\DataOperations\TakeRows.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\DataOperations\TrainTestSplit.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\ModelOperations\OnnxConversion.cs (1)
36
var mlContext = new
MLContext
(seed: 0);
Dynamic\ModelOperations\SaveLoadModel.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\NgramExtraction.cs (1)
14
var ml = new
MLContext
();
Dynamic\SimpleDataViewImplementation.cs (1)
35
var mlContext = new
MLContext
();
Dynamic\TensorFlow\ImageClassification.cs (1)
37
var mlContext = new
MLContext
();
Dynamic\TensorFlow\TextClassification.cs (1)
21
var mlContext = new
MLContext
();
Dynamic\TextTransform.cs (1)
15
var ml = new
MLContext
();
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
16
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
19
var mlContext = new
MLContext
();
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
15
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
16
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Clustering\KMeans.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
41
MLContext mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
23
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
15
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
18
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Ranking\FastTree.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Ranking\LightGbm.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
15
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
17
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (1)
24
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
25
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
29
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastForest.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastTree.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\Gam.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
19
var mlContext = new
MLContext
();
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\LightGbm.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
21
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
25
var mlContext = new
MLContext
(seed: 3);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
25
var mlContext = new
MLContext
(seed: 3);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
15
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
17
var mlContext = new
MLContext
(seed: 1);
Dynamic\Trainers\Regression\Sdca.cs (1)
17
var mlContext = new
MLContext
(seed: 0);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
18
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\ApplyOnnxModel.cs (1)
20
var mlContext = new
MLContext
();
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (1)
22
var mlContext = new
MLContext
();
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Transforms\CalculateFeatureContribution.cs (1)
15
var mlContext = new
MLContext
(seed: 1);
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
12
var mlContext = new
MLContext
();
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
12
var mlContext = new
MLContext
();
Dynamic\Transforms\Concatenate.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\ConvertType.cs (1)
11
var mlContext = new
MLContext
(seed: 1);
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (1)
17
var mlContext = new
MLContext
(seed: 1);
Dynamic\Transforms\Conversion\Hash.cs (1)
14
var mlContext = new
MLContext
(seed: 1);
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
16
var mlContext = new
MLContext
(seed: 1);
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (1)
20
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (1)
19
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\Conversion\MapKeyToVector.cs (1)
19
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (1)
19
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapValue.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapValueToArray.cs (1)
19
var mlContext = new
MLContext
();
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\CopyColumns.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\CustomMapping.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
20
var mlContext = new
MLContext
();
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
23
var mlContext = new
MLContext
();
Dynamic\Transforms\DropColumns.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Expression.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
12
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (1)
22
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\IndicateMissingValues.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeBinning.cs (1)
18
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeLogMeanVariance.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeLpNorm.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeMeanVariance.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeMinMax.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\NormalizeSupervisedBinning.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
18
var ml = new
MLContext
();
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
17
var ml = new
MLContext
();
Dynamic\Transforms\ReplaceMissingValues.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\SelectColumns.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\StatefulCustomMapping.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\FeaturizeText.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\NormalizeText.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (1)
14
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\RemoveStopWords.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\Text\TokenizeIntoWords.cs (1)
13
var mlContext = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
19
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (1)
15
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
22
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (1)
18
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
22
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
16
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
23
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (1)
21
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
19
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (1)
17
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
15
var mlContext = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
20
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (1)
18
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
17
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
17
var ml = new
MLContext
();
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
16
var mlContext = new
MLContext
();
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (1)
17
var mlContext = new
MLContext
();
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
20
var mlContext = new
MLContext
(seed: 0);
Dynamic\WithOnFitDelegate.cs (1)
18
var mlContext = new
MLContext
();
Microsoft.ML.Samples.GPU (6)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
37
var mlContext = new
MLContext
();
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
21
var mlContext = new
MLContext
();
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
41
MLContext mlContext = new
MLContext
(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
35
MLContext mlContext = new
MLContext
(seed: 1);
Microsoft.ML.Samples.OneDal (1)
Program.cs (1)
165
var mlContext = new
MLContext
(seed: 42);
Microsoft.ML.Sweeper.Tests (12)
SweeperTest.cs (2)
22
var env = new
MLContext
(42);
39
var env = new
MLContext
(42);
TestSweeper.cs (10)
93
var env = new
MLContext
(42);
133
var env = new
MLContext
(42);
183
var env = new
MLContext
(42);
233
var env = new
MLContext
(42);
301
var env = new
MLContext
(42);
353
var env = new
MLContext
(42);
431
var env = new
MLContext
(42);
541
var env = new
MLContext
(42);
597
var env = new
MLContext
(42);
645
var env = new
MLContext
(42);
Microsoft.ML.TensorFlow.Tests (5)
TensorFlowEstimatorTests.cs (4)
150
var mlContext = new
MLContext
(seed: 1);
192
var mlContext = new
MLContext
(seed: 1);
238
var mlContext = new
MLContext
(seed: 1);
286
MLContext context = new
MLContext
(seed: 1);
TensorflowTests.cs (1)
64
private MLContext _mlContext = new
MLContext
(seed: 1);
Microsoft.ML.TestFramework (4)
BaseTestBaseline.cs (1)
109
ML = new
MLContext
(42);
TestCommandBase.cs (1)
532
var env = new
MLContext
(seed: 42);
TestSparseDataView.cs (2)
50
var env = new
MLContext
(1);
90
var env = new
MLContext
(1);
Microsoft.ML.Tests (216)
AnomalyDetectionTests.cs (3)
59
var mlContext = new
MLContext
(seed: 0);
89
var mlContext = new
MLContext
(seed: 0);
262
var mlContext = new
MLContext
(seed: 0);
CollectionsDataViewTest.cs (9)
159
var env = new
MLContext
(1);
181
var env = new
MLContext
(1);
233
var env = new
MLContext
(1);
259
var env = new
MLContext
(1);
313
var env = new
MLContext
(1);
343
var env = new
MLContext
(1);
394
var env = new
MLContext
(1);
445
var env = new
MLContext
(1);
482
var env = new
MLContext
(1);
DatabaseLoaderTests.cs (6)
52
var mlContext = new
MLContext
(seed: 1);
97
var mlContext = new
MLContext
(seed: 1);
133
var mlContext = new
MLContext
(seed: 1);
165
var mlContext = new
MLContext
(seed: 1);
197
var mlContext = new
MLContext
(seed: 1);
257
var mlContext = new
MLContext
(seed: 1);
EvaluateTests.cs (1)
33
var mlContext = new
MLContext
(seed: 1);
ImagesTests.cs (17)
31
var env = new
MLContext
(1);
62
IHostEnvironment env = new
MLContext
(1);
106
var env = new
MLContext
(1);
138
var env = new
MLContext
(1);
173
IHostEnvironment env = new
MLContext
(1);
332
IHostEnvironment env = new
MLContext
(1);
407
IHostEnvironment env = new
MLContext
(1);
483
IHostEnvironment env = new
MLContext
(1);
558
IHostEnvironment env = new
MLContext
(1);
633
IHostEnvironment env = new
MLContext
(1);
708
IHostEnvironment env = new
MLContext
(1);
784
IHostEnvironment env = new
MLContext
(1);
859
IHostEnvironment env = new
MLContext
(1);
935
IHostEnvironment env = new
MLContext
(1);
1009
var env = new
MLContext
(1);
1085
var mlContext = new
MLContext
(0);
1177
var mlContext = new
MLContext
(seed: 1);
OnnxConversionTest.cs (39)
70
var mlContext = new
MLContext
(seed: 1);
145
var mlContext = new
MLContext
(seed: 1);
178
var mlContext = new
MLContext
(seed: 1);
219
var mlContext = new
MLContext
(seed: 1);
260
var mlContext = new
MLContext
(seed: 1);
384
var mlContext = new
MLContext
(seed: 1);
413
var mlContext = new
MLContext
(seed: 1);
464
var mlContext = new
MLContext
(seed: 1);
497
var env = new
MLContext
(1);
566
var mlContext = new
MLContext
(seed: 1);
597
var mlContext = new
MLContext
(seed: 1);
621
var mlContext = new
MLContext
(seed: 1);
766
var mlContext = new
MLContext
(seed: 1);
785
var mlContext = new
MLContext
(seed: 1);
848
var mlContext = new
MLContext
(seed: 1);
868
var mlContext = new
MLContext
(seed: 1);
940
var mlContext = new
MLContext
(seed: 1);
966
var mlContext = new
MLContext
(seed: 1);
1001
var mlContext = new
MLContext
();
1059
var mlContext = new
MLContext
();
1098
var mlContext = new
MLContext
();
1152
var mlContext = new
MLContext
(seed: 1);
1188
var mlContext = new
MLContext
(seed: 1);
1226
var mlContext = new
MLContext
(seed: 1);
1391
var mlContext = new
MLContext
(seed: 1);
1437
var mlContext = new
MLContext
(seed: 1);
1464
var mlContext = new
MLContext
(seed: 1);
1539
var mlContext = new
MLContext
();
1563
var mlContext = new
MLContext
();
1599
var mlContext = new
MLContext
(seed: 1);
1644
var mlContext = new
MLContext
(seed: 1);
1698
var mlContext = new
MLContext
(seed: 1);
1716
var mlContext = new
MLContext
(seed: 1);
1761
var mlContext = new
MLContext
();
1843
var mlContext = new
MLContext
(seed: 1);
1882
var mlContext = new
MLContext
(seed: 1);
1930
var mlContext = new
MLContext
(seed: 1);
1971
var mlContext = new
MLContext
(seed: 1);
2022
var mlContext = new
MLContext
();
OnnxSequenceTypeWithAttributesTest.cs (2)
43
var ctx = new
MLContext
(1);
82
var ctx = new
MLContext
(1);
PermutationFeatureImportanceTests.cs (40)
52
ML = new
MLContext
(42);
53
var ml2 = new
MLContext
(42);
61
ML = new
MLContext
(42);
62
var ml2 = new
MLContext
(42);
126
ML = new
MLContext
(42);
127
var ml2 = new
MLContext
(42);
135
ML = new
MLContext
(42);
136
var ml2 = new
MLContext
(42);
194
ML = new
MLContext
(42);
195
var ml2 = new
MLContext
(42);
203
ML = new
MLContext
(42);
204
var ml2 = new
MLContext
(42);
282
ML = new
MLContext
(42);
283
var ml2 = new
MLContext
(42);
291
ML = new
MLContext
(42);
292
var ml2 = new
MLContext
(42);
357
ML = new
MLContext
(42);
358
var ml2 = new
MLContext
(42);
366
ML = new
MLContext
(42);
367
var ml2 = new
MLContext
(42);
431
ML = new
MLContext
(42);
432
var ml2 = new
MLContext
(42);
440
ML = new
MLContext
(42);
441
var ml2 = new
MLContext
(42);
539
ML = new
MLContext
(42);
540
var ml2 = new
MLContext
(42);
548
ML = new
MLContext
(42);
549
var ml2 = new
MLContext
(42);
612
ML = new
MLContext
(42);
613
var ml2 = new
MLContext
(42);
621
ML = new
MLContext
(42);
622
var ml2 = new
MLContext
(42);
691
ML = new
MLContext
(0);
692
var ml2 = new
MLContext
(0);
700
ML = new
MLContext
(0);
701
var ml2 = new
MLContext
(0);
759
ML = new
MLContext
(42);
760
var ml2 = new
MLContext
(42);
768
ML = new
MLContext
(42);
769
var ml2 = new
MLContext
(42);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (16)
38
var mlContext = new
MLContext
(1);
76
var mlContext = new
MLContext
();
147
var mlContext = new
MLContext
(1);
215
var mlContext = new
MLContext
(1);
274
var mlContext = new
MLContext
(1);
301
var mlContext = new
MLContext
(1);
332
var context = new
MLContext
(1);
372
var context = new
MLContext
(1);
407
var context = new
MLContext
(1);
443
var context = new
MLContext
(1);
501
var mlContext = new
MLContext
(1);
570
var mlContext = new
MLContext
(1);
633
var mlContext = new
MLContext
(1);
682
var mlContext = new
MLContext
(1);
705
var mlContext = new
MLContext
(1);
755
var newContext = new
MLContext
(1);
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
29
var ml = new
MLContext
(1);
Scenarios\Api\Estimators\Extensibility.cs (1)
29
var ml = new
MLContext
(1);
Scenarios\Api\Estimators\MultithreadedPrediction.cs (1)
27
var ml = new
MLContext
(seed: 1);
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
27
var ml = new
MLContext
(1);
75
var mlContext = new
MLContext
(seed: 1);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (2)
25
var ml = new
MLContext
(seed: 1);
62
var ml = new
MLContext
(seed: 1);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
23
var ml = new
MLContext
(seed: 1);
Scenarios\Api\TestApi.cs (7)
66
var env = new
MLContext
(seed: 0);
151
var env = new
MLContext
(seed: 42);
173
var mlContext = new
MLContext
(0);
200
var mlContext = new
MLContext
(0);
298
var mlContext = new
MLContext
(0);
346
var mlContext = new
MLContext
(0);
418
var mlContext = new
MLContext
(0);
Scenarios\ClusteringTests.cs (1)
57
var mlContext = new
MLContext
(seed: 1);
Scenarios\GetColumnTests.cs (2)
28
var mlContext = new
MLContext
(1);
70
var mlContext = new
MLContext
(1);
Scenarios\IrisPlantClassificationTests.cs (1)
20
var mlContext = new
MLContext
(seed: 1);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
16
var mlContext = new
MLContext
(seed: 1);
Scenarios\OvaTest.cs (4)
21
var mlContext = new
MLContext
(seed: 1);
54
var mlContext = new
MLContext
(seed: 1);
90
var mlContext = new
MLContext
(seed: 1);
125
var mlContext = new
MLContext
(seed: 1);
Scenarios\RegressionTest.cs (1)
15
var context = new
MLContext
();
Scenarios\WordBagTest.cs (2)
16
var mlContext = new
MLContext
(1);
53
var mlContext = new
MLContext
(1);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
18
var mlContext = new
MLContext
(seed: 1);
TextLoaderTests.cs (15)
583
var mlContext = new
MLContext
(seed: 1);
591
var mlContext = new
MLContext
(seed: 1);
609
var mlContext = new
MLContext
(seed: 1);
733
var mlContext = new
MLContext
(1);
813
var mlContext = new
MLContext
(1);
832
var mlContext = new
MLContext
(1);
890
var mlContext = new
MLContext
(seed: 1);
984
var mlContext = new
MLContext
(seed: 1);
1036
var mlContext = new
MLContext
(seed: 1);
1183
var mlContext = new
MLContext
(1);
1241
var mlContext = new
MLContext
(seed: 1);
1253
var mlContext = new
MLContext
(seed: 1);
1268
var mlContext = new
MLContext
(seed: 1);
1373
var mlContext = new
MLContext
(seed: 1);
1424
var mlContext = new
MLContext
(seed: 1);
TrainerEstimators\CalibratorEstimators.cs (1)
150
var mlContext = new
MLContext
(0);
TrainerEstimators\FAFMEstimator.cs (2)
21
var mlContext = new
MLContext
(seed: 0);
42
var mlContext = new
MLContext
(seed: 0);
TrainerEstimators\MatrixFactorizationTests.cs (8)
59
var mlContext = new
MLContext
(seed: 1);
216
var mlContext = new
MLContext
(seed: 1);
327
var mlContext = new
MLContext
(seed: 1);
447
var mlContext = new
MLContext
(seed: 1);
534
var mlContext = new
MLContext
(seed: 1);
591
var mlContext = new
MLContext
(seed: 1);
647
var mlContext = new
MLContext
(seed: 0);
774
var mlContext = new
MLContext
(seed: 1);
TrainerEstimators\SdcaTests.cs (6)
64
var mlContext = new
MLContext
(1);
108
var mlContext = new
MLContext
(0);
164
var mlContext = new
MLContext
(0);
223
var mlContext = new
MLContext
(1);
265
var mlContext = new
MLContext
(1);
300
var mlContext = new
MLContext
(1);
TrainerEstimators\TreeEstimators.cs (5)
460
var mlContext = new
MLContext
(seed: 0);
742
var mlContext = new
MLContext
(seed: 0);
1025
var context = new
MLContext
(seed: 1);
1071
var context = new
MLContext
(seed: 1);
1099
var context = new
MLContext
(seed: 1);
Transformers\CategoricalTests.cs (2)
107
var mlContext = new
MLContext
(1);
130
var mlContext = new
MLContext
(1);
Transformers\ConvertTests.cs (1)
283
var mlContext = new
MLContext
(1);
Transformers\CopyColumnEstimatorTests.cs (6)
48
var env = new
MLContext
(1);
60
var env = new
MLContext
(1);
78
var env = new
MLContext
(1);
97
var env = new
MLContext
(1);
115
var env = new
MLContext
(1);
134
var env = new
MLContext
(1);
Transformers\CustomMappingTests.cs (2)
66
var tempoEnv = new
MLContext
(1);
179
var tempoEnv = new
MLContext
();
Transformers\KeyToVectorEstimatorTests.cs (1)
252
MLContext mlContext = new
MLContext
(1);
Transformers\NormalizerTests.cs (1)
222
var context = new
MLContext
(seed: 0);
Transformers\TextFeaturizerTests.cs (2)
671
IHostEnvironment env = new
MLContext
(seed: 42);
719
var ml = new
MLContext
(1);
Transformers\WordBagTransformerTests.cs (3)
28
var mlContext = new
MLContext
(1);
57
var mlContext = new
MLContext
(1);
85
var mlContext = new
MLContext
(1);
Microsoft.ML.TimeSeries.Tests (24)
TimeSeriesDirectApi.cs (19)
110
var env = new
MLContext
(1);
151
var env = new
MLContext
(1);
215
var ml = new
MLContext
(seed: 1);
291
var ml = new
MLContext
(seed: 1);
354
var env = new
MLContext
(1);
424
var ml = new
MLContext
(seed: 1);
532
var ml = new
MLContext
(1);
588
var ml = new
MLContext
(1);
678
var ml = new
MLContext
(1);
725
var ml = new
MLContext
(1);
780
var ml = new
MLContext
(1);
839
var ml = new
MLContext
(1);
896
var ml = new
MLContext
(1);
960
var ml = new
MLContext
(1);
987
var ml = new
MLContext
(1);
1037
var ml = new
MLContext
(1);
1074
var mlContext = new
MLContext
();
1187
var ml = new
MLContext
(1);
1221
var ml = new
MLContext
(1);
TimeSeriesEstimatorTests.cs (1)
87
var ml = new
MLContext
(seed: 1);
TimeSeriesSimpleApiTests.cs (4)
41
var env = new
MLContext
(1);
79
var env = new
MLContext
(1);
123
var env = new
MLContext
(1);
173
var env = new
MLContext
(1);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
171
var mlContext = new
MLContext
();
1109 references to MLContext
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
31
var
mlContext = new MLContext();
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
346
var
mlContext = new MLContext();
448
var
mlContext = new MLContext();
Microsoft.Extensions.ML (10)
MLOptions.cs (4)
16
private
MLContext
_context;
28
public
MLContext
MLContext
43
private readonly ILogger<
MLContext
> _logger;
49
public PostMLContextOptionsConfiguration(ILogger<
MLContext
> logger)
ModelLoaders\FileModelLoader.cs (1)
24
private readonly
MLContext
_context;
ModelLoaders\UriModelLoader.cs (1)
23
private readonly
MLContext
_context;
PoolLoader.cs (1)
39
private
MLContext
Context { get; }
PredictionEnginePoolPolicy.cs (3)
19
private readonly
MLContext
_mlContext;
26
/// <see cref="
MLContext
"/> used to load the model.
29
public PredictionEnginePoolPolicy(
MLContext
mlContext, ITransformer model)
Microsoft.Extensions.ML.Tests (1)
FileLoaderTests.cs (1)
51
var
context = sp.GetRequiredService<IOptions<MLOptions>>().Value.MLContext;
Microsoft.ML.AutoML (248)
API\AutoCatalog.cs (4)
23
private readonly
MLContext
_context;
25
internal AutoCatalog(
MLContext
context)
301
public SweepableEstimator CreateSweepableEstimator<T>(Func<
MLContext
, T, IEstimator<ITransformer>> factory, SearchSpace<T> ss = null)
304
return new SweepableEstimator((
MLContext
context, Parameter param) => factory(context, param.AsType<T>()), ss);
API\AutoMLExperimentExtension.cs (2)
232
var
context = service.GetRequiredService<
MLContext
>();
API\BinaryClassificationExperiment.cs (3)
147
internal BinaryClassificationExperiment(
MLContext
context, BinaryExperimentSettings settings)
358
private
MLContext
_context;
388
var
refitContext = _contextManager.CreateMLContext();
API\ExperimentBase.cs (2)
22
private protected readonly
MLContext
Context;
31
internal ExperimentBase(
MLContext
context,
API\ExperimentSettings.cs (1)
50
/// <value>The default value is the directory named "Microsoft.ML.AutoML" in the in the location specified by the <see cref="
MLContext
.TempFilePath"/>.</value>
API\MLContextExtension.cs (3)
8
/// Class containing AutoML extension methods to <see cref="
MLContext
"/>
15
/// <param name="mlContext"><see cref="
MLContext
"/> instance.</param>
17
public static AutoCatalog Auto(this
MLContext
mlContext)
API\MulticlassClassificationExperiment.cs (3)
131
internal MulticlassClassificationExperiment(
MLContext
context, MulticlassExperimentSettings settings)
343
private
MLContext
_context;
366
var
refitContext = _contextManager.CreateMLContext();
API\Pipeline.cs (1)
25
public IEstimator<ITransformer> ToEstimator(
MLContext
context)
API\RankingExperiment.cs (1)
119
internal RankingExperiment(
MLContext
context, RankingExperimentSettings settings)
API\RecommendationExperiment.cs (1)
58
internal RecommendationExperiment(
MLContext
context, RecommendationExperimentSettings settings)
API\RegressionExperiment.cs (3)
126
internal RegressionExperiment(
MLContext
context, RegressionExperimentSettings settings)
363
private
MLContext
_context;
393
var
refitContext = _contextManager.CreateMLContext();
AutoMLExperiment\AutoMLExperiment.cs (4)
35
private readonly
MLContext
_context;
40
public AutoMLExperiment(
MLContext
context, AutoMLExperimentSettings settings)
64
var
context = contextManager.CreateMLContext();
210
/// Another thing needs to notice is that this function won't immediately return after <paramref name="ct"/> get cancelled. Instead, it will call <see cref="
MLContext
.CancelExecution"/> to cancel all training process
AutoMLExperiment\IDatasetManager.cs (5)
41
IDataView LoadTrainDataset(
MLContext
context, TrialSettings? settings);
43
IDataView LoadValidateDataset(
MLContext
context, TrialSettings? settings);
68
public IDataView LoadTrainDataset(
MLContext
context, TrialSettings? settings)
97
public IDataView LoadValidateDataset(
MLContext
context, TrialSettings? settings)
102
private void InitializeTrainDataset(
MLContext
context)
AutoMLExperiment\IMetricManager.cs (4)
21
double Evaluate(
MLContext
context, IDataView eval);
54
public double Evaluate(
MLContext
context, IDataView eval)
93
public double Evaluate(
MLContext
context, IDataView eval)
128
public double Evaluate(
MLContext
context, IDataView eval)
AutoMLExperiment\IMLContextManager.cs (5)
17
MLContext
CreateMLContext();
25
private readonly
MLContext
_mainContext;
28
public DefaultMLContextManager(
MLContext
mainContext, string? channelName = "ChildContext")
34
public
MLContext
CreateMLContext()
38
var
newContext = new MLContext(seed);
AutoMLExperiment\ITrialResultManager.cs (1)
137
var
context = new MLContext();
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (2)
20
private
MLContext
? _mLContext;
26
public SweepablePipelineRunner(
MLContext
context, SweepablePipeline pipeline, IEvaluateMetricManager metricManager, IDatasetManager datasetManager, IChannel? logger = null)
ColumnInference\ColumnGroupingInference.cs (1)
56
public static GroupingColumn[] InferGroupingAndNames(
MLContext
env, bool hasHeader, ColumnTypeInference.Column[] types, PurposeInference.Column[] purposes)
ColumnInference\ColumnInferenceApi.cs (6)
13
public static ColumnInferenceResults InferColumns(
MLContext
context, string path, uint labelColumnIndex,
31
public static ColumnInferenceResults InferColumns(
MLContext
context, string path, string labelColumn,
38
public static ColumnInferenceResults InferColumns(
MLContext
context, string path, ColumnInformation columnInfo,
47
public static ColumnInferenceResults InferColumns(
MLContext
context, string path, ColumnInformation columnInfo, bool hasHeader,
107
private static TextFileContents.ColumnSplitResult InferSplit(
MLContext
context, TextFileSample sample, char? separatorChar, bool? allowQuotedStrings, bool? supportSparse)
133
private static ColumnTypeInference.InferenceResult InferColumnTypes(
MLContext
context, TextFileSample sample,
ColumnInference\ColumnTypeInference.cs (2)
240
public static InferenceResult InferTextFileColumnTypes(
MLContext
context, IMultiStreamSource fileSource, Arguments args)
245
private static InferenceResult InferTextFileColumnTypesCore(
MLContext
context, IMultiStreamSource fileSource, Arguments args)
ColumnInference\PurposeInference.cs (1)
241
public static PurposeInference.Column[] InferPurposes(
MLContext
context, IDataView data,
ColumnInference\TextFileContents.cs (2)
51
public static ColumnSplitResult TrySplitColumns(
MLContext
context, IMultiStreamSource source, char[] separatorCandidates)
86
private static bool TryParseFile(
MLContext
context, TextLoader.Options options, IMultiStreamSource source,
DatasetDimensions\DatasetDimensionsApi.cs (1)
13
public static ColumnDimensions[] CalcColumnDimensions(
MLContext
context, IDataView data, PurposeInference.Column[] purposes)
EstimatorExtensions\EstimatorExtensions.cs (43)
11
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
16
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string outColumn)
24
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string outColumn)
32
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
37
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
45
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
53
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
58
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
66
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
74
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
79
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
87
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
95
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
100
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string[] outColumns)
108
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string[] outColumns)
122
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
127
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string[] outColumns)
135
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string[] outColumns)
149
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
154
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
162
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
170
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
175
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string[] outColumns)
183
public static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string[] outColumns)
196
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
201
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
206
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string[] outColumns)
214
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string[] outColumns)
227
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
232
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
240
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
248
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
253
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string[] inColumns, string[] outColumns)
261
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string[] inColumns, string[] outColumns)
274
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
279
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
288
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
297
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
302
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
313
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
322
public IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode)
327
public static SuggestedTransform CreateSuggestedTransform(
MLContext
context, string inColumn, string outColumn)
338
private static IEstimator<ITransformer> CreateInstance(
MLContext
context, string inColumn, string outColumn)
EstimatorExtensions\IEstimatorExtension.cs (1)
9
IEstimator<ITransformer> CreateInstance(
MLContext
context, PipelineNode pipelineNode);
Experiment\Experiment.cs (3)
18
private readonly
MLContext
_context;
37
private
MLContext
_currentModelMLContext;
40
public Experiment(
MLContext
context,
Experiment\MetricsAgents\BinaryMetricsAgent.cs (2)
11
private readonly
MLContext
_mlContext;
14
public BinaryMetricsAgent(
MLContext
mlContext,
Experiment\MetricsAgents\MultiMetricsAgent.cs (2)
11
private readonly
MLContext
_mlContext;
14
public MultiMetricsAgent(
MLContext
mlContext,
Experiment\MetricsAgents\RankingMetricsAgent.cs (2)
13
private readonly
MLContext
_mlContext;
17
public RankingMetricsAgent(
MLContext
mlContext, RankingMetric metric, uint optimizationMetricTruncationLevel)
Experiment\MetricsAgents\RegressionMetricsAgent.cs (2)
11
private readonly
MLContext
_mlContext;
14
public RegressionMetricsAgent(
MLContext
mlContext, RegressionMetric optimizingMetric)
Experiment\ModelContainer.cs (3)
11
private readonly
MLContext
_mlContext;
15
internal ModelContainer(
MLContext
mlContext, ITransformer model)
21
internal ModelContainer(
MLContext
mlContext, FileInfo fileInfo, ITransformer model, DataViewSchema modelInputSchema)
Experiment\RecipeInference.cs (1)
15
public static IEnumerable<SuggestedTrainer> AllowedTrainers(
MLContext
mlContext, TaskKind task,
Experiment\Runners\CrossValRunner.cs (2)
15
private readonly
MLContext
_context;
26
public CrossValRunner(
MLContext
context,
Experiment\Runners\CrossValSummaryRunner.cs (2)
17
private readonly
MLContext
_context;
29
public CrossValSummaryRunner(
MLContext
context,
Experiment\Runners\RunnerUtil.cs (1)
14
TrainAndScorePipeline<TMetrics>(
MLContext
context,
Experiment\Runners\TrainValidateRunner.cs (2)
13
private readonly
MLContext
_context;
24
public TrainValidateRunner(
MLContext
context,
Experiment\SuggestedPipeline.cs (4)
22
private readonly
MLContext
_context;
28
MLContext
context,
55
public
MLContext
GetContext()
75
public static SuggestedPipeline FromPipeline(
MLContext
context, Pipeline pipeline)
Experiment\SuggestedPipelineBuilder.cs (2)
12
public static SuggestedPipeline Build(
MLContext
context,
24
private static void AddNormalizationTransforms(
MLContext
context,
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineRunDetail.cs (1)
24
public static SuggestedPipelineRunDetail FromPipelineRunResult(
MLContext
context, PipelineScore pipelineRunResult)
Experiment\SuggestedTrainer.cs (2)
17
private readonly
MLContext
_mlContext;
21
internal SuggestedTrainer(
MLContext
mlContext, ITrainerExtension trainerExtension,
PipelineSuggesters\PipelineSuggester.cs (4)
17
public static Pipeline GetNextPipeline(
MLContext
context,
29
public static SuggestedPipeline GetNextInferredPipeline(
MLContext
context,
120
private static SuggestedPipeline GetNextFirstStagePipeline(
MLContext
context,
194
private static bool SampleHyperparameters(
MLContext
context, SuggestedTrainer trainer,
SweepableEstimator\Estimators\ApplyOnnx.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ApplyOnnxModelOption param)
SweepableEstimator\Estimators\Calibrators.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, NaiveOption param)
SweepableEstimator\Estimators\Concatenate.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ConcatOption param)
SweepableEstimator\Estimators\FastForest.cs (3)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastForestOption param)
29
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastForestOption param)
47
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastForestOption param)
SweepableEstimator\Estimators\FastTree.cs (4)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastTreeOption param)
34
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastTreeOption param)
57
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastTreeOption param)
80
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FastTreeOption param)
SweepableEstimator\Estimators\FeaturizeText.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, FeaturizeTextOption param)
SweepableEstimator\Estimators\ForecastBySsa.cs (1)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SsaOption param)
SweepableEstimator\Estimators\Images.cs (6)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LoadImageOption param)
19
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LoadImageOption param)
27
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ResizeImageOption param)
35
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ExtractPixelsOption param)
43
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ImageClassificationOption param)
60
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, DnnFeaturizerImageOption param)
SweepableEstimator\Estimators\Lbfgs.cs (4)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LbfgsOption param)
29
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LbfgsOption param)
47
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LbfgsOption param)
65
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LbfgsOption param)
SweepableEstimator\Estimators\LightGbm.cs (3)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LgbmOption param)
39
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LgbmOption param)
67
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, LgbmOption param)
SweepableEstimator\Estimators\MapValueToKey.cs (2)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, MapValueToKeyOption param)
17
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, MapKeyToValueOption param)
SweepableEstimator\Estimators\MatrixFactorization.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, MatrixFactorizationOption param)
SweepableEstimator\Estimators\NamedEntityRecognitionMulti.cs (1)
15
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, NamedEntityRecognitionOption param)
SweepableEstimator\Estimators\NormalizeMinMax.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, NormalizeMinMaxOption param)
SweepableEstimator\Estimators\NormalizeText.cs (1)
13
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, NormalizeTextOption param)
SweepableEstimator\Estimators\ObjectDetection.cs (1)
15
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ObjectDetectionOption param)
SweepableEstimator\Estimators\OneHotEncoding.cs (2)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, OneHotOption param)
18
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, OneHotOption param)
SweepableEstimator\Estimators\QuestionAnswering.cs (1)
12
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, QuestionAnsweringOption param)
SweepableEstimator\Estimators\ReplaceMissingValue.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ReplaceMissingValueOption param)
SweepableEstimator\Estimators\Sdca.cs (4)
11
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SdcaOption param)
29
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SdcaOption param)
47
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SdcaOption param)
65
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SdcaOption param)
SweepableEstimator\Estimators\SentenceSimilarity.cs (1)
15
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, SentenceSimilarityOption param)
SweepableEstimator\Estimators\TextClassification.cs (1)
15
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, TextClassificationOption param)
SweepableEstimator\Estimators\TypeConvert.cs (1)
9
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, ConvertTypeOption param)
SweepableEstimator\ISweepable.cs (1)
20
public T BuildFromOption(
MLContext
context, Parameter parameter);
SweepableEstimator\SweepableEstimator.cs (5)
19
private readonly Func<
MLContext
, Parameter, IEstimator<ITransformer>> _factory;
21
public SweepableEstimator(Func<
MLContext
, Parameter, IEstimator<ITransformer>> factory, SearchSpace.SearchSpace ss)
43
public virtual IEstimator<ITransformer> BuildFromOption(
MLContext
context, Parameter param)
60
public abstract IEstimator<ITransformer> BuildFromOption(
MLContext
context, TOption param);
71
public override IEstimator<ITransformer> BuildFromOption(
MLContext
context, Parameter param)
SweepableEstimator\SweepableEstimatorPipeline.cs (1)
75
public EstimatorChain<ITransformer> BuildTrainingPipeline(
MLContext
context, Parameter parameter)
SweepableEstimator\SweepablePipeline.cs (1)
84
public EstimatorChain<ITransformer> BuildFromOption(
MLContext
context, Parameter parameter)
Sweepers\SmacSweeper.cs (2)
70
private readonly
MLContext
_context;
74
public SmacSweeper(
MLContext
context, Arguments args)
TrainerExtensions\BinaryTrainerExtensions.cs (9)
26
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
71
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
93
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
115
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
136
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
157
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
178
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
200
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
222
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
TrainerExtensions\ITrainerExtension.cs (1)
16
ITrainerEstimator CreateInstance(
MLContext
mlContext,
TrainerExtensions\MultiTrainerExtensions.cs (11)
25
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
47
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
67
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
90
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
110
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
133
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
155
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
177
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
199
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
219
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
238
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
TrainerExtensions\RankingTrainerExtensions.cs (2)
21
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
44
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
TrainerExtensions\RecommendationTrainerExtensions.cs (1)
14
public ITrainerEsitmator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
TrainerExtensions\RegressionTrainerExtensions.cs (8)
22
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
44
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
66
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
88
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
109
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
130
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
152
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
174
public ITrainerEstimator CreateInstance(
MLContext
mlContext, IEnumerable<SweepableParam> sweepParams,
TransformInference\TransformInference.cs (13)
126
protected readonly
MLContext
Context;
128
public TransformInferenceExpertBase(
MLContext
context)
134
private static IEnumerable<ITransformInferenceExpert> GetExperts(
MLContext
context)
168
public Label(
MLContext
context) : base(context)
195
public RecommendationColumns(
MLContext
context) : base(context)
218
public GroupId(
MLContext
context) : base(context)
240
public Categorical(
MLContext
context) : base(context)
290
public Boolean(
MLContext
context) : base(context)
318
public Text(
MLContext
context) : base(context)
344
public NumericMissing(
MLContext
context) : base(context)
372
public Image(
MLContext
context) : base(context)
395
public static SuggestedTransform[] InferTransforms(
MLContext
context, TaskKind task, DatasetColumnInfo[] columns)
424
private static SuggestedTransform BuildFinalFeaturesConcatTransform(
MLContext
context, IEnumerable<SuggestedTransform> suggestedTransforms,
TransformInference\TransformInferenceApi.cs (2)
11
public static IEnumerable<SuggestedTransform> InferTransforms(
MLContext
context, TaskKind task, DatasetColumnInfo[] columns)
16
public static IEnumerable<SuggestedTransform> InferTransformsPostTrainer(
MLContext
context, TaskKind task, DatasetColumnInfo[] columns)
TransformInference\TransformPostTrainerInference.cs (2)
13
public static IEnumerable<SuggestedTransform> InferTransforms(
MLContext
context, TaskKind task, DatasetColumnInfo[] columns)
20
private static IEnumerable<SuggestedTransform> InferLabelTransforms(
MLContext
context, TaskKind task,
Tuner\SmacTuner.cs (2)
25
private readonly
MLContext
_context;
58
public SmacTuner(
MLContext
context,
Utils\BestResultUtil.cs (2)
99
public static RunDetail<TMetrics> ToRunDetail<TMetrics>(
MLContext
context, TrialResult<TMetrics> result, SweepablePipeline pipeline)
111
public static CrossValidationRunDetail<TMetrics> ToCrossValidationRunDetail<TMetrics>(
MLContext
context, TrialResult<TMetrics> result, SweepablePipeline pipeline)
Utils\DatasetColumnInfo.cs (1)
27
public static DatasetColumnInfo[] GetDatasetColumnInfo(
MLContext
context, IDataView data, ColumnInformation columnInfo)
Utils\Logger.cs (1)
15
public AutoMLLogger(
MLContext
context)
Utils\SplitUtil.cs (3)
13
public static (IDataView[] trainDatasets, IDataView[] validationDatasets) CrossValSplit(
MLContext
context,
49
public static (IDataView trainData, IDataView validationData) TrainValidateSplit(
MLContext
context, IDataView trainData,
59
public static IDataView DropAllColumnsExcept(
MLContext
context, IDataView data, IEnumerable<string> columnsToKeep)
Microsoft.ML.AutoML.Samples (8)
AutoFit\BinaryClassificationExperiment.cs (1)
18
MLContext
mlContext = new MLContext();
AutoFit\MulticlassClassificationExperiment.cs (1)
19
MLContext
mlContext = new MLContext();
AutoFit\RankingExperiment.cs (1)
22
MLContext
mlContext = new MLContext();
AutoFit\RecommendationExperiment.cs (1)
25
MLContext
mlContext = new MLContext();
AutoFit\RegressionExperiment.cs (1)
19
MLContext
mlContext = new MLContext();
AutoMLExperiment.cs (1)
20
var
context = new MLContext(seed);
Cifar10.cs (1)
28
var
context = new MLContext();
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
32
var
context = new MLContext(seed);
Microsoft.ML.AutoML.Tests (93)
AutoFeaturizerTests.cs (6)
46
var
context = new MLContext(1);
58
var
context = new MLContext(1);
70
var
context = new MLContext(1);
83
var
context = new MLContext(1);
94
var
context = new MLContext(1);
106
var
context = new MLContext(1);
AutoFitTests.cs (16)
44
var
context = new MLContext(1);
70
var
context = new MLContext(1);
97
var
context = new MLContext(1);
124
var
context = new MLContext(1);
152
var
context = new MLContext(1);
183
var
context = new MLContext(1);
213
var
context = new MLContext(1);
259
var
context = new MLContext(0);
332
var
context = new MLContext(seed: 1);
359
var
context = new MLContext(seed: 1);
382
var
context = new MLContext(1);
415
var
mlContext = new MLContext(1);
478
var
mlContext = new MLContext(1);
520
MLContext
mlContext = new MLContext(1);
584
var
context = new MLContext(1);
648
var
context = new MLContext(1);
AutoMLExperimentTests.cs (15)
35
var
context = new MLContext(1);
65
var
context = new MLContext(1);
95
var
context = new MLContext(1);
121
var
context = new MLContext(1);
154
var
context = new MLContext(1);
185
var
context = new MLContext(1);
212
var
context = new MLContext(1);
237
var
context = new MLContext(1);
262
var
context = new MLContext(1);
287
var
context = new MLContext(1);
314
var
context = new MLContext(1);
341
var
context = new MLContext(1);
379
var
context = new MLContext(1);
398
var
context = new MLContext(1);
418
var
context = new MLContext();
ColumnInferenceTests.cs (5)
32
var
context = new MLContext(1);
47
var
context = new MLContext(1);
107
var
context = new MLContext(1);
203
var
context = new MLContext();
219
MLContext
mlContext = new MLContext();
DatasetDimensionsTests.cs (3)
24
var
context = new MLContext(1);
44
var
context = new MLContext(1);
64
var
context = new MLContext(1);
DatasetUtil.cs (6)
56
var
context = new MLContext(1);
69
var
context = new MLContext(1);
82
var
context = new MLContext(1);
95
var
context = new MLContext(1);
107
var
context = new MLContext(1);
118
var
context = new MLContext(1);
EstimatorExtensionTests.cs (2)
24
var
context = new MLContext(1);
44
var
context = new MLContext(1);
GetNextPipelineTests.cs (2)
26
var
context = new MLContext(1);
51
var
context = new MLContext(1);
InferredPipelineTests.cs (1)
22
var
context = new MLContext(1);
MLContextManagerTests.cs (4)
28
var
mainContext = new MLContext(10);
35
var
childContext = contextManager.CreateMLContext();
46
var
mainContext = new MLContext(10);
48
var
childContext = contextManager.CreateMLContext();
PurposeInferenceTests.cs (1)
22
var
context = new MLContext(1);
SplitUtilTests.cs (3)
29
var
mlContext = new MLContext(1);
45
var
mlContext = new MLContext(seed: 0);
64
var
mlContext = new MLContext(seed: 0);
SuggestedPipelineBuilderTests.cs (1)
15
private static
MLContext
_context = new MLContext(1);
SweepableExtensionTest.cs (11)
49
var
context = new MLContext();
68
var
context = new MLContext();
80
var
context = new MLContext();
93
var
context = new MLContext();
106
var
context = new MLContext();
119
var
context = new MLContext();
132
var
context = new MLContext();
146
var
context = new MLContext();
160
var
context = new MLContext();
173
var
context = new MLContext();
186
var
context = new MLContext();
TrainerExtensionsTests.cs (2)
25
var
context = new MLContext(1);
54
var
context = new MLContext(1);
TrainValidaionDatasetManagerTest.cs (1)
28
var
context = new MLContext(1);
TunerTests.cs (8)
32
var
context = new MLContext(1);
73
var
context = new MLContext(1);
167
var
context = new MLContext(1);
202
var
context = new MLContext(1);
237
var
context = new MLContext(1);
291
var
context = new MLContext(1);
341
var
context = new MLContext(1);
453
private SweepablePipeline CreateDummySweepablePipeline(
MLContext
context)
UserInputValidationTests.cs (4)
105
var
context = new MLContext(1);
127
var
context = new MLContext(1);
150
var
context = new MLContext(1);
348
var
mlContext = new MLContext(1);
Utils\TaskAgnosticAutoFit.cs (2)
26
private
MLContext
_context;
32
internal TaskAgnosticAutoFit(TaskType taskType,
MLContext
context)
Microsoft.ML.CodeAnalyzer.Tests (1)
Helpers\AdditionalMetadataReferences.cs (1)
27
internal static readonly MetadataReference MLNetDataReference = RefFromType<
MLContext
>();
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
41
var
mlContext = new MLContext();
Microsoft.ML.CodeGenerator.Tests (61)
ApprovalTests\ConsoleCodeGeneratorTests.cs (4)
544
MLContext
context = new MLContext();
600
MLContext
context = new MLContext();
637
MLContext
context = new MLContext();
1095
MLContext
context = new MLContext();
CodeGenTests.cs (5)
26
var
context = new MLContext();
46
var
context = new MLContext();
67
var
context = new MLContext();
81
var
context = new MLContext();
121
var
context = new MLContext();
TrainerGeneratorTests.cs (39)
28
var
context = new MLContext();
56
var
context = new MLContext();
77
var
context = new MLContext();
100
var
context = new MLContext();
117
var
context = new MLContext();
137
var
context = new MLContext();
154
var
context = new MLContext();
174
var
context = new MLContext();
191
var
context = new MLContext();
211
var
context = new MLContext();
228
var
context = new MLContext();
248
var
context = new MLContext();
265
var
context = new MLContext();
285
var
context = new MLContext();
299
var
context = new MLContext();
325
var
context = new MLContext();
342
var
context = new MLContext();
362
var
context = new MLContext();
379
var
context = new MLContext();
399
var
context = new MLContext();
416
var
context = new MLContext();
436
var
context = new MLContext();
453
var
context = new MLContext();
473
var
context = new MLContext();
490
var
context = new MLContext();
510
var
context = new MLContext();
527
var
context = new MLContext();
548
var
context = new MLContext();
565
var
context = new MLContext();
586
var
context = new MLContext();
603
var
context = new MLContext();
624
var
context = new MLContext();
641
var
context = new MLContext();
662
var
context = new MLContext();
678
var
context = new MLContext();
699
var
context = new MLContext();
716
var
context = new MLContext();
737
var
context = new MLContext();
754
var
context = new MLContext();
TransformGeneratorTests.cs (11)
24
var
context = new MLContext();
38
var
context = new MLContext();
52
var
context = new MLContext();
66
var
context = new MLContext();
80
var
context = new MLContext();
94
var
context = new MLContext();
108
var
context = new MLContext();
122
var
context = new MLContext();
136
var
context = new MLContext();
150
var
context = new MLContext();
164
var
context = new MLContext();
UtilTest.cs (2)
130
var
context = new MLContext();
165
var
context = new MLContext();
Microsoft.ML.Core.Tests (13)
UnitTests\TestContracts.cs (1)
51
var
env = new MLContext(1);
UnitTests\TestEarlyStoppingCriteria.cs (1)
20
var
env = new MLContext(1)
UnitTests\TestEntryPoints.cs (7)
744
var
mlContext = new MLContext(1);
892
var
mlContext = new MLContext(1);
1053
var
mlContext = new MLContext(1);
1196
var
mlContext = new MLContext(1);
1343
var
mlContext = new MLContext(1);
1359
var
mlContext = new MLContext(1);
6582
var
ml = new MLContext(1);
UnitTests\TestHosts.cs (2)
109
((
MLContext
)env).CancelExecution();
127
var
env = new MLContext(1);
UnitTests\TestModelLoad.cs (2)
26
var
env = new MLContext(1).AddStandardComponents();
44
var
env = new MLContext(1).AddStandardComponents();
Microsoft.ML.Data (25)
DataLoadSave\DataOperationsCatalog.cs (2)
150
/// <param name="seed">The random seed. If unspecified, the random state will be instead derived from the <see cref="
MLContext
"/>.</param>
305
/// <param name="seed">The random seed. If unspecified, the random state will be instead derived from the <see cref="
MLContext
"/>.</param>
LoggingEventArgs.cs (1)
11
/// Provides data for the <see cref="
MLContext
.Log"/> event.
Model\ModelOperationsCatalog.cs (1)
16
/// Class used by <see cref="
MLContext
"/> to save and load trained models.
TrainCatalog.cs (15)
165
/// Class used by <see cref="
MLContext
"/> to create instances of binary classification components,
183
/// Class used by <see cref="
MLContext
"/> to create instances of binary classification trainers.
305
/// Class used by <see cref="
MLContext
"/> to create instances of binary classification calibrators.
401
/// Class used by <see cref="
MLContext
"/> to create instances of clustering components,
421
/// Class used by <see cref="
MLContext
"/> to create instances of clustering trainers.
484
/// Class used by <see cref="
MLContext
"/> to create instances of multiclass classification components,
501
/// Class used by <see cref="
MLContext
"/> to create instances of multiclass classification trainers.
565
/// Class used by <see cref="
MLContext
"/> to create instances of regression components,
582
/// Class used by <see cref="
MLContext
"/> to create instances of regression trainers.
635
/// Class used by <see cref="
MLContext
"/> to create instances of ranking components,
652
/// Class used by <see cref="
MLContext
"/> to create instances of ranking trainers.
726
/// Class used by <see cref="
MLContext
"/> to create instances of anomaly detection components,
743
/// Class used by <see cref="
MLContext
"/> to create instances of anomaly detection trainers.
795
/// Class used by <see cref="
MLContext
"/> to create instances of forecasting components.
810
/// Class used by <see cref="
MLContext
"/> to create instances of forecasting trainers.
Transforms\CatalogUtils.cs (1)
20
/// <see cref="
MLContext
"/>. Because this is meant to consumed by component authors implementations of this interface
Transforms\TransformsCatalog.cs (5)
10
/// Class used by <see cref="
MLContext
"/> to create instances of transform components.
49
/// Class used by <see cref="
MLContext
"/> to create instances of categorical data transform components.
63
/// Class used by <see cref="
MLContext
"/> to create instances of type conversion data transform components.
77
/// Class used by <see cref="
MLContext
"/> to create instances of text data transform components.
91
/// Class used by <see cref="
MLContext
"/> to create instances of feature selection transform components.
Microsoft.ML.Experimental (3)
MLContextExtensions.cs (3)
10
/// Stop the execution of pipeline in <see cref="
MLContext
"/>
12
/// <param name="ctx"><see cref="
MLContext
"/> reference.</param>
13
public static void CancelExecution(this
MLContext
ctx) => ctx.CancelExecution();
Microsoft.ML.Fairlearn (17)
AutoML\AutoMLExperimentExtension.cs (4)
59
var
context = serviceProvider.GetRequiredService<
MLContext
>();
75
var
context = serviceProvider.GetRequiredService<
MLContext
>();
AutoML\TunerFactory.cs (2)
19
private readonly
MLContext
_context;
29
_context = provider.GetService<
MLContext
>();
FairlearnCatalog.cs (1)
11
internal FairlearnCatalog(
MLContext
context)
Metrics\FairlearnMetricCatalog.cs (5)
16
private readonly
MLContext
_context;
18
public FairlearnMetricCatalog(
MLContext
context)
45
private readonly
MLContext
_context;
47
public BinaryGroupMetric(
MLContext
context, IDataView eval, string labelColumn, string predictedColumn, string sensitiveFeatureColumn, string scoreColumn)
153
private readonly
MLContext
_context = new MLContext();
MLContextExtension.cs (3)
8
/// Class containing AutoML extension methods to <see cref="
MLContext
"/>
15
/// <param name="mlContext"><see cref="
MLContext
"/> instance.</param>
17
public static FairlearnCatalog Fairlearn(this
MLContext
mlContext)
Reductions\GridSearchTrialRunner.cs (2)
29
private readonly
MLContext
_context;
36
public GridSearchTrailRunner(
MLContext
context, ITrainValidateDatasetManager datasetManager, string labelColumn, string sensitiveColumn, SweepablePipeline pipeline, ClassificationMoment moment)
Microsoft.ML.Fairlearn.Tests (3)
GridSearchTest.cs (2)
26
var
context = new MLContext();
82
var
context = new MLContext();
MetricTest.cs (1)
14
MLContext
mlContext;
Microsoft.ML.FastTree (2)
RandomForestClassification.cs (1)
227
if (!trainData.Schema.Weight.HasValue &&
MLContext
.OneDalDispatchingEnabled)
RandomForestRegression.cs (1)
366
if (!trainData.Schema.Weight.HasValue &&
MLContext
.OneDalDispatchingEnabled)
Microsoft.ML.IntegrationTests (84)
Common.cs (1)
65
public static void AssertTestTypeDatasetsAreEqual(
MLContext
mlContext, IDataView data1, IDataView data2)
DataIO.cs (7)
33
var
mlContext = new MLContext(seed: 1);
47
var
mlContext = new MLContext(seed: 1);
68
var
mlContext = new MLContext(seed: 1);
90
var
mlContext = new MLContext(seed: 1);
109
var
mlContext = new MLContext(seed: 1);
119
private string SerializeDatasetToFile(
MLContext
mlContext, IDataView data, char separator)
128
private string SerializeDatasetToBinaryFile(
MLContext
mlContext, IDataView data)
Datasets\Iris.cs (1)
36
public static IDataView LoadAsRankingProblem(
MLContext
mlContext, string filePath, bool hasHeader, char separatorChar, int seed = 1)
Datasets\MnistOneClass.cs (1)
17
public static TextLoader GetTextLoader(
MLContext
mlContext, bool hasHeader, char separatorChar)
Datasets\TrivialMatrixFactorization.cs (1)
24
public static IDataView LoadAndFeaturizeFromTextFile(
MLContext
mlContext, string filePath, bool hasHeader, char separatorChar)
Datasets\TypeTestData.cs (1)
77
public static TextLoader GetTextLoader(
MLContext
mlContext, char separator)
DataTransformation.cs (5)
29
var
mlContext = new MLContext(seed: 1);
82
var
mlContext = new MLContext(seed: 1);
130
var
mlContext = new MLContext(seed: 1);
166
var
mlContext = new MLContext(seed: 1);
193
var
mlContext = new MLContext(seed: 1);
Debugging.cs (4)
38
var
mlContext = new MLContext(seed: 1);
101
var
mlContext = new MLContext(seed: 1);
130
var
mlContext = new MLContext(seed: 1);
164
var
mlContext = new MLContext(seed: 1);
Evaluation.cs (11)
28
var
mlContext = new MLContext(seed: 1);
58
var
mlContext = new MLContext(seed: 1);
87
var
mlContext = new MLContext(seed: 1);
116
var
mlContext = new MLContext(seed: 1);
144
var
mlContext = new MLContext(seed: 1);
168
private IDataView GetScoredDataForRankingEvaluation(
MLContext
mlContext)
194
var
mlContext = new MLContext(seed: 1);
209
var
mlContext = new MLContext(seed: 1);
227
var
mlContext = new MLContext(seed: 1);
265
var
mlContext = new MLContext(seed: 1);
293
var
mlContext = new MLContext(seed: 1);
Explainability.cs (8)
32
var
mlContext = new MLContext(seed: 1);
90
var
mlContext = new MLContext(seed: 1);
114
var
mlContext = new MLContext(seed: 1);
141
var
mlContext = new MLContext(seed: 1);
168
var
mlContext = new MLContext(seed: 1);
205
var
mlContext = new MLContext(seed: 1);
242
var
mlContext = new MLContext(seed: 1);
280
var
mlContext = new MLContext(seed: 1);
IntrospectiveTraining.cs (11)
32
var
mlContext = new MLContext(seed: 1);
73
var
mlContext = new MLContext(seed: 1);
134
var
mlContext = new MLContext(seed: 1);
175
var
mlContext = new MLContext(seed: 1);
217
var
mlContext = new MLContext(seed: 1);
255
var
mlContext = new MLContext(seed: 1);
286
var
mlContext = new MLContext(seed: 1);
329
var
mlContext = new MLContext(seed: 1);
387
var
mlContext = new MLContext(seed: 1);
417
private IEstimator<TransformerChain<ClusteringPredictionTransformer<KMeansModelParameters>>> StepOne(
MLContext
mlContext)
430
private IEstimator<TransformerChain<MulticlassPredictionTransformer<MaximumEntropyModelParameters>>> StepTwo(
MLContext
mlContext)
ModelFiles.cs (11)
42
var
mlContext = new MLContext(seed: 1);
89
var
mlContext = new MLContext(seed: 1);
132
var
mlContext = new MLContext(1);
238
var
mlContext = new MLContext(1);
265
var
mlContext = new MLContext(1);
322
var
mlContext = new MLContext(1);
355
var
mlContext = new MLContext(1);
384
var
mlContext = new MLContext(1);
422
var
mlContext = new MLContext(1);
455
var
mlContext = new MLContext(1);
476
private void Load(
MLContext
mlContext, string filename, out ITransformer loadedWithSchema, out DataViewSchema loadedSchema,
ONNX.cs (3)
34
var
mlContext = new MLContext(seed: 1);
84
var
mlContext = new MLContext(seed: 1);
136
var
mlContext = new MLContext(seed: 1);
Prediction.cs (3)
38
var
mlContext = new MLContext(seed: 1);
81
var
mlContext = new MLContext(seed: 1);
104
var
mlContext = new MLContext(seed: 1);
SchemaDefinitionTests.cs (1)
16
private
MLContext
_ml;
Training.cs (11)
29
var
mlContext = new MLContext(seed: 1);
83
var
mlContext = new MLContext(seed: 1);
127
var
mlContext = new MLContext(seed: 1);
171
var
mlContext = new MLContext(seed: 1);
215
var
mlContext = new MLContext(seed: 1);
259
var
mlContext = new MLContext(seed: 1);
309
var
mlContext = new MLContext(seed: 1);
353
var
mlContext = new MLContext(seed: 1);
397
var
mlContext = new MLContext(seed: 1);
446
var
mlContext = new MLContext(seed: 1);
477
var
mlContext = new MLContext(seed: 1);
Validation.cs (4)
35
var
mlContext = new MLContext(seed: 1);
67
var
mlContext = new MLContext(1);
101
var
mlContext = new MLContext(seed: 1);
151
var
mlContext = new MLContext(1);
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
234
/// If not specified, <see cref="
MLContext
"/> will generate a random seed to be used.
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
433
if (
MLContext
.OneDalDispatchingEnabled)
Microsoft.ML.OnnxTransformerTest (5)
DnnImageFeaturizerTest.cs (1)
98
var
env = new MLContext(null);
OnnxTransformTests.cs (4)
243
var
env = new MLContext(1);
294
var
env = new MLContext(1);
528
var
mlContext = new MLContext(1);
554
var
mlContext = new MLContext(seed: 1);
Microsoft.ML.PCA (1)
PcaTransformer.cs (1)
752
/// <param name="seed">The random seed. If unspecified random state will be instead derived from the <see cref="
MLContext
"/>.</param>
Microsoft.ML.PerformanceTests (29)
BenchmarkBase.cs (1)
44
var
mlContext = new MLContext(1);
CacheDataViewBench.cs (1)
30
var
ctx = new MLContext(1);
FeaturizeTextBench.cs (1)
19
private
MLContext
_mlContext;
HashBench.cs (1)
74
private readonly
MLContext
_env = new MLContext(1);
Helpers\EnvironmentFactory.cs (4)
14
internal static
MLContext
CreateClassificationEnvironment<TLoader, TTransformer, TTrainer, TModel>()
20
var
ctx = new MLContext(1);
30
internal static
MLContext
CreateRankingEnvironment<TEvaluator, TLoader, TTransformer, TTrainer, TModel>()
36
var
ctx = new MLContext(1);
Helpers\ExecuteMaml.cs (1)
11
public static void ExecuteMamlCommand(this string command,
MLContext
environment)
ImageClassificationBench.cs (1)
23
private
MLContext
_mlContext;
KMeansAndLogisticRegressionBench.cs (1)
21
var
ml = new MLContext(seed: 1);
Numeric\Ranking.cs (4)
45
var
environment = EnvironmentFactory.CreateRankingEnvironment<RankingEvaluator, TextLoader, HashingTransformer, FastTreeRankingTrainer, FastTreeRankingModelParameters>();
60
var
environment = EnvironmentFactory.CreateRankingEnvironment<RankingEvaluator, TextLoader, HashingTransformer, LightGbmMulticlassTrainer, OneVersusAllModelParameters>();
99
var
environment = EnvironmentFactory.CreateRankingEnvironment<RankingEvaluator, TextLoader, HashingTransformer, FastTreeRankingTrainer, FastTreeRankingModelParameters>();
109
var
environment = EnvironmentFactory.CreateRankingEnvironment<RankingEvaluator, TextLoader, HashingTransformer, FastTreeRankingTrainer, FastTreeRankingModelParameters>();
PredictionEngineBench.cs (3)
38
var
env = new MLContext(seed: 1);
77
var
mlContext = new MLContext(seed: 1);
112
var
env = new MLContext(seed: 1);
RffTransform.cs (1)
31
var
mlContext = new MLContext(1);
ShuffleRowsBench.cs (1)
15
private
MLContext
_context;
StochasticDualCoordinateAscentClassifierBench.cs (1)
24
private readonly
MLContext
_mlContext = new MLContext(seed: 1);
Text\MultiClassClassification.cs (6)
40
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>();
55
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, LightGbmMulticlassTrainer, OneVersusAllModelParameters>();
71
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>();
87
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, SdcaMaximumEntropyMulticlassTrainer, MaximumEntropyModelParameters>();
115
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>();
126
var
environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>();
TextLoaderBench.cs (1)
19
private
MLContext
_mlContext;
TextPredictionEngineCreation.cs (1)
16
private
MLContext
_context;
Microsoft.ML.Predictor.Tests (7)
CmdLine\CmdLine.cs (2)
101
var
env = new MLContext(seed: 42);
111
var
env = new MLContext(seed: 42);
CmdLine\CmdLineReverseTest.cs (2)
25
var
env = new MLContext(seed: 42);
84
var
ml = new MLContext(1);
TestGamPublicInterfaces.cs (1)
24
var
mlContext = new MLContext(seed: 1);
TestIniModels.cs (2)
518
var
mlContext = new MLContext(seed: 0);
557
var
mlContext = new MLContext(seed: 0);
Microsoft.ML.Recommender (1)
RecommenderCatalog.cs (1)
19
public static RecommendationCatalog Recommendation(this
MLContext
ctx) => new RecommendationCatalog(ctx);
Microsoft.ML.Samples (225)
Dynamic\DataOperations\BootstrapSample.cs (1)
13
var
mlContext = new MLContext();
Dynamic\DataOperations\Cache.cs (2)
14
var
mlContext = new MLContext();
60
TimeToScanIDataView(
MLContext
mlContext, IDataView data)
Dynamic\DataOperations\CrossValidationSplit.cs (1)
15
var
mlContext = new MLContext();
Dynamic\DataOperations\DataViewEnumerable.cs (1)
16
var
mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByColumn.cs (1)
16
var
mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (1)
14
var
mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (1)
17
var
mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByMissingValues.cs (1)
17
var
mlContext = new MLContext();
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (1)
14
var
mlContext = new MLContext();
Dynamic\DataOperations\LoadFromEnumerable.cs (1)
22
var
mlContext = new MLContext();
Dynamic\DataOperations\LoadingSvmLight.cs (1)
44
var
mlContext = new MLContext();
Dynamic\DataOperations\LoadingText.cs (1)
42
var
mlContext = new MLContext();
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\DataOperations\ShuffleRows.cs (1)
16
var
mlContext = new MLContext();
Dynamic\DataOperations\SkipRows.cs (1)
15
var
mlContext = new MLContext();
Dynamic\DataOperations\TakeRows.cs (1)
16
var
mlContext = new MLContext();
Dynamic\DataOperations\TrainTestSplit.cs (1)
15
var
mlContext = new MLContext();
Dynamic\ModelOperations\OnnxConversion.cs (1)
36
var
mlContext = new MLContext(seed: 0);
Dynamic\ModelOperations\SaveLoadModel.cs (1)
14
var
mlContext = new MLContext();
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
14
var
mlContext = new MLContext();
Dynamic\NgramExtraction.cs (1)
14
var
ml = new MLContext();
Dynamic\SimpleDataViewImplementation.cs (1)
35
var
mlContext = new MLContext();
Dynamic\TensorFlow\ImageClassification.cs (1)
37
var
mlContext = new MLContext();
Dynamic\TensorFlow\TextClassification.cs (1)
21
var
mlContext = new MLContext();
Dynamic\TextTransform.cs (1)
15
var
ml = new MLContext();
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
16
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
19
var
mlContext = new MLContext();
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
15
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
16
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Clustering\KMeans.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
127
MLContext
mlContext, ITransformer trainedModel)
152
private static void EvaluateModel(
MLContext
mlContext,
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (3)
41
MLContext
mlContext = new MLContext(seed: 1);
153
MLContext
mlContext, ITransformer trainedModel)
178
private static void EvaluateModel(
MLContext
mlContext,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
148
MLContext
mlContext, ITransformer trainedModel,
176
private static void EvaluateModel(
MLContext
mlContext,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
136
MLContext
mlContext, ITransformer trainedModel)
161
private static void EvaluateModel(
MLContext
mlContext,
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
23
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
15
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
18
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\FastTree.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\LightGbm.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
15
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
17
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (1)
24
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
25
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
29
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastForest.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTree.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\Gam.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
19
var
mlContext = new MLContext();
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbm.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
21
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
25
var
mlContext = new MLContext(seed: 3);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
25
var
mlContext = new MLContext(seed: 3);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
15
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
17
var
mlContext = new MLContext(seed: 1);
Dynamic\Trainers\Regression\Sdca.cs (1)
17
var
mlContext = new MLContext(seed: 0);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
18
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\ApplyOnnxModel.cs (1)
20
var
mlContext = new MLContext();
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (1)
22
var
mlContext = new MLContext();
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Transforms\CalculateFeatureContribution.cs (1)
15
var
mlContext = new MLContext(seed: 1);
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
12
var
mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
12
var
mlContext = new MLContext();
Dynamic\Transforms\Concatenate.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\ConvertType.cs (1)
11
var
mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (1)
17
var
mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\Hash.cs (1)
14
var
mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
16
var
mlContext = new MLContext(seed: 1);
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (1)
20
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (1)
19
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\Conversion\MapKeyToVector.cs (1)
19
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (1)
19
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValue.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueToArray.cs (1)
19
var
mlContext = new MLContext();
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\CopyColumns.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\CustomMapping.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
20
var
mlContext = new MLContext();
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
23
var
mlContext = new MLContext();
Dynamic\Transforms\DropColumns.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Expression.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
12
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (1)
22
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\IndicateMissingValues.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeBinning.cs (1)
18
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeLogMeanVariance.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeLpNorm.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeMeanVariance.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeMinMax.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\NormalizeSupervisedBinning.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
18
var
ml = new MLContext();
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
17
var
ml = new MLContext();
Dynamic\Transforms\ReplaceMissingValues.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\SelectColumns.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\StatefulCustomMapping.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\FeaturizeText.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Text\NormalizeText.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (1)
14
var
mlContext = new MLContext();
Dynamic\Transforms\Text\RemoveStopWords.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\Text\TokenizeIntoWords.cs (1)
13
var
mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
19
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (1)
15
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
22
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (1)
18
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
22
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
16
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
23
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (1)
21
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
19
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (1)
17
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
15
var
mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
20
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (1)
18
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
17
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
17
var
ml = new MLContext();
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
16
var
mlContext = new MLContext();
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (1)
17
var
mlContext = new MLContext();
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
20
var
mlContext = new MLContext(seed: 0);
Dynamic\WithOnFitDelegate.cs (1)
18
var
mlContext = new MLContext();
Microsoft.ML.Samples.GPU (14)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
37
var
mlContext = new MLContext();
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
21
var
mlContext = new MLContext();
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
127
MLContext
mlContext, ITransformer trainedModel)
152
private static void EvaluateModel(
MLContext
mlContext,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (3)
41
MLContext
mlContext = new MLContext(seed: 1);
153
MLContext
mlContext, ITransformer trainedModel)
178
private static void EvaluateModel(
MLContext
mlContext,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
148
MLContext
mlContext, ITransformer trainedModel,
176
private static void EvaluateModel(
MLContext
mlContext,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (3)
35
MLContext
mlContext = new MLContext(seed: 1);
136
MLContext
mlContext, ITransformer trainedModel)
161
private static void EvaluateModel(
MLContext
mlContext,
Microsoft.ML.Samples.OneDal (5)
Program.cs (5)
15
MLContext
mlContext, string trainingFile, string testingFile,
64
public static double[] RunRandomForestClassification(
MLContext
mlContext, IDataView trainingData, IDataView testingData, string labelName, int numberOfTrees, int numberOfLeaves)
96
public static double[] RunRandomForestRegression(
MLContext
mlContext, IDataView trainingData, IDataView testingData, string labelName, int numberOfTrees, int numberOfLeaves)
128
public static double[] RunOLSRegression(
MLContext
mlContext, IDataView trainingData, IDataView testingData, string labelName)
165
var
mlContext = new MLContext(seed: 42);
Microsoft.ML.SamplesUtils (7)
SamplesDatasetUtils.cs (7)
44
public static IDataView LoadHousingRegressionDataset(
MLContext
mlContext)
83
/// <param name="mlContext"><see cref="
MLContext
"/> used for data loading and processing.</param>
88
public static IDataView LoadFeaturizedAdultDataset(
MLContext
mlContext)
115
/// <param name="mlContext"><see cref="
MLContext
"/> used for data loading and processing.</param>
120
public static IDataView LoadRawAdultDataset(
MLContext
mlContext)
225
/// calling <see cref="DataOperationsCatalog.CreateEnumerable{TRow}(IDataView, bool, bool, SchemaDefinition)"/> via on <see cref="
MLContext
"/>.
236
/// calling <see cref="DataOperationsCatalog.CreateEnumerable{TRow}(IDataView, bool, bool, SchemaDefinition)"/> via on <see cref="
MLContext
"/>.
Microsoft.ML.Sweeper.Tests (12)
SweeperTest.cs (2)
22
var
env = new MLContext(42);
39
var
env = new MLContext(42);
TestSweeper.cs (10)
93
var
env = new MLContext(42);
133
var
env = new MLContext(42);
183
var
env = new MLContext(42);
233
var
env = new MLContext(42);
301
var
env = new MLContext(42);
353
var
env = new MLContext(42);
431
var
env = new MLContext(42);
541
var
env = new MLContext(42);
597
var
env = new MLContext(42);
645
var
env = new MLContext(42);
Microsoft.ML.TensorFlow.Tests (5)
TensorFlowEstimatorTests.cs (4)
150
var
mlContext = new MLContext(seed: 1);
192
var
mlContext = new MLContext(seed: 1);
238
var
mlContext = new MLContext(seed: 1);
286
MLContext
context = new MLContext(seed: 1);
TensorflowTests.cs (1)
64
private
MLContext
_mlContext = new MLContext(seed: 1);
Microsoft.ML.TestFramework (4)
BaseTestBaseline.cs (1)
85
protected
MLContext
ML;
TestCommandBase.cs (1)
532
var
env = new MLContext(seed: 42);
TestSparseDataView.cs (2)
50
var
env = new MLContext(1);
90
var
env = new MLContext(1);
Microsoft.ML.Tests (190)
AnomalyDetectionTests.cs (5)
59
var
mlContext = new MLContext(seed: 0);
89
var
mlContext = new MLContext(seed: 0);
136
private static void ExecutePipelineWithGivenRandomizedPcaTrainer(
MLContext
mlContext, Trainers.RandomizedPcaTrainer trainer)
180
private static void ExecuteRandomizedPcaTrainerChangeThreshold(
MLContext
mlContext, Trainers.RandomizedPcaTrainer trainer)
262
var
mlContext = new MLContext(seed: 0);
CollectionsDataViewTest.cs (9)
159
var
env = new MLContext(1);
181
var
env = new MLContext(1);
233
var
env = new MLContext(1);
259
var
env = new MLContext(1);
313
var
env = new MLContext(1);
343
var
env = new MLContext(1);
394
var
env = new MLContext(1);
445
var
env = new MLContext(1);
482
var
env = new MLContext(1);
DatabaseLoaderTests.cs (6)
52
var
mlContext = new MLContext(seed: 1);
97
var
mlContext = new MLContext(seed: 1);
133
var
mlContext = new MLContext(seed: 1);
165
var
mlContext = new MLContext(seed: 1);
197
var
mlContext = new MLContext(seed: 1);
257
var
mlContext = new MLContext(seed: 1);
EvaluateTests.cs (1)
33
var
mlContext = new MLContext(seed: 1);
ImagesTests.cs (7)
31
var
env = new MLContext(1);
106
var
env = new MLContext(1);
138
var
env = new MLContext(1);
1009
var
env = new MLContext(1);
1085
var
mlContext = new MLContext(0);
1126
public static List<InMemoryImage> LoadFromTsv(
MLContext
mlContext, string tsvPath, string imageFolder)
1177
var
mlContext = new MLContext(seed: 1);
OnnxConversionTest.cs (39)
70
var
mlContext = new MLContext(seed: 1);
145
var
mlContext = new MLContext(seed: 1);
178
var
mlContext = new MLContext(seed: 1);
219
var
mlContext = new MLContext(seed: 1);
260
var
mlContext = new MLContext(seed: 1);
384
var
mlContext = new MLContext(seed: 1);
413
var
mlContext = new MLContext(seed: 1);
464
var
mlContext = new MLContext(seed: 1);
497
var
env = new MLContext(1);
566
var
mlContext = new MLContext(seed: 1);
597
var
mlContext = new MLContext(seed: 1);
621
var
mlContext = new MLContext(seed: 1);
766
var
mlContext = new MLContext(seed: 1);
785
var
mlContext = new MLContext(seed: 1);
848
var
mlContext = new MLContext(seed: 1);
868
var
mlContext = new MLContext(seed: 1);
940
var
mlContext = new MLContext(seed: 1);
966
var
mlContext = new MLContext(seed: 1);
1001
var
mlContext = new MLContext();
1059
var
mlContext = new MLContext();
1098
var
mlContext = new MLContext();
1152
var
mlContext = new MLContext(seed: 1);
1188
var
mlContext = new MLContext(seed: 1);
1226
var
mlContext = new MLContext(seed: 1);
1391
var
mlContext = new MLContext(seed: 1);
1437
var
mlContext = new MLContext(seed: 1);
1464
var
mlContext = new MLContext(seed: 1);
1539
var
mlContext = new MLContext();
1563
var
mlContext = new MLContext();
1599
var
mlContext = new MLContext(seed: 1);
1644
var
mlContext = new MLContext(seed: 1);
1698
var
mlContext = new MLContext(seed: 1);
1716
var
mlContext = new MLContext(seed: 1);
1761
var
mlContext = new MLContext();
1843
var
mlContext = new MLContext(seed: 1);
1882
var
mlContext = new MLContext(seed: 1);
1930
var
mlContext = new MLContext(seed: 1);
1971
var
mlContext = new MLContext(seed: 1);
2022
var
mlContext = new MLContext();
OnnxSequenceTypeWithAttributesTest.cs (2)
43
var
ctx = new MLContext(1);
82
var
ctx = new MLContext(1);
PermutationFeatureImportanceTests.cs (20)
53
var
ml2 = new MLContext(42);
62
var
ml2 = new MLContext(42);
127
var
ml2 = new MLContext(42);
136
var
ml2 = new MLContext(42);
195
var
ml2 = new MLContext(42);
204
var
ml2 = new MLContext(42);
283
var
ml2 = new MLContext(42);
292
var
ml2 = new MLContext(42);
358
var
ml2 = new MLContext(42);
367
var
ml2 = new MLContext(42);
432
var
ml2 = new MLContext(42);
441
var
ml2 = new MLContext(42);
540
var
ml2 = new MLContext(42);
549
var
ml2 = new MLContext(42);
613
var
ml2 = new MLContext(42);
622
var
ml2 = new MLContext(42);
692
var
ml2 = new MLContext(0);
701
var
ml2 = new MLContext(0);
760
var
ml2 = new MLContext(42);
769
var
ml2 = new MLContext(42);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (19)
38
var
mlContext = new MLContext(1);
76
var
mlContext = new MLContext();
147
var
mlContext = new MLContext(1);
215
var
mlContext = new MLContext(1);
274
var
mlContext = new MLContext(1);
301
var
mlContext = new MLContext(1);
332
var
context = new MLContext(1);
372
var
context = new MLContext(1);
407
var
context = new MLContext(1);
443
var
context = new MLContext(1);
501
var
mlContext = new MLContext(1);
570
var
mlContext = new MLContext(1);
633
var
mlContext = new MLContext(1);
682
var
mlContext = new MLContext(1);
705
var
mlContext = new MLContext(1);
737
private static void RunEndToEnd(
MLContext
mlContext, IDataView trainData, string modelPath)
755
var
newContext = new MLContext(1);
765
public static IDataView PrepareData(
MLContext
mlContext, IDataView data)
774
public static ITransformer TrainModel(
MLContext
mlContext, IDataView trainData)
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
29
var
ml = new MLContext(1);
Scenarios\Api\Estimators\Extensibility.cs (1)
29
var
ml = new MLContext(1);
Scenarios\Api\Estimators\MultithreadedPrediction.cs (1)
27
var
ml = new MLContext(seed: 1);
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
27
var
ml = new MLContext(1);
75
var
mlContext = new MLContext(seed: 1);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (2)
25
var
ml = new MLContext(seed: 1);
62
var
ml = new MLContext(seed: 1);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
23
var
ml = new MLContext(seed: 1);
Scenarios\Api\TestApi.cs (7)
66
var
env = new MLContext(seed: 0);
151
var
env = new MLContext(seed: 42);
173
var
mlContext = new MLContext(0);
200
var
mlContext = new MLContext(0);
298
var
mlContext = new MLContext(0);
346
var
mlContext = new MLContext(0);
418
var
mlContext = new MLContext(0);
Scenarios\ClusteringTests.cs (1)
57
var
mlContext = new MLContext(seed: 1);
Scenarios\GetColumnTests.cs (2)
28
var
mlContext = new MLContext(1);
70
var
mlContext = new MLContext(1);
Scenarios\IrisPlantClassificationTests.cs (1)
20
var
mlContext = new MLContext(seed: 1);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
16
var
mlContext = new MLContext(seed: 1);
Scenarios\OvaTest.cs (4)
21
var
mlContext = new MLContext(seed: 1);
54
var
mlContext = new MLContext(seed: 1);
90
var
mlContext = new MLContext(seed: 1);
125
var
mlContext = new MLContext(seed: 1);
Scenarios\RegressionTest.cs (1)
15
var
context = new MLContext();
Scenarios\WordBagTest.cs (2)
16
var
mlContext = new MLContext(1);
53
var
mlContext = new MLContext(1);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
18
var
mlContext = new MLContext(seed: 1);
TextLoaderTests.cs (15)
583
var
mlContext = new MLContext(seed: 1);
591
var
mlContext = new MLContext(seed: 1);
609
var
mlContext = new MLContext(seed: 1);
733
var
mlContext = new MLContext(1);
813
var
mlContext = new MLContext(1);
832
var
mlContext = new MLContext(1);
890
var
mlContext = new MLContext(seed: 1);
984
var
mlContext = new MLContext(seed: 1);
1036
var
mlContext = new MLContext(seed: 1);
1183
var
mlContext = new MLContext(1);
1241
var
mlContext = new MLContext(seed: 1);
1253
var
mlContext = new MLContext(seed: 1);
1268
var
mlContext = new MLContext(seed: 1);
1373
var
mlContext = new MLContext(seed: 1);
1424
var
mlContext = new MLContext(seed: 1);
TrainerEstimators\CalibratorEstimators.cs (1)
150
var
mlContext = new MLContext(0);
TrainerEstimators\FAFMEstimator.cs (2)
21
var
mlContext = new MLContext(seed: 0);
42
var
mlContext = new MLContext(seed: 0);
TrainerEstimators\MatrixFactorizationTests.cs (8)
59
var
mlContext = new MLContext(seed: 1);
216
var
mlContext = new MLContext(seed: 1);
327
var
mlContext = new MLContext(seed: 1);
447
var
mlContext = new MLContext(seed: 1);
534
var
mlContext = new MLContext(seed: 1);
591
var
mlContext = new MLContext(seed: 1);
647
var
mlContext = new MLContext(seed: 0);
774
var
mlContext = new MLContext(seed: 1);
TrainerEstimators\SdcaTests.cs (6)
64
var
mlContext = new MLContext(1);
108
var
mlContext = new MLContext(0);
164
var
mlContext = new MLContext(0);
223
var
mlContext = new MLContext(1);
265
var
mlContext = new MLContext(1);
300
var
mlContext = new MLContext(1);
TrainerEstimators\TreeEstimators.cs (5)
460
var
mlContext = new MLContext(seed: 0);
742
var
mlContext = new MLContext(seed: 0);
1025
var
context = new MLContext(seed: 1);
1071
var
context = new MLContext(seed: 1);
1099
var
context = new MLContext(seed: 1);
Transformers\CategoricalTests.cs (2)
107
var
mlContext = new MLContext(1);
130
var
mlContext = new MLContext(1);
Transformers\ConvertTests.cs (1)
283
var
mlContext = new MLContext(1);
Transformers\CopyColumnEstimatorTests.cs (6)
48
var
env = new MLContext(1);
60
var
env = new MLContext(1);
78
var
env = new MLContext(1);
97
var
env = new MLContext(1);
115
var
env = new MLContext(1);
134
var
env = new MLContext(1);
Transformers\CustomMappingTests.cs (2)
66
var
tempoEnv = new MLContext(1);
179
var
tempoEnv = new MLContext();
Transformers\KeyToVectorEstimatorTests.cs (1)
252
MLContext
mlContext = new MLContext(1);
Transformers\NormalizerTests.cs (1)
222
var
context = new MLContext(seed: 0);
Transformers\TextFeaturizerTests.cs (1)
719
var
ml = new MLContext(1);
Transformers\WordBagTransformerTests.cs (3)
28
var
mlContext = new MLContext(1);
57
var
mlContext = new MLContext(1);
85
var
mlContext = new MLContext(1);
Microsoft.ML.TimeSeries (4)
PredictionEngine.cs (4)
75
/// <param name="env">Usually <see cref="
MLContext
"/>.</param>
98
/// <param name="env">Usually <see cref="
MLContext
"/>.</param>
386
/// <param name="env">Usually <see cref="
MLContext
"/></param>
418
/// <param name="env">Usually <see cref="
MLContext
"/></param>
Microsoft.ML.TimeSeries.Tests (24)
TimeSeriesDirectApi.cs (19)
110
var
env = new MLContext(1);
151
var
env = new MLContext(1);
215
var
ml = new MLContext(seed: 1);
291
var
ml = new MLContext(seed: 1);
354
var
env = new MLContext(1);
424
var
ml = new MLContext(seed: 1);
532
var
ml = new MLContext(1);
588
var
ml = new MLContext(1);
678
var
ml = new MLContext(1);
725
var
ml = new MLContext(1);
780
var
ml = new MLContext(1);
839
var
ml = new MLContext(1);
896
var
ml = new MLContext(1);
960
var
ml = new MLContext(1);
987
var
ml = new MLContext(1);
1037
var
ml = new MLContext(1);
1074
var
mlContext = new MLContext();
1187
var
ml = new MLContext(1);
1221
var
ml = new MLContext(1);
TimeSeriesEstimatorTests.cs (1)
87
var
ml = new MLContext(seed: 1);
TimeSeriesSimpleApiTests.cs (4)
41
var
env = new MLContext(1);
79
var
env = new MLContext(1);
123
var
env = new MLContext(1);
173
var
env = new MLContext(1);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
171
var
mlContext = new MLContext();