Skip to content

Commit c8160d4

Browse files
authored
Change in template to accomodate new API of TextLoader (dotnet#72)
* Added sequential grouping of columns * reverted the file * changed to new API of Text Loader * changed signature * added params for taking additional settings * changes to codegen params * refactoring of templates and fixing errors
1 parent bd9b5fe commit c8160d4

File tree

5 files changed

+214
-306
lines changed

5 files changed

+214
-306
lines changed

src/mlnet/Commands/NewCommand.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ private static void RunCodeGen(Options options, ColumnInferenceResult columnInfe
120120
Columns = columns,
121121
Transforms = transforms,
122122
HasHeader = columnInference.HasHeader,
123-
Separator = columnInference.Separators.First(),
123+
Separators = columnInference.Separators,
124+
AllowQuotedStrings = columnInference.AllowQuotedStrings,
125+
SupportSparse = columnInference.SupportSparse,
126+
TrimWhiteSpace = columnInference.TrimWhitespace,
124127
Trainer = trainer,
125128
TaskType = options.MlTask.ToString(),
126129
ClassLabels = classLabels,

0 commit comments

Comments
 (0)