Github user fobeligi commented on the issue:
https://github.com/apache/incubator-samoa/pull/60
Hello @nicolas-kourtellis, as @gdfm also said, the
<code>TextGenerator</code> class was indeed generating dense instances instead
of sparse as expected. Moreover, sparse instances could be written in sparse
arff file format.
Regarding the <code>toString</code> method in <code>DenseInstance</code>
class, was always appending the weight of an instance at the end of it,
something that is not wrong, but it was not taken into consideration when
reading the arff file. As a result, the weight(= the last value of each
instance) was mistakenly considered to be the class of the instance when
reading a file generated by SAMOA.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---