[mlpack-git] [mlpack/mlpack] Optimize load csv 01 (#735)

Tham notifications at github.com
Sun Jul 24 01:15:11 EDT 2016


use fast csv parser to parse csv file(without mapping).

Original implementation : around 7220ms
fast csv : around 600ms


You can view, comment on, or merge this pull request online at:

  https://github.com/mlpack/mlpack/pull/735

-- Commit Summary --

  * first commit
  * first commit
  * use fast csv parser to load csv and tsv file
  * 1 : fix bug, did not put the data into the matrix properly

-- File Changes --

    M src/mlpack/core/data/CMakeLists.txt (5)
    A src/mlpack/core/data/file_reader/csv_reader.hpp (252)
    A src/mlpack/core/data/file_reader/line_reader.hpp (259)
    A src/mlpack/core/data/file_reader/parser.hpp (249)
    A src/mlpack/core/data/file_reader/policy.hpp (212)
    A src/mlpack/core/data/file_reader/reader_exceptions.hpp (337)
    M src/mlpack/core/data/load_impl.hpp (38)

-- Patch Links --

https://github.com/mlpack/mlpack/pull/735.patch
https://github.com/mlpack/mlpack/pull/735.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/735
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160723/48595fc5/attachment.html>


More information about the mlpack-git mailing list