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

Tham notifications at github.com
Sun Jul 3 19:22:03 EDT 2016


> @@ -96,7 +96,11 @@ bool Load(const std::string& filename,
>            arma::Mat<eT>& matrix,
>            DatasetMapper<PolicyType>& info,
>            const bool fatal = false,
> -          const bool transpose = true);
> +          const bool transpose = true)
> +{
> +  PolicyType policy;
> +  return Load(filename, matrix, info, policy, fatal, transpose);

>should I provide another void Policy(PolicyType value) member function for more usability?

I think it is a good idea

---
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/a340f69411b6a6d16106023e4bbcceb9d4688322..21d94c04652e8faadd5e8991103a3b73b4c81033#r69398793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160703/93519182/attachment.html>


More information about the mlpack-git mailing list