1 write to TestSet
Microsoft.ML.Data (1)
DataLoadSave\DataOperationsCatalog.cs (1)
43TestSet = testSet;
85 references to TestSet
Microsoft.ML.AutoML (10)
API\AutoMLExperimentExtension.cs (2)
49/// to train a model, and use <see cref="TrainTestData.TestSet"/> from <paramref name="trainValidationSplit"/> to evaluate the model. 56return experiment.SetDataset(trainValidationSplit.TrainSet, trainValidationSplit.TestSet);
API\BinaryClassificationExperiment.cs (1)
184_experiment.SetDataset(splitData.TrainSet, splitData.TestSet);
API\MulticlassClassificationExperiment.cs (1)
168return Execute(splitData.TrainSet, splitData.TestSet, columnInformation, preFeaturizer, progressHandler);
API\RegressionExperiment.cs (1)
190return Execute(splitData.TrainSet, splitData.TestSet, columnInformation, preFeaturizer, progressHandler);
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (1)
53var eval = model.Transform(split.TestSet);
Tuner\SmacTuner.cs (1)
150var test = model.Transform(trainTestSplit.TestSet);
Utils\SplitUtil.cs (3)
24DatasetDimensionsUtil.IsDataViewEmpty(split.TestSet)) 30var validationDataset = DropAllColumnsExcept(context, split.TestSet, originalColumnNames); 55var validationData = DropAllColumnsExcept(context, splitData.TestSet, originalColumnNames);
Microsoft.ML.AutoML.Samples (2)
AutoMLExperiment.cs (1)
60var eval = bestModel.Transform(trainTestSplit.TestSet);
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
87var eval = bestModel.Transform(trainTestSplit.TestSet);
Microsoft.ML.AutoML.Tests (3)
AutoFitTests.cs (3)
114.Execute(dataTrainTest.TrainSet, dataTrainTest.TestSet, DatasetUtil.UciAdultLabel); 173.Execute(trainTestSplit.TrainSet, trainTestSplit.TestSet, label); 340IDataView testDataset = SplitUtil.DropAllColumnsExcept(context, trainTestData.TestSet, originalColumnNames);
Microsoft.ML.Data (2)
TrainCatalog.cs (2)
109scoredTest = (Unsafe.As<TransformerChain<ITransformer>>(model)).Transform(split.TestSet, TransformerScope.Everything); 111scoredTest = model.Transform(split.TestSet);
Microsoft.ML.IntegrationTests (2)
Training.cs (1)
38var testData = trainTestSplit.TestSet;
Validation.cs (1)
109var validData = dataSplit.TestSet;
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
73_testDataset = trainTestData.TestSet;
Microsoft.ML.Samples (25)
Dynamic\DataOperations\CrossValidationSplit.cs (6)
39.CreateEnumerable<DataPoint>(folds[0].TestSet, 63.CreateEnumerable<DataPoint>(folds[1].TestSet, 86.CreateEnumerable<DataPoint>(folds[2].TestSet, 111.CreateEnumerable<DataPoint>(folds[0].TestSet, 134.CreateEnumerable<DataPoint>(folds[1].TestSet, 156testSet = mlContext.Data.CreateEnumerable<DataPoint>(folds[2].TestSet,
Dynamic\DataOperations\TrainTestSplit.cs (2)
38.CreateEnumerable<DataPoint>(split.TestSet, reuseRowObject: false); 62.CreateEnumerable<DataPoint>(split.TestSet, reuseRowObject: false);
Dynamic\ModelOperations\OnnxConversion.cs (2)
89var output = transformer.Transform(trainTestOriginalData.TestSet); 90var onnxOutput = onnxTransformer.Transform(trainTestOriginalData.TestSet);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
38var scoredData = transformer.Transform(trainTestData.TestSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
38var scoredData = transformer.Transform(trainTestData.TestSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
38var scoredData = transformer.Transform(trainTestData.TestSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
38var scoredData = transformer.Transform(trainTestData.TestSet);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
29var validSet = dataSets.TestSet;
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
30var validSet = dataSets.TestSet;
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
62IDataView testDataset = trainTestData.TestSet;
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
61IDataView testDataset = trainTestData.TestSet;
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
61IDataView testDataset = trainTestData.TestSet;
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
29var validSet = dataSets.TestSet;
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
30var validSet = dataSets.TestSet;
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (1)
61var dataWithPredictions = model.Transform(split.TestSet);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
70var dataWithPredictions = model.Transform(split.TestSet);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
63var dataWithPredictions = model.Transform(split.TestSet);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
67var dataWithPredictions = model.Transform(split.TestSet);
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
62IDataView testDataset = trainTestData.TestSet;
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
61IDataView testDataset = trainTestData.TestSet;
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
61IDataView testDataset = trainTestData.TestSet;
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
1416IDataView testDataset = trainTestData.TestSet; 1491IDataView testDataset = trainTestData.TestSet; 1623IDataView testDataset = trainTestData.TestSet; 1778IDataView testDataset = trainTestData.TestSet; 1868IDataView testDataset = trainTestData.TestSet;
Microsoft.ML.Tests (29)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
660var metrics = mlContext.MulticlassClassification.Evaluate(model.Transform(split.TestSet, TransformerScope.Everything));
Scenarios\Api\TestApi.cs (26)
319ttSplit.TestSet, 321ttSplitWithSeed.TestSet, 323ttSplitWithSeedAndSamplingKey.TestSet, 325cvSplit.First().TestSet, 327cvSplitWithSeed.First().TestSet, 329cvSplitWithSeedAndSamplingKey.First().TestSet 368var simpleTestWorkClass = getWorkclass(simpleSplit.TestSet); 370var simpleWithSeedTestWorkClass = getWorkclass(splitWithSeed.TestSet); 379var stratTestWorkClass = getWorkclass(stratSplit.TestSet); 391var stratTestWithSeedWorkClass = getWorkclass(stratSeed.TestSet); 457var ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 461ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 465ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 469ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 477ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 483ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 501var idsTest1 = cvSplits[0].TestSet.GetColumn<int>(cvSplits[0].TestSet.Schema[nameof(Input.Id)]); 502var idsTest2 = cvSplits[1].TestSet.GetColumn<int>(cvSplits[1].TestSet.Schema[nameof(Input.Id)]);
Scenarios\RegressionTest.cs (1)
42var predictions = model.Transform(splitData.TestSet);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (1)
801var testData = split.TestSet;
Microsoft.ML.TorchSharp.Tests (3)
NerTests.cs (1)
235var output = transformer.Transform(trainTest.TestSet);
TextClassificationTests.cs (2)
181var predictionIdv = model.Transform(trainTestSplit.TestSet); 444var transformedData = model.Transform(dataSplit.TestSet);