Infer.NET user guide : Learners : Bayes Point Machine classifiers : Command-line runners
SampleWeights module reads a serialized trained Bayes Point Machine classifier (binary or multi-class) and returns a sample from its posterior weight distribution.
SampleWeights module has the following command-line arguments:
model: The file from which a previously trained Bayes Point Machine classifier will be loaded.
samples: The file to which the weight sample will be saved. The file will contain the weights of the first - 1 classes, one class per line.
Learner Classifier BinaryBayesPointMachine SampleWeights --model trained-binary-bpm.bin --samples samples.txt Learner Classifier MulticlassBayesPointMachine SampleWeights --model trained-multiclass-bpm.bin --samples samples.txt