[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Ryan Curtin
notifications at github.com
Thu Jul 7 10:22:38 EDT 2016
> + //"IncrementPolicy");
> + }
> +
> + /**
> + * Given an input dataset, replace missing values with given imputation
> + * strategy.
> + *
> + * @param input Input dataset to apply imputation.
> + * @param output Armadillo matrix to save the results
> + * @oaran missingValue User defined missing value; it can be anything.
> + * @param dimension Dimension to apply the imputation.
> + */
> + void Impute(const arma::Mat<T>& input,
> + arma::Mat<T>& output,
> + const std::string& missingValue,
> + const size_t dimension)
I think that many times the user will want to impute without copying the matrix; this will especially make a difference when the matrix is large. Should we also provide an overload with just one matrix that will be modified?
---
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#r69915517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160707/a0fe3f59/attachment.html>
More information about the mlpack-git
mailing list