64 references to TrainTestSplit
Microsoft.ML.AutoML (5)
API\BinaryClassificationExperiment.cs (1)
183
var splitData = Context.Data.
TrainTestSplit
(trainData);
API\MulticlassClassificationExperiment.cs (1)
167
var splitData = Context.Data.
TrainTestSplit
(trainData);
API\RegressionExperiment.cs (1)
189
var splitData = Context.Data.
TrainTestSplit
(trainData);
Tuner\SmacTuner.cs (1)
147
var trainTestSplit = _context.Data.
TrainTestSplit
(data);
Utils\SplitUtil.cs (1)
53
var splitData = context.Data.
TrainTestSplit
(trainData, samplingKeyColumnName: samplingKeyColumn);
Microsoft.ML.AutoML.Samples (2)
AutoMLExperiment.cs (1)
26
var trainTestSplit = context.Data.
TrainTestSplit
(dataView);
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
39
var trainTestSplit = context.Data.
TrainTestSplit
(dataView, testFraction: 0.1);
Microsoft.ML.AutoML.Tests (8)
AutoFitTests.cs (4)
102
var dataTrainTest = context.Data.
TrainTestSplit
(trainData);
161
var trainTestSplit = context.Data.
TrainTestSplit
(dataset);
338
TrainTestData trainTestData = context.Data.
TrainTestSplit
(trainData, testFraction: 0.2, seed: 1);
589
var dataTrainTest = context.Data.
TrainTestSplit
(dataFull);
AutoMLExperimentTests.cs (4)
108
experiment.SetDataset(context.Data.
TrainTestSplit
(data))
225
experiment.SetDataset(context.Data.
TrainTestSplit
(data))
250
experiment.SetDataset(context.Data.
TrainTestSplit
(data))
329
experiment.SetDataset(context.Data.
TrainTestSplit
(data))
Microsoft.ML.Fairlearn.Tests (1)
GridSearchTest.cs (1)
94
var trainTestSplit = context.Data.
TrainTestSplit
(shuffledDataset, 0.2);
Microsoft.ML.IntegrationTests (2)
Training.cs (1)
36
var trainTestSplit = mlContext.Data.
TrainTestSplit
(data);
Validation.cs (1)
107
var dataSplit = mlContext.Data.
TrainTestSplit
(data, testFraction: 0.2);
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
69
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
Microsoft.ML.Samples (18)
Dynamic\DataOperations\TrainTestSplit.cs (2)
31
.
TrainTestSplit
(dataview, testFraction: 0.1,
57
split = mlContext.Data.
TrainTestSplit
(dataview, testFraction: 0.2);
Dynamic\ModelOperations\OnnxConversion.cs (1)
46
.
TrainTestSplit
(originalData, testFraction: 0.3);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
24
.
TrainTestSplit
(data, testFraction: 0.3);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
24
.
TrainTestSplit
(data, testFraction: 0.3);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
24
.
TrainTestSplit
(data, testFraction: 0.3);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
24
.
TrainTestSplit
(data, testFraction: 0.3);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
27
var dataSets = mlContext.Data.
TrainTestSplit
(data);
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
28
var dataSets = mlContext.Data.
TrainTestSplit
(data);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
58
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
57
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
57
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
27
var dataSets = mlContext.Data.
TrainTestSplit
(data);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
28
var dataSets = mlContext.Data.
TrainTestSplit
(data);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (1)
30
var split = mlContext.Data.
TrainTestSplit
(dataView, testFraction: 0.1);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
30
var split = mlContext.Data.
TrainTestSplit
(dataView, testFraction: 0.1);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
49
var split = mlContext.Data.
TrainTestSplit
(dataView, testFraction: 0.2);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
49
var split = mlContext.Data.
TrainTestSplit
(dataView, testFraction: 0.2);
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
58
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
57
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
57
TrainTestData trainTestData = mlContext.Data.
TrainTestSplit
(
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
1412
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
1487
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
1619
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
1774
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
1864
TrainTestData trainTestData = _mlContext.Data.
TrainTestSplit
(
Microsoft.ML.Tests (17)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
655
var split = mlContext.Data.
TrainTestSplit
(data, testFraction: 0.1);
Scenarios\Api\TestApi.cs (14)
308
var ttSplit = mlContext.Data.
TrainTestSplit
(fullInput);
309
var ttSplitWithSeed = mlContext.Data.
TrainTestSplit
(fullInput, seed: 10);
310
var ttSplitWithSeedAndSamplingKey = mlContext.Data.
TrainTestSplit
(fullInput, seed: 10, samplingKeyColumnName: "Workclass");
364
var simpleSplit = mlContext.Data.
TrainTestSplit
(input);
365
var splitWithSeed = mlContext.Data.
TrainTestSplit
(input, seed: 10);
377
var stratSplit = mlContext.Data.
TrainTestSplit
(input, samplingKeyColumnName: "Workclass");
389
var stratSeed = mlContext.Data.
TrainTestSplit
(input, samplingKeyColumnName: "Workclass", seed: 1000000);
456
var split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.TextStrat));
460
split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.FloatStrat));
464
split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.VectorStrat));
468
split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.DateTimeStrat));
472
split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.DateTimeOffsetStrat));
476
split = mlContext.Data.
TrainTestSplit
(input, 0.5, nameof(Input.TimeSpanStrat));
482
split = mlContext.Data.
TrainTestSplit
(inputWithKey, 0.5, "KeyStrat");
Scenarios\RegressionTest.cs (1)
23
var splitData = context.Data.
TrainTestSplit
(taxiData, testFraction: 0.1);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (1)
799
var split = ML.Data.
TrainTestSplit
(dataView, 0.5);
Microsoft.ML.TorchSharp.Tests (2)
TextClassificationTests.cs (2)
175
var trainTestSplit = mlContext.Data.
TrainTestSplit
(df, testFraction: 0.2);
432
var dataSplit = ML.Data.
TrainTestSplit
(dataView, testFraction: 0.2);