Infer.NET user guide : Learners : Bayes Point Machine classifiers : Command-line runners
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.
Predict module has the following command-line arguments:
test-set: The file with test data containing ground truth labels (ignored) and features in the format described earlier.
model: The file from which a previously trained Bayes Point Machine classifier will be loaded.
predictions: The file to which the predictions will be saved.
A more detailed explanation of prediction is available here.
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