1 write to Columns
Microsoft.ML.Transforms (1)
Text\WrappedTextTransformers.cs (1)
380Columns = _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)
710env.CheckUserArg(col != null, nameof(WordHashBagProducingTransformer.Options.Columns));
Text\WordHashBagProducingTransform.cs (10)
92h.CheckUserArg(Utils.Size(options.Columns) > 0, nameof(options.Columns), "Columns must be specified"); 102var uniqueSourceNames = NgramExtractionUtils.GenerateUniqueSourceNames(h, options.Columns, view.Schema); 103Contracts.Assert(uniqueSourceNames.Length == options.Columns.Length); 106var extractorCols = new NgramHashExtractingTransformer.Column[options.Columns.Length]; 107var colCount = options.Columns.Length; 111var column = options.Columns[iinfo]; 114Contracts.Assert(uniqueSourceNames[iinfo].Length == options.Columns[iinfo].Source.Length); 116tokenizeColumns.Add(new WordTokenizingEstimator.ColumnOptions(curTmpNames[isrc] = uniqueSourceNames[iinfo][isrc], options.Columns[iinfo].Source[isrc])); 130FriendlyNames = options.Columns[iinfo].Source,