Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-677

The SimpleCsvExamples didn't really parsed the double correctly with the FastLine and FastLineReader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Component/s: Examples
    • Labels:
      None

      Description

      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

        Attachments

        1. simplecsvexamplebugfix.diff
          1.0 kB
          Stanley Xu

          Activity

            People

            • Assignee:
              tdunning Ted Dunning
              Reporter:
              xuwenhao Stanley Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified