Skip to main content

Infer.NET user guide : Learners : Bayes Point Machine classifiers : Command-line runners

Prediction

Predictions can be made from a trained Bayes Point Machine classifier using the Predict module, both in binary and multi-class classification. The Predict module reads a trained classifier and a test set and returns the predictions for the test set. The predictions can then be evaluated on the test set.

The Predict module has the following command-line arguments:

Required arguments

A more detailed explanation of prediction is available here.

Example

Learner Classifier BinaryBayesPointMachine Predict --test-set test-set.dat   
    --model trained-binary-bpm.bin --predictions predictions.dat  

Learner Classifier MulticlassBayesPointMachine Predict --test-set test-set.dat   
    --model trained-multiclass-bpm.bin --predictions predictions.dat