[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Marcus Edel
notifications at github.com
Thu Jul 21 19:44:59 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;
Can you add a comment for the `customValue`parameter?
---
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#r71807386
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160721/7e81a7f9/attachment-0001.html>
More information about the mlpack-git
mailing list