[mlpack-git] [mlpack/mlpack] add TrainTestSplit() without label (#654)
Keon Kim
notifications at github.com
Thu May 26 15:00:52 EDT 2016
I added `TrainTestSplit()` and renamed old ones to `LabelTrainTestSplit()`.
This is just a naive implementation mostly copied from Tham's work.
I believe LabelTrainTestSplit can just reuse the code in TrainTestSplit twice for both data and labels.
You can view, comment on, or merge this pull request online at:
https://github.com/mlpack/mlpack/pull/654
-- Commit Summary --
* add cli executable for data_split
* change parameter flags and names for consistency with other programs #discussion_r64743312
* add TrainTestSplit() without label and old TrainTestSplit to LabelTrainTestSplit
-- File Changes --
M src/mlpack/core/data/split_data.hpp (109)
M src/mlpack/methods/CMakeLists.txt (1)
A src/mlpack/methods/preprocess/CMakeLists.txt (18)
A src/mlpack/methods/preprocess/preprocess_split_main.cpp (64)
-- Patch Links --
https://github.com/mlpack/mlpack/pull/654.patch
https://github.com/mlpack/mlpack/pull/654.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/654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160526/913f8eb2/attachment.html>
More information about the mlpack-git
mailing list