You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Stanley Xu (JIRA)" <ji...@apache.org> on 2011/04/20 14:15:06 UTC
[jira] [Updated] (MAHOUT-677) The SimpleCsvExamples didn't really
parsed the double correctly with the FastLine and FastLineReader
[ https://issues.apache.org/jira/browse/MAHOUT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanley Xu updated MAHOUT-677:
------------------------------
Attachment: simplecsvexamplebugfix.diff
I wrote a patch on the code. Just two lines change.
> The SimpleCsvExamples didn't really parsed the double correctly with the FastLine and FastLineReader
> ----------------------------------------------------------------------------------------------------
>
> Key: MAHOUT-677
> URL: https://issues.apache.org/jira/browse/MAHOUT-677
> Project: Mahout
> Issue Type: Bug
> Components: Examples
> Affects Versions: 0.5
> Reporter: Stanley Xu
> Priority: Minor
> Fix For: 0.5
>
> Attachments: simplecsvexamplebugfix.diff
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The FastLineReader in SimpleCsvExamples.java try to parse the line quickly through parse the bytes directly from the stream without the cost of copy Strings. But it didn't parse the line correctly and will get all double values as zero in fast parsing mode
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira