Generating a prediction output file using MOA command line

11 views
Skip to first unread message

Maya MOUHAMAD

unread,
Aug 5, 2025, 3:56:40 PMAug 5
to MOA users

Hello,

I am a PhD student using MOA from the command line for a distributed machine learning project.

I would like to know if it's possible to generate a prediction output file, similar to the "Output prediction file" option in the GUI, but using the command line.
If so, could you please share the exact command to apply a .moa model on a test .arff file and get the prediction output file?

Thank you in advance for your help.

Nuwan Gunasekara

unread,
Aug 5, 2025, 6:23:46 PMAug 5
to MOA users
A Regression example:

java -classpath ./moa.jar  "EvaluatePrequentialRegression -e BasicRegressionPerformanceEvaluator -s (ArffFileStream -f fried.arff) -l (trees.HoeffdingRegressionTree) -d output.csv"
Reply all
Reply to author
Forward
0 new messages