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

Keon Kim notifications at github.com
Fri Jul 8 00:50:48 EDT 2016


> +
> +    if (transpose)
> +    {
> +      for (size_t i = 0; i < input.n_cols; ++i)
> +      {
> +         if (input(dimension, i) == mappedValue ||
> +             std::isnan(input(dimension, i)))
> +         {
> +           output.shed_col(i - count);
> +           count++;
> +         }
> +      }
> +    }
> +    else
> +    {
> +      for (size_t i = 0; i < input.n_rows; ++i)\

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


More information about the mlpack-git mailing list