Overview
I know that you can get the percentages of each forecast in the trained WEKA model using the graphical interface and command line parameters, as it is convenient to explain and demonstrate in the article "Prediction" documentation .

Predictions
I know that there are three ways to get these forecasts:
.MODEL , , , ( GUI Explorer, CSV ):
inst#,actual,predicted,error,distribution,
1,1:0,2:1,+,0.399409,*0.7811
2,1:0,2:1,+,0.3932409,*0.8191
3,1:0,2:1,+,0.399409,*0.600591
4,1:0,2:1,+,0.139409,*0.64
5,1:0,2:1,+,0.399409,*0.600593
6,1:0,2:1,+,0.3993209,*0.600594
7,1:0,2:1,+,0.500129,*0.600594
8,1:0,2:1,+,0.399409,*0.90011
9,1:0,2:1,+,0.211409,*0.60182
10,1:0,2:1,+,0.21909,*0.11101
predicted - , .MODEL.
WEKA API, , (PlainText, Evaluation). - k-fold, Evaluation.
StringBuffer predictionSB = new StringBuffer();
Range attributesToShow = null;
Boolean outputDistributions = new Boolean(true);
PlainText predictionOutput = new PlainText();
predictionOutput.setBuffer(predictionSB);
predictionOutput.setOutputDistribution(true);
Evaluation evaluation = new Evaluation(data);
evaluation.crossValidateModel(j48Model, data, numberOfFolds,
randomNumber, predictionOutput, attributesToShow,
outputDistributions);
System.out.println(predictionOutput.getBuffer());
WEKA
, .MODEL, .ARFF , " Weka Java-" "" aka " .MODEL Java- " ( smfh).
Java
.MODEL "Deserialization", > 3.5.5:
Classifier cls = (Classifier) weka.core.SerializationHelper.read("/some/where/j48.model");
Instance - , classifyInstance. ( ):
cls.classifyInstance(testData.instance(0));
" , explorer ( weka) eclipse java" , !
Javadocs
Javadocs Classifier ( ) Evaluation ( ), .
, , , classifyInstances Classifier:
. , . , , distributionForInstance().
WEKA .MODEL Java (, WEKA API)?
