mock_categorical_data.hpp File Reference

Generate categorical dataset for tests. More...

Include dependency graph for mock_categorical_data.hpp:

Go to the source code of this file.


void MockCategoricalData (arma::mat &d, arma::Row< size_t > &l, mlpack::data::DatasetInfo &datasetInfo)
 Create a mock categorical dataset for testing. More...


Detailed Description

Generate categorical dataset for tests.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see for more information.

Definition in file mock_categorical_data.hpp.

Function Documentation

◆ MockCategoricalData()

void MockCategoricalData ( arma::mat &  d,
arma::Row< size_t > &  l,
mlpack::data::DatasetInfo datasetInfo