The double[] is an array of predictions for each class label.  The class
label predicted is the index of the maximum value in the array. All
classifiers returns an array. Regressors return an array of length 1 with
only a numeric prediction.

I'll change in the future this double[] to InstanceData, so that learners
can predict sparse values.


On Thu, Mar 13, 2014 at 11:37 AM, Gianmarco De Francisci Morales <
notifications@github.com> wrote:

> In
> samoa-api/src/main/java/com/yahoo/labs/samoa/learners/classifiers/trees/ModelAggregatorProcessor.java:
>
> >  		if (isTesting) {
> > -                        double[] prediction = getVotesForInstance(inst, testAndTrain);
>
> The double[] is there because we have an ensemble, right?
> However the ModelAggregatorProcessor should represent a single VHT.
> How do we combine the two things?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/yahoo/samoa/pull/46/files#r10559260>
> .
>