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.

Functions

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

 
void MockCategoricalData (arma::mat &d, arma::Row< double > &l, mlpack::data::DatasetInfo &datasetInfo)
 Create a mock categorical dataset for testing regression. 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 http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file mock_categorical_data.hpp.

Function Documentation

◆ MockCategoricalData() [1/2]

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

◆ MockCategoricalData() [2/2]

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