[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Marcus Edel
notifications at github.com
Wed Jul 6 16:18:04 EDT 2016
> + * Given a dataset of a particular datatype, replace user-specified missing
> + * value with a variable dependent on the StrategyType and MapperType.
> + *
> + * @tparam T Type of armadillo matrix used for imputation strategy.
> + * @tparam MapperType DatasetMapper that is used to hold dataset information.
> + * @tparam StrategyType Imputation strategy used.
> + */
> +template<typename T, typename MapperType, typename StrategyType>
> +class Imputer
> +{
> + public:
> + Imputer(MapperType mapper, bool transpose = true):
> + mapper(std::move(mapper)),
> + transpose(transpose)
> + {
> + //static_assert(std::is_same<typename std::decay<MapperType>::type,
Looks like we can remove the comments here.
---
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/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r69803713
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160706/cff7b851/attachment.html>
More information about the mlpack-git
mailing list