111 references to LoadFromTextFile
Microsoft.ML.AutoML (1)
AutoMLExperiment\ITrialResultManager.cs (1)
148var dataView = context.Data.LoadFromTextFile(filePath, textLoaderColumns, separatorChar: ',', hasHeader: true, allowQuoting: true);
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
4719var data = ML.Data.LoadFromTextFile(dataPath, new[] 4761var data = ML.Data.LoadFromTextFile(dataPath, new[]
Microsoft.ML.OnnxTransformerTest (4)
DnnImageFeaturizerTest.cs (1)
104var data = ML.Data.LoadFromTextFile(dataFile, new[] {
OnnxTransformTests.cs (3)
249var data = ML.Data.LoadFromTextFile(dataFile, new[] { 300var data = ML.Data.LoadFromTextFile(dataFile, new[] { 1129var data = ML.Data.LoadFromTextFile(dataFile, new[] {
Microsoft.ML.PerformanceTests (1)
KMeansAndLogisticRegressionBench.cs (1)
24var input = ml.Data.LoadFromTextFile(_dataPath, new[] {
Microsoft.ML.Samples (1)
Dynamic\TensorFlow\TextClassification.cs (1)
45var lookupMap = mlContext.Data.LoadFromTextFile(Path.Combine(
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
45var lookupMap = mlContext.Data.LoadFromTextFile(Path.Combine(
Microsoft.ML.TensorFlow.Tests (8)
TensorFlowEstimatorTests.cs (3)
156var data = ML.Data.LoadFromTextFile(dataFile, new[] { 198var data = ML.Data.LoadFromTextFile(dataFile, new[] { 249var data = ML.Data.LoadFromTextFile(dataFile, new[] {
TensorflowTests.cs (5)
1011var data = _mlContext.Data.LoadFromTextFile(dataFile, 1070var data = _mlContext.Data.LoadFromTextFile(dataFile, columns: new[] 1223var data = _mlContext.Data.LoadFromTextFile(dataFile, 1266var lookupMap = _mlContext.Data.LoadFromTextFile(@"sentiment_model/imdb_word_index.csv", 2053IDataView data = _mlContext.Data.LoadFromTextFile(dataFile, new[] {
Microsoft.ML.Tests (91)
ImagesTests.cs (1)
1129var tsvFile = mlContext.Data.LoadFromTextFile(tsvPath, columns: new[]
OnnxConversionTest.cs (20)
262var dataView = mlContext.Data.LoadFromTextFile(dataPath, new[] { 386var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { 477mlContext.Data.LoadFromTextFile(filePath, columnsScalar, separatorChar: '\t'), //scalar 478mlContext.Data.LoadFromTextFile(filePath, columnsVector , separatorChar: '\t') //vector 769var data = ML.Data.LoadFromTextFile(dataPath, new[] { 870var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { 947var dataView = mlContext.Data.LoadFromTextFile(filePath, columns); 967var dataView = mlContext.Data.LoadFromTextFile(dataSource, new[] { 1034var data = ML.Data.LoadFromTextFile(dataFile, new[] 1074var dataView = mlContext.Data.LoadFromTextFile(dataPath, new[] { 1125var dataView = mlContext.Data.LoadFromTextFile(dataPath, new[] { 1202mlContext.Data.LoadFromTextFile(filePath, columnsScalar, separatorChar: '\t'), //scalar 1203mlContext.Data.LoadFromTextFile(filePath, columnsVector , separatorChar: '\t') //vector 1240mlContext.Data.LoadFromTextFile(filePath, columnsScalar, separatorChar: '\t'), //scalar 1241mlContext.Data.LoadFromTextFile(filePath, columnsVector , separatorChar: '\t') //vector 1404mlContext.Data.LoadFromTextFile(filePath, columnsScalar, separatorChar: '\t'), //scalar 1405mlContext.Data.LoadFromTextFile(filePath, columnsVector , separatorChar: '\t') //vector 1603var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { 1847var dataView = mlContext.Data.LoadFromTextFile(dataPath, new[] { 1886var dataView = ML.Data.LoadFromTextFile(dataPath, new[] {
PermutationFeatureImportanceTests.cs (1)
489var data = ML.Data.LoadFromTextFile(dataPath,
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (5)
334IDataView data = context.Data.LoadFromTextFile(dataPath, new[] 374IDataView data = context.Data.LoadFromTextFile(dataPath, new[] 409IDataView data = context.Data.LoadFromTextFile(dataPath, new[] 445IDataView data = context.Data.LoadFromTextFile(dataPath, new[] 706var data = mlContext.Data.LoadFromTextFile(GetDataPath("adult.tiny.with-schema.txt"), new[]
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
42var testLoader = ml.Data.LoadFromTextFile(dataPath, TestDatasets.irisData.GetLoaderColumns(), separatorChar: ',', hasHeader: true);
Scenarios\Api\Estimators\Extensibility.cs (1)
51var testLoader = ml.Data.LoadFromTextFile(dataPath, TestDatasets.irisData.GetLoaderColumns(), separatorChar: ',');
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
39var testLoader = ml.Data.LoadFromTextFile(dataPath, TestDatasets.irisData.GetLoaderColumns(), separatorChar: ',', hasHeader: true);
Scenarios\Api\TestApi.cs (2)
301var fullInput = mlContext.Data.LoadFromTextFile(dataPath, new[] { 349var input = mlContext.Data.LoadFromTextFile(dataPath, new[] {
Scenarios\GetColumnTests.cs (3)
29var data = mlContext.Data.LoadFromTextFile(path, new[] { 52var data1 = mlContext.Data.LoadFromTextFile(path, new[] { 71var data = mlContext.Data.LoadFromTextFile(path, new[] {
TrainerEstimators\OnlineLinearTests.cs (2)
20var regressionData = ML.Data.LoadFromTextFile(dataPath, new[] { 34var binaryData = ML.Data.LoadFromTextFile(dataPath, new[] {
TrainerEstimators\SdcaTests.cs (1)
21var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\CategoricalHashTests.cs (1)
81var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\CategoricalTests.cs (1)
157var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\CountTargetEncodingTests.cs (5)
26var data = ML.Data.LoadFromTextFile(dataPath, new[] { 42var data = ML.Data.LoadFromTextFile(dataPath, new[] { new TextLoader.Column("Label", DataKind.Single, 0), 57var data = ML.Data.LoadFromTextFile(dataPath, new[] { 77var data = ML.Data.LoadFromTextFile(dataPath, new[] { 162var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\FeatureSelectionTests.cs (8)
31var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 36var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 65var data = ML.Data.LoadFromTextFile(dataPath, new[] { 107var data = ML.Data.LoadFromTextFile(dataPath, new[] { 148var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { 170var data = ML.Data.LoadFromTextFile(dataPath, new[] { 208var dataView = ML.Data.LoadFromTextFile(dataPath, new[] { 230var dataView = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\HashTests.cs (1)
357var dataView = ML.Data.LoadFromTextFile(dataPath, new[]
Transformers\KeyToBinaryVectorEstimatorTest.cs (1)
63var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\KeyToValueTests.cs (1)
68var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\KeyToVectorEstimatorTests.cs (1)
73var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\NAIndicatorTests.cs (1)
95var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\NAReplaceTests.cs (1)
125var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\NormalizerTests.cs (11)
656var data = ML.Data.LoadFromTextFile(dataSource, new[] { 661var invalidData = ML.Data.LoadFromTextFile(dataSource, new[] { 690var data = ML.Data.LoadFromTextFile(dataSource, new[] { 695var invalidData = ML.Data.LoadFromTextFile(dataSource, new[] { 732var dataView = ML.Data.LoadFromTextFile(dataSource, new[] { 754var data = ML.Data.LoadFromTextFile(dataSource, new[] { 759var invalidData = ML.Data.LoadFromTextFile(dataSource, new[] { 793var dataView = ML.Data.LoadFromTextFile(dataSource, new[] { 814var data = ML.Data.LoadFromTextFile(dataSource, new[] { 819var invalidData = ML.Data.LoadFromTextFile(dataSource, new[] { 853var dataView = ML.Data.LoadFromTextFile(dataSource, new[] {
Transformers\PcaTests.cs (3)
29var data = ML.Data.LoadFromTextFile(_dataSource, new[] { 35var invalidData = ML.Data.LoadFromTextFile(_dataSource, new[] { 53var data = ML.Data.LoadFromTextFile(_dataSource, new[] {
Transformers\RffTests.cs (1)
67var data = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\TextFeaturizerTests.cs (16)
426var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 431var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 459var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 464var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 489var data = ML.Data.LoadFromTextFile(dataPath, new[] { 526var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 531var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 589var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 594var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 619var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 624var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 656var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 673var data = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 678var invalidData = ML.Data.LoadFromTextFile(sentimentDataPath, new[] { 762ML.Data.LoadFromTextFile(GetDataPath(TestDatasets.Sentiment.testFilename), 777var dataView = ML.Data.LoadFromTextFile(dataPath, new[] {
Transformers\TextNormalizer.cs (1)
51dataView = ML.Data.LoadFromTextFile(dataPath, new[] {
Microsoft.ML.TimeSeries.Tests (1)
TimeSeriesDirectApi.cs (1)
539dataView = ml.Data.LoadFromTextFile(dataPath, new[] {
Microsoft.ML.TorchSharp.Tests (1)
NerTests.cs (1)
195var labels = ML.Data.LoadFromTextFile(labelFilePath, new TextLoader.Column[]