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

Keon Kim notifications at github.com
Fri Jul 8 01:10:55 EDT 2016


> +#include <limits>
> +
> +
> +using namespace std;
> +
> +namespace mlpack {
> +namespace data {
> +
> +/**
> + * Same as increment map policy, but does not change type of features.
> + */
> +class MissingPolicy
> +{
> + public:
> +  // typedef of mapped_type
> +  using mapped_type = double;

@rcurtin I see what you mean. I solved this by putting static_assert() check in MapToken() function in MissingPolicy.


---
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#r70025897
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160707/b1dc224b/attachment.html>


More information about the mlpack-git mailing list