Term Transform

The documentation is generated based on the sources available at dotnet/machinelearning and released under MIT License.

Type: datatransform Aliases: Term, AutoLabel, TermTransform, AutoLabelTransform Namespace: Microsoft.ML.Runtime.Data Assembly: Microsoft.ML.Data.dll Microsoft Documentation: Term Transform


Converts input values (words, numbers, etc.) to index in a dictionary.


Name Short name Default Description
column col   New column definition(s) (optional form: name:src)
dataFile data   Data file containing the terms
loader     Data loader
maxNumTerms max 1000000 Maximum number of terms to keep per column when auto-training
sort   Occurrence How items should be ordered when vectorized. By default, they will be in the order encountered. If by value items are sorted according to their default comparison, for example, text sorting will be case sensitive (for example, ‘A’ then ‘Z’ then ‘a’).
terms     Comma separated list of terms
termsColumn termCol   Name of the text column containing the terms
textKeyValues textkv False Whether key value metadata should be text, regardless of the actual input type