[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Keon Kim
notifications at github.com
Fri Jul 22 08:34:50 EDT 2016
> + }
> + else
> + {
> + for (size_t i = 0; i < input.n_rows; ++i)
> + {
> + if (input(i, dimension) == mappedValue ||
> + std::isnan(input(i, dimension)))
> + {
> + input(i, dimension) = customValue;
> + }
> + }
> + }
> + }
> +
> + private:
> + T customValue;
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/028c217057410e2e75691c32bf062202ce5dca3f#r71871305
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160722/52b734df/attachment-0001.html>
More information about the mlpack-git
mailing list