[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Keon Kim
notifications at github.com
Tue Jun 28 02:48:40 EDT 2016
> + * A simple mean imputation
> + */
> +template <typename T>
> +class MeanImputation
> +{
> + public:
> + void Apply (const arma::Mat<T>& input,
> + arma::Mat<T>& output,
> + const T& mappedValue,
> + const size_t dimension,
> + const bool transpose = true)
> + {
> + // initiate output
> + output = input;
> +
> + double sum;
updated
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/694/files/da4e40981c40e171858f41de4e85e08af2c7e48d..d8618ec909005b0453f0a3803ac1e6cc5e588f1f#r68704922
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/31dd6784/attachment.html>
More information about the mlpack-git
mailing list