[mlpack-git] [mlpack/mlpack] add train test split (#523)
notifications at github.com
Tue Apr 12 16:20:19 EDT 2016
This looks good to me, but with the simpler API that does not accept cubes, do you think it is worth having a class for this, or would it be more reasonable to just have a function `TrainTestSplit()` which takes the data and the percentage for the test set? I think that since `TrainTestSplit` only holds one member it would be easier to just make it a standalone function. You could also add the overload that returns the `std::tuple<...>` too.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git