Skip to main content

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

Sampling weights

The SampleWeights module reads a serialized trained Bayes Point Machine classifier (binary or multi-class) and returns a sample from its posterior weight distribution.

The SampleWeights module has the following command-line arguments:

Required arguments

Example

Learner Classifier BinaryBayesPointMachine SampleWeights   
    --model trained-binary-bpm.bin --samples samples.txt  

Learner Classifier MulticlassBayesPointMachine SampleWeights   
    --model trained-multiclass-bpm.bin --samples samples.txt