[mlpack-git] [mlpack] Serialization of ann (#513)

Ryan Curtin notifications at github.com
Mon Feb 1 10:47:47 EST 2016


One of the keys of the refactoring I did for serialization is that I attempted to keep the interfaces using references, and not pointers, for the sake of simplicity.  i.e.

```
RMSPROP(DecomposableFunctionType* function,
          const double lr = 0.01,
          const double alpha = 0.99,
          const double eps = 1e-8) :
      function(&function),
      lr(lr),
      alpha(alpha),
      eps(eps)
```

I guess this would make the call to `new OptimizerType<>` take `*this` instead of `this`.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/513#issuecomment-178034886
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160201/326bbb93/attachment.html>


More information about the mlpack-git mailing list