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