Train and Score Predictor

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

Type: datatransform Aliases: TrainScore Namespace: Microsoft.ML.Runtime.Data Assembly: Microsoft.ML.Data.dll Microsoft Documentation: Train and Score Predictor


Trains a predictor, or loads it from a file, and runs it on the data.


Name Short name Default Description
calibrator cali Microsoft. ML. Runtime. Internal. Calibration. PlattCalibratorTrainerFactory Output calibrator
customColumn col   Input columns: Columns with custom kinds declared through key assignments, for example, col[Kind]=Name to assign column named ‘Name’ kind ‘Kind’
featureColumn feat Features Column to use for features when scorer is not defined
groupColumn group GroupId Column to use for grouping
labelColumn lab Label Column to use for labels
maxCalibrationExamples numcali 1000000000 Number of instances to train the calibrator
nameColumn name Name Name column name
scorer     Scorer to use
trainer tr   Trainer to use
weightColumn weight Weight Column to use for example weight