samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Kourtellis <>
Subject Re: Storing predictions of each instance
Date Thu, 04 Feb 2016 08:47:31 GMT
Hi Eduardo,

Welcome and thanks for trying out SAMOA!

I am not sure what you mean by "each instance".

You want to test your model against every instance that comes in?
And for that you want to output the prediction of this test?

Or you want to test your model at some regular intervals (e.g., every
100k instances) and output the prediction of this test every time?

The parameter -f should allow you to adjust how frequently you test your
current model. However, I wouldn't set it for every instance!
Thats probably an overkill.

Regarding the output of the prediction, you should be able to define
a .csv output file of the prediction performance using the parameter -d
in the PrequentialEvaluation.

Hope this helps!


On Thu, Feb 4, 2016 at 1:42 AM, Eduardo Costa <> wrote:

> I'm begining to use SAMOA and  I' d like to store in a file or mysql the
> prediction for each instance when I use this command: bin/samoa storm
> target/SAMOA-Storm-0.4.0-incubating-SNAPSHOT.jar "PrequentialEvaluation -l
> (classifiers.ensemble.AdaptiveBagging -s 2) -s
> (org.apache.samoa.moa.streams.ArffFileStream -f covtypeNorm.arff) -f 100000
> -n ARFF-teste5"
>  , but I don't know what I must to do. Could you help-me?
> Cheers,
> Eduardo.

Nicolas Kourtellis

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message