<p>In <a href="https://github.com/mlpack/mlpack/pull/523#discussion_r59445167">src/mlpack/core/util/split_data.hpp</a>:</p>
<pre style='color:#555'>> + /**
> + * @brief TrainTestSplit
> + * @param testRatio the ratio of test data
> + * @param seed seed of the random device
> + * @warning slice should not less than 1
> + */
> + TrainTestSplit(double testRatio,
> + arma::arma_rng::seed_type seed = 0) :
> + seed(seed),
> + testRatio(testRatio)
> + {
> + }
> +
> + /**
> + *Split training data and test data, please define
> + *ARMA_USE_CXX11 to enable move of c++11
</pre>
<p>mlpack requires C++11 so I think we can assume that <code>ARMA_USE_CXX11</code> is enabled without any issues.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/523/files/860256202d7cba23dd3500a05e36ecd351f1d673#r59445167">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPXWiYXT6NmuuTWvbW1YN0qhq6ROks5p2_0egaJpZM4HhWF3.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/523/files/860256202d7cba23dd3500a05e36ecd351f1d673#r59445167"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>