125 instantiations of Options
Microsoft.ML.AutoML (4)
ColumnInference\ColumnInferenceApi.cs (2)
52var typedLoaderOptions = new TextLoader.Options 89var textLoaderOptions = new TextLoader.Options()
ColumnInference\ColumnTypeInference.cs (1)
260var textLoaderOptions = new TextLoader.Options
ColumnInference\TextFileContents.cs (1)
64var options = new TextLoader.Options
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
693return new TextLoader.Options() 708return new TextLoader.Options()
Microsoft.ML.CodeGenerator.Tests (10)
ApprovalTests\ConsoleCodeGeneratorTests.cs (9)
569var textLoaderArgs = new TextLoader.Options() 608var textLoaderArgs = new TextLoader.Options() 645var textLoaderArgs = new TextLoader.Options() 698var textLoaderArgs = new TextLoader.Options() 736var textLoaderArgs = new TextLoader.Options() 787var textLoaderArgs = new TextLoader.Options() 818var textLoaderArgs = new TextLoader.Options() 993var textLoaderArgs = new TextLoader.Options() 1103var textLoaderArgs = new TextLoader.Options()
CodeGenTests.cs (1)
100TextLoaderOptions = new TextLoader.Options()
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (1)
1362new TextLoader.Options()
UnitTests\TestHosts.cs (1)
131env.Data.CreateTextLoader(new TextLoader.Options { Columns = new[] { new TextLoader.Column("TestColumn", DataKind.Single, 0) } });
Microsoft.ML.Data (13)
Commands\DataCommand.cs (2)
361return isText ? TextLoader.Create(Host, new TextLoader.Options(), fileSource) : 365TextLoader.Create(Host, new TextLoader.Options(), fileSource);
DataLoadSave\Text\TextLoader.cs (6)
1150options = options ?? new Options(); 1322string tmp = CmdParser.GetSettings(host, options, new Options() 1361var optionsNew = new Options(); 1391options = new Options(); 1555Options options = new Options 1571options = options ?? new Options();
DataLoadSave\Text\TextLoaderSaverCatalog.cs (2)
61var options = new TextLoader.Options 171var options = new TextLoader.Options
Transforms\ValueMapping.cs (2)
644var txtArgs = new TextLoader.Options() 671new TextLoader.Options()
Transforms\ValueToKeyMappingTransformer.cs (1)
438var options = new TextLoader.Options()
Microsoft.ML.EntryPoints (1)
ImportTextData.cs (1)
52public TextLoader.Options Arguments = new TextLoader.Options();
Microsoft.ML.IntegrationTests (4)
Prediction.cs (1)
40var options = new TextLoader.Options
SchemaDefinitionTests.cs (2)
34var loader = _ml.Data.CreateTextLoader(new TextLoader.Options(), new MultiFileSource(fileName)); 65var loader = _ml.Data.CreateTextLoader(new TextLoader.Options(), new MultiFileSource(fileName));
Validation.cs (1)
73var reader = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Microsoft.ML.PerformanceTests (9)
FeaturizeTextBench.cs (1)
39var textLoader = _mlContext.Data.CreateTextLoader(new TextLoader.Options()
PredictionEngineBench.cs (3)
41var options = new TextLoader.Options() 80var options = new TextLoader.Options() 115var options = new TextLoader.Options()
RffTransform.cs (1)
32var loader = mlContext.Data.CreateTextLoader(new TextLoader.Options
StochasticDualCoordinateAscentClassifierBench.cs (3)
62var options = new TextLoader.Options() 89var arguments = new TextLoader.Options() 131var options = new TextLoader.Options()
TextLoaderBench.cs (1)
42var textLoader = _mlContext.Data.CreateTextLoader(new TextLoader.Options()
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
520new TextLoader.Options() 559new TextLoader.Options()
Microsoft.ML.Samples (8)
Dynamic\DataOperations\LoadingText.cs (1)
168var options = new TextLoader.Options()
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
32new TextLoader.Options
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
32new TextLoader.Options
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
34var data = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
33var data = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
36var data = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
33var data = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
33var data = mlContext.Data.CreateTextLoader(new TextLoader.Options()
Microsoft.ML.TensorFlow.Tests (2)
TensorflowTests.cs (2)
139var data = TextLoader.Create(_mlContext, new TextLoader.Options() 1149var data = TextLoader.Create(_mlContext, new TextLoader.Options()
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (1)
820var argsText = new TextLoader.Options();
DataPipe\TestDataPipeBase.cs (1)
415var args = new TextLoader.Options() { AllowSparse = true, AllowQuoting = true };
Microsoft.ML.Tests (60)
ImagesTests.cs (16)
34var data = TextLoader.Create(env, new TextLoader.Options() 42var invalidData = TextLoader.Create(env, new TextLoader.Options() 65var data = TextLoader.Create(env, new TextLoader.Options() 109var data = TextLoader.Create(env, new TextLoader.Options() 141var data = TextLoader.Create(env, new TextLoader.Options() 178var data = TextLoader.Create(env, new TextLoader.Options() 337var data = TextLoader.Create(env, new TextLoader.Options() 412var data = TextLoader.Create(env, new TextLoader.Options() 488var data = TextLoader.Create(env, new TextLoader.Options() 563var data = TextLoader.Create(env, new TextLoader.Options() 638var data = TextLoader.Create(env, new TextLoader.Options() 713var data = TextLoader.Create(env, new TextLoader.Options() 789var data = TextLoader.Create(env, new TextLoader.Options() 864var data = TextLoader.Create(env, new TextLoader.Options() 940var data = TextLoader.Create(env, new TextLoader.Options() 1012var data = TextLoader.Create(env, new TextLoader.Options()
Scenarios\Api\TestApi.cs (1)
175var loader = TextLoader.Create(mlContext, new TextLoader.Options(), new MultiFileSource(dataFile));
Scenarios\OvaTest.cs (4)
22var reader = new TextLoader(mlContext, new TextLoader.Options() 55var reader = new TextLoader(mlContext, new TextLoader.Options() 91var reader = new TextLoader(mlContext, new TextLoader.Options() 126var reader = new TextLoader(mlContext, new TextLoader.Options()
TermEstimatorTests.cs (1)
56var loader = new TextLoader(ML, new TextLoader.Options
TextLoaderTests.cs (12)
611var loader = mlContext.Data.CreateTextLoader(new TextLoader.Options(), new MultiFileSource(fileName)); 746dataIris = mlContext.Data.CreateTextLoader<Iris>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 767dataIrisStartEnd = mlContext.Data.CreateTextLoader<IrisStartEnd>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 789dataIrisColumnIndices = mlContext.Data.CreateTextLoader<IrisColumnIndices>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 894var readerDecimalMarkerPeriod = new TextLoader(mlContext, new TextLoader.Options() 930TextLoader.Options options = new TextLoader.Options() 989TextLoader.Options options = new TextLoader.Options() 1041var optionsPeriod = new TextLoader.Options() 1051var optionsComma = new TextLoader.Options() 1277var options = new TextLoader.Options() 1389var options = new TextLoader.Options() 1429var options = new TextLoader.Options()
TrainerEstimators\FAFMEstimator.cs (1)
91return new TextLoader.Options()
TrainerEstimators\MatrixFactorizationTests.cs (1)
158return new TextLoader.Options()
TrainerEstimators\MetalinearEstimators.cs (1)
78var options = new TextLoader.Options()
TrainerEstimators\PriorRandomTests.cs (1)
17new TextLoader.Options()
TrainerEstimators\TrainerEstimators.cs (7)
30var reader = new TextLoader(Env, new TextLoader.Options() 59var reader = new TextLoader(Env, new TextLoader.Options 192new TextLoader.Options() 227var data = new TextLoader(Env, new TextLoader.Options 250new TextLoader.Options() 264return new TextLoader.Options() 278var data = new TextLoader(Env, new TextLoader.Options()
Transformers\ConcatTests.cs (2)
46var loader = new TextLoader(ML, new TextLoader.Options 104var loader = new TextLoader(ML, new TextLoader.Options
Transformers\ExpressionTransformerTests.cs (1)
24var loader = new TextLoader(ML, new TextLoader.Options
Transformers\KeyToValueTests.cs (1)
27var reader = new TextLoader(Env, new TextLoader.Options
Transformers\NormalizerTests.cs (8)
37var loader = new TextLoader(Env, new TextLoader.Options 106var loader = new TextLoader(Env, new TextLoader.Options 224var loader = new TextLoader(context, new TextLoader.Options 471var loader = new TextLoader(Env, new TextLoader.Options 575var loader = new TextLoader(Env, new TextLoader.Options 633var loader = new TextLoader(Env, new TextLoader.Options 874var dataView = TextLoader.Create(ML, new TextLoader.Options(), new MultiFileSource(dataFile)); 991var loader = new TextLoader(Env, new TextLoader.Options
Transformers\TextFeaturizerTests.cs (1)
558var data = TextLoader.Create(ML, new TextLoader.Options()
Transformers\WordEmbeddingsTests.cs (2)
30new TextLoader.Options() 65new TextLoader.Options()
Microsoft.ML.TorchSharp.Tests (5)
NerTests.cs (1)
202var dataView = TextLoader.Create(ML, new TextLoader.Options()
ObjectDetectionTests.cs (2)
33var data = TextLoader.Create(ML, new TextLoader.Options() 92var dataFiltered = TextLoader.Create(ML, new TextLoader.Options()
QATests.cs (1)
73IDataView dataView = TextLoader.Create(ML, new TextLoader.Options()
TextClassificationTests.cs (1)
417IDataView dataView = TextLoader.Create(ML, new TextLoader.Options()
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
812var options = new TextLoader.Options()
72 references to Options
Microsoft.ML.AutoML (7)
API\ColumnInference.cs (2)
18/// Gets the inferred <see cref="TextLoader.Options" /> for the dataset. 25public TextLoader.Options TextLoaderOptions { get; internal set; }
ColumnInference\ColumnInferenceApi.cs (2)
52var typedLoaderOptions = new TextLoader.Options 89var textLoaderOptions = new TextLoader.Options()
ColumnInference\ColumnTypeInference.cs (1)
260var textLoaderOptions = new TextLoader.Options
ColumnInference\TextFileContents.cs (2)
64var options = new TextLoader.Options 86private static bool TryParseFile(MLContext context, TextLoader.Options options, IMultiStreamSource source,
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
691private TextLoader.Options GetLoaderArgs(string labelColumnName, string userIdColumnName, string itemIdColumnName) 706private TextLoader.Options GetLoaderArgsRank(string labelColumnName, string groupIdColumnName, string featureColumnVectorNameA, string featureColumnVectorNameB)
Microsoft.ML.CodeGenerator.Tests (9)
ApprovalTests\ConsoleCodeGeneratorTests.cs (9)
569var textLoaderArgs = new TextLoader.Options() 608var textLoaderArgs = new TextLoader.Options() 645var textLoaderArgs = new TextLoader.Options() 698var textLoaderArgs = new TextLoader.Options() 736var textLoaderArgs = new TextLoader.Options() 787var textLoaderArgs = new TextLoader.Options() 818var textLoaderArgs = new TextLoader.Options() 993var textLoaderArgs = new TextLoader.Options() 1103var textLoaderArgs = new TextLoader.Options()
Microsoft.ML.Data (31)
DataLoadSave\Text\TextLoader.cs (20)
16[assembly: LoadableClass(TextLoader.Summary, typeof(ILegacyDataLoader), typeof(TextLoader), typeof(TextLoader.Options), typeof(SignatureDataLoader), 511/// If <see cref="TextLoader.Options.AllowQuoting"/> is false, this option is ignored. 697/// Empty if <see cref="Options.HasHeader"/> is <see langword="false"/>, no header presents, or upon load 1148internal TextLoader(IHostEnvironment env, Options options = null, IMultiStreamSource dataSample = null) 1244throw _host.ExceptUserArg(nameof(Options.DecimalMarker), "Decimal marker cannot be the '{0}' character. It must be '.' or ','.", options.DecimalMarker); 1246throw _host.ExceptUserArg(nameof(Options.AllowQuoting), "Quoting must be allowed if decimal marker and separator are the ',' character."); 1250throw _host.ExceptUserArg(nameof(Options.EscapeChar), "EscapeChar '{0}' can't be used both as EscapeChar and separator", _escapeChar); 1271_host.CheckUserArg((_flags & OptionFlags.AllowSparse) == 0, nameof(Options.Separator), 1283throw _host.ExceptUserArg(nameof(Options.Separator), "Illegal separator: '{0}'", sep); 1305/// <see cref="Options.UseThreads"/>, 1306/// <see cref="Options.HeaderFile"/>, 1307/// <see cref="Options.MaxRows"/> 1310ref Options options, out Column[] cols, out bool error) 1361var optionsNew = new Options(); 1363if (!CmdParser.ParseArguments(host, loader.GetSettingsString(), optionsNew, typeof(Options), msg => ch.Error(msg))) 1386internal static bool FileContainsValidSchema(IHostEnvironment env, IMultiStreamSource files, out Options options) 1491internal static ILegacyDataLoader Create(IHostEnvironment env, Options options, IMultiStreamSource files) 1497internal static IDataView LoadFile(IHostEnvironment env, Options options, IMultiStreamSource fileSource) 1555Options options = new Options 1568Options options = null,
DataLoadSave\Text\TextLoaderSaverCatalog.cs (9)
61var options = new TextLoader.Options 80/// of slots in <see cref="TextLoader.Options.Columns"/> defined with <see cref="TextLoader.Range"/> with <see langword="null"/> maximum index. 82/// it will also contain the schema information in the header that the loader can read even if <see cref="TextLoader.Options.Columns"/> are not specified. 83/// In order to use the schema defined in the file, all other <see cref="TextLoader.Options"/> sould be left with their default values.</param> 85TextLoader.Options options, 132TextLoader.Options options, 171var options = new TextLoader.Options 200TextLoader.Options options = null) 259TextLoader.Options options)
Transforms\ValueMapping.cs (1)
644var txtArgs = new TextLoader.Options()
Transforms\ValueToKeyMappingTransformer.cs (1)
438var options = new TextLoader.Options()
Microsoft.ML.EntryPoints (1)
ImportTextData.cs (1)
52public TextLoader.Options Arguments = new TextLoader.Options();
Microsoft.ML.IntegrationTests (1)
Prediction.cs (1)
40var options = new TextLoader.Options
Microsoft.ML.PerformanceTests (6)
PredictionEngineBench.cs (3)
41var options = new TextLoader.Options() 80var options = new TextLoader.Options() 115var options = new TextLoader.Options()
StochasticDualCoordinateAscentClassifierBench.cs (3)
62var options = new TextLoader.Options() 89var arguments = new TextLoader.Options() 131var options = new TextLoader.Options()
Microsoft.ML.Samples (1)
Dynamic\DataOperations\LoadingText.cs (1)
168var options = new TextLoader.Options()
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (1)
820var argsText = new TextLoader.Options();
DataPipe\TestDataPipeBase.cs (1)
415var args = new TextLoader.Options() { AllowSparse = true, AllowQuoting = true };
Microsoft.ML.Tests (11)
TextLoaderTests.cs (7)
930TextLoader.Options options = new TextLoader.Options() 989TextLoader.Options options = new TextLoader.Options() 1041var optionsPeriod = new TextLoader.Options() 1051var optionsComma = new TextLoader.Options() 1277var options = new TextLoader.Options() 1389var options = new TextLoader.Options() 1429var options = new TextLoader.Options()
TrainerEstimators\FAFMEstimator.cs (1)
89private TextLoader.Options GetFafmBCLoaderArgs()
TrainerEstimators\MatrixFactorizationTests.cs (1)
156private TextLoader.Options GetLoaderArgs(string labelColumnName, string matrixColumnIndexColumnName, string matrixRowIndexColumnName)
TrainerEstimators\MetalinearEstimators.cs (1)
78var options = new TextLoader.Options()
TrainerEstimators\TrainerEstimators.cs (1)
262private TextLoader.Options GetIrisLoaderArgs()
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
812var options = new TextLoader.Options()