samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fobeligi <...@git.apache.org>
Subject [GitHub] incubator-samoa issue #60: Fix bug in DenseInstance toString method and in T...
Date Thu, 22 Jun 2017 18:36:11 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message