1 write to Columns
Microsoft.ML.Transforms (1)
Text\WrappedTextTransformers.cs (1)
380
Columns
= _columns.Select(x => new WordHashBagProducingTransformer.Column { Name = x.outputColumnName, Source = x.inputColumnNames }).ToArray(),
11 references to Columns
Microsoft.ML.Transforms (11)
Text\WordBagTransform.cs (1)
710
env.CheckUserArg(col != null, nameof(WordHashBagProducingTransformer.Options.
Columns
));
Text\WordHashBagProducingTransform.cs (10)
92
h.CheckUserArg(Utils.Size(options.
Columns
) > 0, nameof(options.
Columns
), "Columns must be specified");
102
var uniqueSourceNames = NgramExtractionUtils.GenerateUniqueSourceNames(h, options.
Columns
, view.Schema);
103
Contracts.Assert(uniqueSourceNames.Length == options.
Columns
.Length);
106
var extractorCols = new NgramHashExtractingTransformer.Column[options.
Columns
.Length];
107
var colCount = options.
Columns
.Length;
111
var column = options.
Columns
[iinfo];
114
Contracts.Assert(uniqueSourceNames[iinfo].Length == options.
Columns
[iinfo].Source.Length);
116
tokenizeColumns.Add(new WordTokenizingEstimator.ColumnOptions(curTmpNames[isrc] = uniqueSourceNames[iinfo][isrc], options.
Columns
[iinfo].Source[isrc]));
130
FriendlyNames = options.
Columns
[iinfo].Source,