[mlpack-git] [mlpack/mlpack] Spill trees (#747)

Ryan Curtin notifications at github.com
Wed Aug 17 16:57:43 EDT 2016


> @@ -249,6 +318,9 @@ void NSModel<SortPolicy>::Serialize(Archive& ar,
>                                      const unsigned int /* version */)
>  {
>    ar & data::CreateNVP(treeType, "treeType");
> +  ar & data::CreateNVP(leafSize, "leafSize");
> +  ar & data::CreateNVP(tau, "tau");
> +  ar & data::CreateNVP(rho, "rho");

Looks good.  I noticed that the previous revision did not serialize `leafSize`, so this fixes a bug too!

-- 
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/747/files/fe090ee13c7cad79e2b7eb8b6690628ba3ead1ed#r75205682
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160817/0675a992/attachment.html>


More information about the mlpack-git mailing list