596 references to LoadFromEnumerable
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
365IDataView data = mlContext.Data.LoadFromEnumerable(enumerableOfData); 488var data = mlContext.Data.LoadFromEnumerable(inputData);
Microsoft.ML.AutoML.Samples (4)
AutoMLExperiment.cs (1)
24var dataView = context.Data.LoadFromEnumerable(data);
Cifar10.cs (2)
35var trainDataset = context.Data.LoadFromEnumerable(trainImages); 36var testDataset = context.Data.LoadFromEnumerable(testImages);
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
36var dataView = context.Data.LoadFromEnumerable(data);
Microsoft.ML.Core.Tests (1)
UnitTests\TestCustomTypeRegister.cs (1)
184var tribeDataView = ML.Data.LoadFromEnumerable(tribe);
Microsoft.ML.EntryPoints (4)
PermutationFeatureImportance.cs (4)
137var result = dataOps.LoadFromEnumerable(metrics); 196var result = dataOps.LoadFromEnumerable(metrics, schema); 247var result = dataOps.LoadFromEnumerable(metrics); 303var result = dataOps.LoadFromEnumerable(metrics, schema);
Microsoft.ML.Fairlearn (1)
Metrics\FairlearnMetricCatalog.cs (1)
94.ToDictionary(group => group.Key, group => _context.Data.LoadFromEnumerable(group.Select(g => g.Item2)));
Microsoft.ML.Fairlearn.Tests (1)
MetricTest.cs (1)
19data = mlContext.Data.LoadFromEnumerable(houseData);
Microsoft.ML.IntegrationTests (10)
DataIO.cs (5)
36var data = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset()); 51var data = mlContext.Data.LoadFromEnumerable(enumerableBefore); 70var dataBefore = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset()); 92var dataBefore = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset()); 111var dataBefore = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset());
Debugging.cs (1)
40var data = mlContext.Data.LoadFromEnumerable<TweetSentiment>(
ModelFiles.cs (2)
297data = mlContext.Data.LoadFromEnumerable(new[] { new InputData() }); 344data = mlContext.Data.LoadFromEnumerable(new[] { new InputData() });
Prediction.cs (2)
82var data = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset()); 105var data = mlContext.Data.LoadFromEnumerable(TypeTestData.GenerateDataset());
Microsoft.ML.OnnxTransformerTest (22)
DnnImageFeaturizerTest.cs (4)
80var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 81var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 82var invalidDataWrongVectorSize = ML.Data.LoadFromEnumerable(sizeData); 143var dataView = ML.Data.LoadFromEnumerable(
OnnxTransformTests.cs (18)
131var dataView = ML.Data.LoadFromEnumerable( 160var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 161var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 162var invalidDataWrongVectorSize = ML.Data.LoadFromEnumerable(sizeData); 186var dataView = ML.Data.LoadFromEnumerable( 361var dataView = ML.Data.LoadFromEnumerable( 394var dataView = ML.Data.LoadFromEnumerable( 428var dataView = ML.Data.LoadFromEnumerable( 467var dataView = ML.Data.LoadFromEnumerable( 535var idv = mlContext.Data.LoadFromEnumerable(data); 561var idv = mlContext.Data.LoadFromEnumerable(data); 637var dataView = ML.Data.LoadFromEnumerable(dataPoints); 693var dataView = ML.Data.LoadFromEnumerable(dataPoints); 746var dataView = ML.Data.LoadFromEnumerable(dataPoints); 860var dataView = ML.Data.LoadFromEnumerable(dataPoints); 900var dataView = ML.Data.LoadFromEnumerable(dataPoints); 962var dataView = ML.Data.LoadFromEnumerable( 1070var dataView = ML.Data.LoadFromEnumerable(dataPoints);
Microsoft.ML.PerformanceTests (5)
ImageClassificationBench.cs (1)
58_mlContext.Data.LoadFromEnumerable(images));
ShuffleRowsBench.cs (1)
32IDataView data = _context.Data.LoadFromEnumerable(_rows);
StochasticDualCoordinateAscentClassifierBench.cs (3)
166public void PredictIrisBatchOf1() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[0])); 169public void PredictIrisBatchOf2() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[1])); 172public void PredictIrisBatchOf5() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[2]));
Microsoft.ML.Samples (264)
Dynamic\DataOperations\BootstrapSample.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\DataOperations\CrossValidationSplit.cs (1)
22var dataview = mlContext.Data.LoadFromEnumerable(examples);
Dynamic\DataOperations\DataViewEnumerable.cs (1)
23IDataView data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\FilterRowsByColumn.cs (1)
20var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (1)
33var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\DataOperations\FilterRowsByMissingValues.cs (1)
32var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\LoadFromEnumerable.cs (2)
39IDataView data = mlContext.Data.LoadFromEnumerable(enumerableKnownSize); 82.LoadFromEnumerable(enumerableUnknownSize, definedSchema);
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
30IDataView data = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
30IDataView data = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\DataOperations\ShuffleRows.cs (1)
20var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\SkipRows.cs (1)
19var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\TakeRows.cs (1)
20var data = mlContext.Data.LoadFromEnumerable(enumerableOfData);
Dynamic\DataOperations\TrainTestSplit.cs (1)
22var dataview = mlContext.Data.LoadFromEnumerable(examples);
Dynamic\ModelOperations\SaveLoadModel.cs (1)
23var dataView = mlContext.Data.LoadFromEnumerable(data);
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
23var dataView = mlContext.Data.LoadFromEnumerable(data);
Dynamic\NgramExtraction.cs (1)
29var trainData = ml.Data.LoadFromEnumerable(data);
Dynamic\SimpleDataViewImplementation.cs (1)
105/// .LoadFromEnumerable{TRow}(IEnumerable{TRow}, SchemaDefinition)"/>
Dynamic\TensorFlow\ImageClassification.cs (1)
39var idv = mlContext.Data.LoadFromEnumerable(data);
Dynamic\TensorFlow\TextClassification.cs (1)
42var dataView = mlContext.Data.LoadFromEnumerable(data);
Dynamic\TextTransform.cs (1)
31var trainData = ml.Data.LoadFromEnumerable(data);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
32var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
34var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 47.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 44.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FastForest.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 51.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FastTree.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 51.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
27var trainingData = mlContext.Data.LoadFromEnumerable(data);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
28var trainingData = mlContext.Data.LoadFromEnumerable(data);
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
24var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 45.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LdSvm.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 45.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LightGbm.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 50.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 45.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
18var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 44.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 56.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 44.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 58.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 48.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 45.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 48.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\Clustering\KMeans.cs (2)
24IDataView trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 35var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (2)
25IDataView trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 43var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
44mlContext.Data.LoadFromEnumerable(images));
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (2)
48LoadFromEnumerable(train_images); 67LoadFromEnumerable(test_images);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
43mlContext.Data.LoadFromEnumerable(images));
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
43mlContext.Data.LoadFromEnumerable(images));
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 41.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 49.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 44.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 54.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 41.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (2)
30var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 47.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 42.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 42.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
24var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 49.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 58.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 49.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 58.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
Dynamic\Trainers\Ranking\FastTree.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 37var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 51var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Ranking\LightGbm.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 37var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 52var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
23var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (1)
31var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
32var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (2)
37var dataView = mlContext.Data.LoadFromEnumerable(data); 74var prediction = model.Transform(mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastForest.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastForestWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 52var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastTree.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastTreeTweedie.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 54var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 55var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\Gam.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 39var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
24var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Regression\GamWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 50var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 37var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 51var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\LightGbm.cs (2)
27var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 40var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (2)
28var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 59var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 51var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 48var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
23var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Trainers\Regression\Sdca.cs (2)
24var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 36var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Trainers\Regression\SdcaWithOptions.cs (2)
25var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 52var testData = mlContext.Data.LoadFromEnumerable(
Dynamic\Transforms\ApplyOnnxModel.cs (1)
26var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (1)
34var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\CalculateFeatureContribution.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
27IDataView data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
25IDataView data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
27IDataView data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
25IDataView data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Concatenate.cs (1)
39var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Conversion\ConvertType.cs (1)
20var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (1)
37var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\Hash.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
26var trainData = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (1)
32var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(examples);
Dynamic\Transforms\Conversion\MapKeyToVector.cs (1)
29var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapValue.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (2)
29var data = mlContext.Data.LoadFromEnumerable(rawData); 42var lookupIdvMap = mlContext.Data.LoadFromEnumerable(lookupData);
Dynamic\Transforms\Conversion\MapValueToArray.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (2)
27var data = mlContext.Data.LoadFromEnumerable(rawData); 78var lookupIdvMap = mlContext.Data.LoadFromEnumerable(lookupData);
Dynamic\Transforms\CopyColumns.cs (1)
38var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\CustomMapping.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
30var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
29var tribeDataView = mlContext.Data.LoadFromEnumerable(tribe);
Dynamic\Transforms\DropColumns.cs (1)
38var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Expression.cs (1)
29var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (1)
31var data = mlContext.Data.LoadFromEnumerable(rawData);
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
21var data = mlContext.Data.LoadFromEnumerable(images);
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (1)
29var data = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\IndicateMissingValues.cs (1)
24var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeBinning.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
34var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeLogMeanVariance.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (1)
26var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeLpNorm.cs (1)
26var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeMeanVariance.cs (1)
27var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeMinMax.cs (1)
25var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (1)
42var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\NormalizeSupervisedBinning.cs (1)
37var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
22var trainData = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
21var trainData = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\ReplaceMissingValues.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (1)
32var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\SelectColumns.cs (1)
38var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\StatefulCustomMapping.cs (1)
28var data = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\FeaturizeText.cs (1)
39var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (1)
40var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (1)
33var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\NormalizeText.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
37var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
40var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
44var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
49var dataview = mlContext.Data.LoadFromEnumerable(samples);
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (1)
24var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\RemoveStopWords.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\Text\TokenizeIntoWords.cs (1)
23var emptyDataView = mlContext.Data.LoadFromEnumerable(emptySamples);
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
34var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (1)
30var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
50var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (1)
54var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
50var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
31var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
50var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (1)
48var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
42var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (1)
40var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
21var dataView = mlContext.Data.LoadFromEnumerable(seasonalData);
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
48var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (1)
56var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
42var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
42var dataView = ml.Data.LoadFromEnumerable(data);
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
27var dataView = mlContext.Data.LoadFromEnumerable(dataPoints);
Dynamic\WithOnFitDelegate.cs (1)
36var data = mlContext.Data.LoadFromEnumerable(samples);
Microsoft.ML.Samples.GPU (7)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
39var idv = mlContext.Data.LoadFromEnumerable(data);
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
42var dataView = mlContext.Data.LoadFromEnumerable(data);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
44mlContext.Data.LoadFromEnumerable(images));
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (2)
48LoadFromEnumerable(train_images); 67LoadFromEnumerable(test_images);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
43mlContext.Data.LoadFromEnumerable(images));
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
43mlContext.Data.LoadFromEnumerable(images));
Microsoft.ML.TensorFlow.Tests (15)
TensorFlowEstimatorTests.cs (5)
64var dataView = ML.Data.LoadFromEnumerable( 84var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 85var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 86var invalidDataWrongVectorSize = ML.Data.LoadFromEnumerable(sizeData); 105var dataView = ML.Data.LoadFromEnumerable(
TensorflowTests.cs (10)
188var loader = _mlContext.Data.LoadFromEnumerable( 287var loader = _mlContext.Data.LoadFromEnumerable(data); 409var loader = _mlContext.Data.LoadFromEnumerable(data); 1115var dataView = _mlContext.Data.LoadFromEnumerable<InMemoryImage>(dataObjects); 1264var dataView = _mlContext.Data.LoadFromEnumerable(data); 1404_mlContext.Data.LoadFromEnumerable(images), seed: 1); 1479_mlContext.Data.LoadFromEnumerable(images), seed: 1); 1611_mlContext.Data.LoadFromEnumerable(images), seed: 1); 1766_mlContext.Data.LoadFromEnumerable(images), seed: 1); 1855_mlContext.Data.LoadFromEnumerable(images), seed: 1);
Microsoft.ML.TestFramework (2)
TestSparseDataView.cs (2)
51var data = env.Data.LoadFromEnumerable(inputs); 91var data = env.Data.LoadFromEnumerable(inputs);
Microsoft.ML.Tests (219)
AnomalyDetectionTests.cs (3)
151var data = mlContext.Data.LoadFromEnumerable(samples); 195var data = mlContext.Data.LoadFromEnumerable(samples); 275var data = mlContext.Data.LoadFromEnumerable(samples);
CachingTests.cs (4)
49pipe.Fit(ML.Data.LoadFromEnumerable(trainData)); 59pipe.Fit(ML.Data.LoadFromEnumerable(trainData)); 84var data = ML.Data.LoadFromEnumerable(src); 90data = ML.Data.LoadFromEnumerable(src);
CollectionsDataViewTest.cs (9)
160var dataView = env.Data.LoadFromEnumerable(data); 191var dataView = env.Data.LoadFromEnumerable(data); 234var dataView = env.Data.LoadFromEnumerable(data); 260var dataView = env.Data.LoadFromEnumerable(data); 314var dataView = env.Data.LoadFromEnumerable(data); 344var dataView = env.Data.LoadFromEnumerable(data); 395var dataView = env.Data.LoadFromEnumerable(data); 446var dataView = env.Data.LoadFromEnumerable(data); 483var dataView = env.Data.LoadFromEnumerable(data);
EvaluateTests.cs (1)
47var inputDV = mlContext.Data.LoadFromEnumerable(inputArray);
ImagesTests.cs (3)
236var data = ML.Data.LoadFromEnumerable(images); 1091var data = mlContext.Data.LoadFromEnumerable(dataPoints); 1182var dataView = mlContext.Data.LoadFromEnumerable<InMemoryImage>(dataObjects);
OnnxConversionTest.cs (10)
319IDataView dataSoloCalibrator = ML.Data.LoadFromEnumerable(GetCalibratorTestData()); 324IDataView dataSoloCalibratorNonStandard = ML.Data.LoadFromEnumerable(GetCalibratorTestDataNonStandard()); 423var dataView = mlContext.Data.LoadFromEnumerable(samples); 1160var dataView = mlContext.Data.LoadFromEnumerable(samples); 1446var dataView = mlContext.Data.LoadFromEnumerable(samples); 1474var dataView = mlContext.Data.LoadFromEnumerable(samples); 1552var dataView = mlContext.Data.LoadFromEnumerable(samples); 1576var dataView = mlContext.Data.LoadFromEnumerable(samples); 2186var dataView = ML.Data.LoadFromEnumerable(data, schemaDefinition); 2223var dataView = ML.Data.LoadFromEnumerable(data, schemaDefinition);
OnnxSequenceTypeWithAttributesTest.cs (2)
44var dataView = ctx.Data.LoadFromEnumerable(new List<FloatInput>()); 83var dataView = ctx.Data.LoadFromEnumerable(new List<FloatInput>());
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
94var data = mlContext.Data.LoadFromEnumerable(samples);
Scenarios\Api\TestApi.cs (4)
153var idv = env.Data.LoadFromEnumerable(data); 161var applied = env.Data.LoadFromEnumerable(data); 229var idv = mlContext.Data.LoadFromEnumerable(data, autoSchema); 419var input = mlContext.Data.LoadFromEnumerable(new[]
Scenarios\ClusteringTests.cs (2)
62var trainData = mlContext.Data.LoadFromEnumerable(data); 63var testData = mlContext.Data.LoadFromEnumerable(clusters);
Scenarios\WordBagTest.cs (2)
30var dataview = mlContext.Data.LoadFromEnumerable(samples); 67var dataview = mlContext.Data.LoadFromEnumerable(samples);
SvmLightTests.cs (9)
77var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 105var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 134var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 164var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 188expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 212var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 307var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 464var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[] 491var expectedData = ML.Data.LoadFromEnumerable(new SvmLightOutput[]
TermEstimatorTests.cs (5)
101var dataView = ML.Data.LoadFromEnumerable(data); 107var invalidData = ML.Data.LoadFromEnumerable(xydata); 108var validFitNotValidTransformData = ML.Data.LoadFromEnumerable(stringData); 116var dataView = ML.Data.LoadFromEnumerable(data); 138var dataView = ML.Data.LoadFromEnumerable(data);
TrainerEstimators\CalibratorEstimators.cs (3)
154mlContext.Data.LoadFromEnumerable<CalibratorTestInputReversedOrder>( 160mlContext.Data.LoadFromEnumerable<CalibratorTestInputUniqueScoreColumnName>( 166mlContext.Data.LoadFromEnumerable<CalibratorTestInputReversedOrderAndUniqueScoreColumnName>(
TrainerEstimators\FAFMEstimator.cs (2)
23var dataView = mlContext.Data.LoadFromEnumerable(data); 44var dataView = mlContext.Data.LoadFromEnumerable(data);
TrainerEstimators\MatrixFactorizationTests.cs (13)
212var dataView = ML.Data.LoadFromEnumerable(dataMatrix); 259var testDataView = mlContext.Data.LoadFromEnumerable(testMatrix); 323var dataView = ML.Data.LoadFromEnumerable(dataMatrix); 379var invalidTestDataView = mlContext.Data.LoadFromEnumerable(invalidTestMatrix); 443var dataView = ML.Data.LoadFromEnumerable(dataMatrix); 486var testDataView = ML.Data.LoadFromEnumerable(testDataMatrix); 558var testDataView = ML.Data.LoadFromEnumerable(testDataMatrix); 587var dataView = ML.Data.LoadFromEnumerable(dataMatrix); 628var testDataView = ML.Data.LoadFromEnumerable(testDataMatrix); 653var dataView = mlContext.Data.LoadFromEnumerable(data); 679var prediction = model.Transform(mlContext.Data.LoadFromEnumerable(testData)); 770var dataView = ML.Data.LoadFromEnumerable(dataMatrix); 809var testData = ML.Data.LoadFromEnumerable(testMatrix);
TrainerEstimators\SdcaTests.cs (6)
67var data = mlContext.Data.LoadFromEnumerable(rawData); 111var data = mlContext.Data.LoadFromEnumerable(rawData); 167var data = mlContext.Data.LoadFromEnumerable(rawData); 226var data = mlContext.Data.LoadFromEnumerable(rawData); 268var data = mlContext.Data.LoadFromEnumerable(rawData); 303var data = mlContext.Data.LoadFromEnumerable(rawData);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (15)
22var dataView = ML.Data.LoadFromEnumerable(data); 129var dataView = ML.Data.LoadFromEnumerable(data); 181var dataView = ML.Data.LoadFromEnumerable(data); 235var dataView = ML.Data.LoadFromEnumerable(data); 303var dataView = ML.Data.LoadFromEnumerable(data); 354var dataView = ML.Data.LoadFromEnumerable(data); 393var dataView = ML.Data.LoadFromEnumerable(data); 432var dataView = ML.Data.LoadFromEnumerable(data); 470var dataView = ML.Data.LoadFromEnumerable(data); 508var dataView = ML.Data.LoadFromEnumerable(data); 546var dataView = ML.Data.LoadFromEnumerable(data); 584var dataView = ML.Data.LoadFromEnumerable(data); 639var dataView = ML.Data.LoadFromEnumerable(data); 713var dataView = ML.Data.LoadFromEnumerable(data); 771var dataView = ML.Data.LoadFromEnumerable(data);
TrainerEstimators\TreeEstimators.cs (4)
461var dataView = mlContext.Data.LoadFromEnumerable(dataList); 752var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 759trainingData = mlContext.Data.LoadFromEnumerable(dataPoints); 766trainingData = mlContext.Data.LoadFromEnumerable(dataPoints);
Transformers\CategoricalHashTests.cs (4)
51var dataView = ML.Data.LoadFromEnumerable(data); 88var invalidData = ML.Data.LoadFromEnumerable(wrongCollection); 119var dataView = ML.Data.LoadFromEnumerable(data); 224var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\CategoricalTests.cs (6)
70var dataView = ML.Data.LoadFromEnumerable(data); 108var dataView = mlContext.Data.LoadFromEnumerable(data); 131var dataView = mlContext.Data.LoadFromEnumerable(data); 163var invalidData = ML.Data.LoadFromEnumerable(wrongCollection); 192var dataView = ML.Data.LoadFromEnumerable(data); 318var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\CharTokenizeTests.cs (3)
41var dataView = ML.Data.LoadFromEnumerable(data); 43var invalidDataView = ML.Data.LoadFromEnumerable(invalidData); 61var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\ConvertTests.cs (9)
129var dataView = ML.Data.LoadFromEnumerable(data); 168var allTypesDataView = ML.Data.LoadFromEnumerable(allTypesData); 248var expectedConvertedValues = ML.Data.LoadFromEnumerable(allTypesDataConverted); 253var allInputTypesDataView = ML.Data.LoadFromEnumerable(allInputTypesData); 266var expectedValuesDataView = ML.Data.LoadFromEnumerable(expectedValuesData); 284var dataView = mlContext.Data.LoadFromEnumerable(data); 319var dataView = ML.Data.LoadFromEnumerable(data); 345var dataView = ML.Data.LoadFromEnumerable(data); 388var dataView = ML.Data.LoadFromEnumerable(dataArray);
Transformers\CopyColumnEstimatorTests.cs (7)
49var dataView = env.Data.LoadFromEnumerable(data); 61var dataView = env.Data.LoadFromEnumerable(data); 79var dataView = env.Data.LoadFromEnumerable(data); 80var xyDataView = env.Data.LoadFromEnumerable(xydata); 98var dataView = env.Data.LoadFromEnumerable(data); 116var dataView = env.Data.LoadFromEnumerable(data); 135var dataView = env.Data.LoadFromEnumerable(data);
Transformers\CustomMappingTests.cs (1)
219var data = ML.Data.LoadFromEnumerable(new[]
Transformers\GroupUngroup.cs (2)
49var dataView = ML.Data.LoadFromEnumerable(data); 86var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\HashTests.cs (5)
50var dataView = ML.Data.LoadFromEnumerable(data); 72var dataView = ML.Data.LoadFromEnumerable(data); 112var dataView = ML.Data.LoadFromEnumerable(data); 335IDataView data = ML.Data.LoadFromEnumerable(samples); 381var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\KeyToBinaryVectorEstimatorTest.cs (3)
47var dataView = ML.Data.LoadFromEnumerable(data); 91var dataView = ML.Data.LoadFromEnumerable(data); 147var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\KeyToVectorEstimatorTests.cs (4)
54var dataView = ML.Data.LoadFromEnumerable(data); 101var dataView = ML.Data.LoadFromEnumerable(data); 206var dataView = ML.Data.LoadFromEnumerable(data); 254IDataView dataview = mlContext.Data.LoadFromEnumerable(GetData());
Transformers\NAIndicatorTests.cs (4)
46var dataView = ML.Data.LoadFromEnumerable(data); 74var dataView = ML.Data.LoadFromEnumerable(data); 103var invalidData = ML.Data.LoadFromEnumerable(wrongCollection); 137var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\NAReplaceTests.cs (5)
66var dataView = ML.Data.LoadFromEnumerable(data); 87var expectedOutputDataview = ML.Data.LoadFromEnumerable(expectedOutput); 111var dataView = ML.Data.LoadFromEnumerable(data); 133var invalidData = ML.Data.LoadFromEnumerable(wrongCollection); 169var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\NormalizerTests.cs (3)
905var data = ML.Data.LoadFromEnumerable(samples); 946var data = ML.Data.LoadFromEnumerable(samples); 1054var data = ML.Data.LoadFromEnumerable(samples);
Transformers\RffTests.cs (4)
50var invalidData = ML.Data.LoadFromEnumerable(new[] { new TestClassInvalidSchema { A = 1 }, new TestClassInvalidSchema { A = 1 } }); 51var validFitInvalidData = ML.Data.LoadFromEnumerable(new[] { new TestClassBiggerSize { A = new float[200] }, new TestClassBiggerSize { A = new float[200] } }); 52var dataView = ML.Data.LoadFromEnumerable(data); 98var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\SelectColumnsTests.cs (14)
48var dataView = ML.Data.LoadFromEnumerable(data); 67var dataView = ML.Data.LoadFromEnumerable(data); 88var dataView = ML.Data.LoadFromEnumerable(data); 107var dataView = ML.Data.LoadFromEnumerable(data); 108var invalidDataView = ML.Data.LoadFromEnumerable(invalidData); 123var dataView = ML.Data.LoadFromEnumerable(data); 132var dataView = ML.Data.LoadFromEnumerable(data); 155var dataView = ML.Data.LoadFromEnumerable(data); 178var dataView = ML.Data.LoadFromEnumerable(data); 197var dataView = ML.Data.LoadFromEnumerable(data); 219var dataView = ML.Data.LoadFromEnumerable(data); 247var dataView = ML.Data.LoadFromEnumerable(data); 275var dataView = ML.Data.LoadFromEnumerable(data); 303var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\TextFeaturizerTests.cs (11)
49var dataView = ML.Data.LoadFromEnumerable(data); 67var dataView = ML.Data.LoadFromEnumerable(data); 96var dataView = ML.Data.LoadFromEnumerable(data); 138var dataView = ML.Data.LoadFromEnumerable(data); 180var dataView = ML.Data.LoadFromEnumerable(data); 209var dataView = ML.Data.LoadFromEnumerable(data); 240var dataView = ML.Data.LoadFromEnumerable(data); 301var dataView = ML.Data.LoadFromEnumerable(data); 340var dataView = ML.Data.LoadFromEnumerable(data); 378var dataView = ML.Data.LoadFromEnumerable(data); 415var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\TextNormalizer.cs (3)
42var dataView = ML.Data.LoadFromEnumerable(data); 47var invalidDataView = ML.Data.LoadFromEnumerable(invalidData); 81var dataView = ML.Data.LoadFromEnumerable(data);
Transformers\ValueMappingTests.cs (26)
53var dataView = ML.Data.LoadFromEnumerable(data); 91var dataView = ML.Data.LoadFromEnumerable(data); 137var dataView = ML.Data.LoadFromEnumerable(data); 172var dataView = ML.Data.LoadFromEnumerable(data); 227var dataView = ML.Data.LoadFromEnumerable(data); 234var mapView = ML.Data.LoadFromEnumerable(map); 261var dataView = ML.Data.LoadFromEnumerable(data); 305var dataView = ML.Data.LoadFromEnumerable(data); 343var dataView = ML.Data.LoadFromEnumerable(data); 362var dataView = ML.Data.LoadFromEnumerable(data); 394var dataView = ML.Data.LoadFromEnumerable(data); 427var dataView = ML.Data.LoadFromEnumerable(data); 469var dataView = ML.Data.LoadFromEnumerable(data); 509var dataView = ML.Data.LoadFromEnumerable(data); 550var dataView = ML.Data.LoadFromEnumerable(data); 590var dataView = ML.Data.LoadFromEnumerable(data); 592var badDataView = ML.Data.LoadFromEnumerable(badData); 609var dataView = ML.Data.LoadFromEnumerable(data); 611var badDataView = ML.Data.LoadFromEnumerable(badData); 628var dataView = ML.Data.LoadFromEnumerable(data); 631var badDataView = ML.Data.LoadFromEnumerable(badData); 685var dataView = ML.Data.LoadFromEnumerable(data); 715var dataView = ML.Data.LoadFromEnumerable(data); 732var dataView = ML.Data.LoadFromEnumerable(data); 763var data = ML.Data.LoadFromEnumerable(rawData); 775var lookupIdvMap = ML.Data.LoadFromEnumerable(lookupData);
Transformers\WordBagTransformerTests.cs (4)
38var dataview = mlContext.Data.LoadFromEnumerable(samples); 67var dataview = mlContext.Data.LoadFromEnumerable(samples); 105var dataviewDefault = mlContext.Data.LoadFromEnumerable(samplesDefault); 106var dataviewNonDefault = mlContext.Data.LoadFromEnumerable(samplesNonDefault);
Transformers\WordTokenizeTests.cs (3)
55var dataView = ML.Data.LoadFromEnumerable(data); 57var invalidDataView = ML.Data.LoadFromEnumerable(invalidData); 99var dataView = ML.Data.LoadFromEnumerable(data);
Microsoft.ML.TimeSeries.Tests (29)
TimeSeriesDirectApi.cs (10)
113var dataView = env.Data.LoadFromEnumerable(data); 158var dataView = env.Data.LoadFromEnumerable(data); 216var dataView = ml.Data.LoadFromEnumerable(data); 292var dataView = ml.Data.LoadFromEnumerable(data); 360var dataView = env.Data.LoadFromEnumerable(data); 425var dataView = ml.Data.LoadFromEnumerable(data); 558dataView = ml.Data.LoadFromEnumerable(data); 615dataView = ml.Data.LoadFromEnumerable(data); 915dataView = ml.Data.LoadFromEnumerable<TimeSeriesDataDouble>(data); 1076var dataView = mlContext.Data.LoadFromEnumerable(input);
TimeSeriesEstimatorTests.cs (15)
54var dataView = ML.Data.LoadFromEnumerable(data); 69var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 70var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 88var dataView = ml.Data.LoadFromEnumerable(data); 105var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 106var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 124var dataView = ML.Data.LoadFromEnumerable(data); 139var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 140var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 155var dataView = ML.Data.LoadFromEnumerable(data); 166var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 167var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData); 182var dataView = ML.Data.LoadFromEnumerable(data); 193var invalidDataWrongNames = ML.Data.LoadFromEnumerable(xyData); 194var invalidDataWrongTypes = ML.Data.LoadFromEnumerable(stringData);
TimeSeriesSimpleApiTests.cs (4)
44var dataView = env.Data.LoadFromEnumerable(data); 86var dataView = env.Data.LoadFromEnumerable(data); 129var dataView = env.Data.LoadFromEnumerable(data); 181var dataView = env.Data.LoadFromEnumerable(data);
Microsoft.ML.TorchSharp.Tests (10)
NerTests.cs (4)
36var labels = ML.Data.LoadFromEnumerable( 46var dataView = ML.Data.LoadFromEnumerable( 112var labels = ML.Data.LoadFromEnumerable( 125var dataView = ML.Data.LoadFromEnumerable(
QATests.cs (1)
32var dataView = ML.Data.LoadFromEnumerable(
TextClassificationTests.cs (5)
54var dataView = ML.Data.LoadFromEnumerable( 117var dataNoLabel = ML.Data.LoadFromEnumerable( 191var dataView = ML.Data.LoadFromEnumerable( 264var dataView = ML.Data.LoadFromEnumerable( 347var dataView = ML.Data.LoadFromEnumerable(