[mlpack-git] [mlpack/mlpack] add cli executable for data_split (#650)

stereomatchingkiss notifications at github.com
Tue May 31 22:04:35 EDT 2016


> @@ -67,17 +83,31 @@ void CheckDuplication(const Row<size_t>& trainLabels,
>      BOOST_REQUIRE_EQUAL(counts[i], 1);
>  }
>  
> -BOOST_AUTO_TEST_CASE(SplitDataSplitResultMat)
> +BOOST_AUTO_TEST_CASE(SplitDataResultMat)
> +{
> +  mat input(2, 10);
> +  size_t count = 0; // count for putting unique sequential values
> +  input.imbue([&count] () { return ++count; });

I agree, really neat idea

---
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/650/files/8ad3b900bba6c8535ad94b5af31aaab1de0c64d1#r65292648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160531/e11a3491/attachment.html>


More information about the mlpack-git mailing list