|
mlpack
|
A complete-case analysis to remove the values containing mappedValue. More...
#include <listwise_deletion.hpp>
Public Member Functions | |
| void | Impute (arma::Mat< T > &input, const T &mappedValue, const size_t dimension, const bool columnMajor=true) |
| Impute function searches through the input looking for mappedValue and remove the whole row or column. More... | |
A complete-case analysis to remove the values containing mappedValue.
Removes all data for a case that has one or more missing values.
| T | Type of armadillo matrix |
|
inline |
Impute function searches through the input looking for mappedValue and remove the whole row or column.
The result is overwritten to the input.
| input | Matrix that contains mappedValue. |
| mappedValue | Value that the user wants to get rid of. |
| dimension | Index of the dimension of the mappedValue. |
| columnMajor | State of whether the input matrix is columnMajor or not. |
1.8.13