On Mon, Oct 14, 2013 at 5:16 PM, Andrew McCallum
<notifications@github.com>wrote:

> The weight is not unique to a label. Different trainers could want
> different different weights as input.
>
 So you give them different label2weights functions.

> As a side issue, Seq[Double] is full of wrapped Doubles. At the very least
> it should be a DoubleSeq.
>

That's a good change.


> Although I'm not advocating getting rid of this seq in the backend, I
> think it is error-prone to line up sequences of labels and weights in the
> midst of shuffling, splitting, re-splitting, etc.
>
We never split and shuffle these raw sequences; we do split and shuffle the
examples, which already have all the information incorporated.



-- 
 - Alexandre