shuffle_data.hpp File Reference
Include dependency graph for shuffle_data.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::math
 
Miscellaneous math routines.
 

Functions

template
<
typename
MatType
,
typename
LabelsType
>
void ShuffleData (const MatType &inputPoints, const LabelsType &inputLabels, MatType &outputPoints, LabelsType &outputLabels, const std::enable_if_t<!arma::is_SpMat< MatType >::value > *=0, const std::enable_if_t<!arma::is_Cube< MatType >::value > *=0)
 Shuffle a dataset and associated labels (or responses). More...

 
template
<
typename
MatType
,
typename
LabelsType
>
void ShuffleData (const MatType &inputPoints, const LabelsType &inputLabels, MatType &outputPoints, LabelsType &outputLabels, const std::enable_if_t< arma::is_SpMat< MatType >::value > *=0, const std::enable_if_t<!arma::is_Cube< MatType >::value > *=0)
 Shuffle a sparse dataset and associated labels (or responses). More...

 
template
<
typename
MatType
,
typename
LabelsType
>
void ShuffleData (const MatType &inputPoints, const LabelsType &inputLabels, MatType &outputPoints, LabelsType &outputLabels, const std::enable_if_t<!arma::is_SpMat< MatType >::value > *=0, const std::enable_if_t< arma::is_Cube< MatType >::value > *=0, const std::enable_if_t< arma::is_Cube< LabelsType >::value > *=0)
 Shuffle a cube-shaped dataset and associated labels (or responses) which are also cube-shaped. More...

 
template
<
typename
MatType
,
typename
LabelsType
,
typename
WeightsType
>
void ShuffleData (const MatType &inputPoints, const LabelsType &inputLabels, const WeightsType &inputWeights, MatType &outputPoints, LabelsType &outputLabels, WeightsType &outputWeights, const std::enable_if_t<!arma::is_SpMat< MatType >::value > *=0, const std::enable_if_t<!arma::is_Cube< MatType >::value > *=0)
 Shuffle a dataset and associated labels (or responses) and weights. More...

 
template
<
typename
MatType
,
typename
LabelsType
,
typename
WeightsType
>
void ShuffleData (const MatType &inputPoints, const LabelsType &inputLabels, const WeightsType &inputWeights, MatType &outputPoints, LabelsType &outputLabels, WeightsType &outputWeights, const std::enable_if_t< arma::is_SpMat< MatType >::value > *=0, const std::enable_if_t<!arma::is_Cube< MatType >::value > *=0)
 Shuffle a sparse dataset and associated labels (or responses) and weights. More...

 

Detailed Description

Author
Ryan Curtin

Given data points and labels, shuffle their ordering.

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 shuffle_data.hpp.