[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)

Keon Kim notifications at github.com
Tue Jun 14 07:50:28 EDT 2016


> +#include <mlpack/core.hpp>
> +
> +
> +using namespace std;
> +
> +namespace mlpack {
> +namespace data {
> +
> +class CustomStrategy
> +{
> +  // empty class
> +};
> +
> +} // namespace data
> +} // namespace mlpack
> +

it is used for calling a overload of [Imputer::impute()](https://github.com/keonkim/mlpack/blob/5a517c25ef55de1f4814dc3605190d17f868ff82/src/mlpack/core/data/imputer.hpp#L86), which lets users to define a number that takes place of the missing value.

It basically does nothing but to fill the place of the template parameter.
It is used like [this](https://github.com/keonkim/mlpack/blob/5a517c25ef55de1f4814dc3605190d17f868ff82/src/mlpack/methods/preprocess/preprocess_imputer_main.cpp#L101). but I was not clear how to make this clean.

---
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/5a517c25ef55de1f4814dc3605190d17f868ff82#r66954641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160614/c1c6648d/attachment-0001.html>


More information about the mlpack-git mailing list