[ 
https://issues.apache.org/jira/browse/MAHOUT-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216228#comment-13216228
 ] 

Dave Kor edited comment on MAHOUT-952 at 2/25/12 2:52 AM:
----------------------------------------------------------

Yes, I am using weka's DenseInstance since my dataset have data values 99.9% of 
the time. 

I had a look at your patch and may I kindly suggest that a better fix would be 
to add a try-catch block in MapBackedArffModel.processNumeric since, if I am 
not wrong (can I could be), only missing numeric values are encoded as '?'. 
                
      was (Author: davekor):
    Yes, I am using DenseInstance since my dataset have data values 99.9% of 
the time. I had a look at your patch and may I kindly suggest that a better fix 
would be to add a try-catch block in MapBackedArffModel.processNumeric since, 
if I am not wrong (can I could be), only missing numeric values are encoded as 
'?'. 
                  
> ARFFVectorIterable/MapBackedArffModel doesn't handle question mark '?', other 
> ARFF issues
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-952
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-952
>             Project: Mahout
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 0.6
>         Environment: Latest SVN on ubuntu
>            Reporter: Stuart Smith
>            Priority: Minor
>              Labels: ARFF
>         Attachments: MAHOUT-952.patch
>
>
> Whatever is parsing the ARFF file for the ARFFVectorIterable (As far as I can 
> tell, it's the class itself) doesn't handle '?' as a marker for unknown 
> value. See: http://www.cs.waikato.ac.nz/~ml/weka/arff.html  
> I just started looking at Mahout classifiers this week, so I'm not sure how 
> to handle this yet. If I figure it out, I'll post a patch, but until then, 
> guidance would be helpful!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to