Ensmallen: A C++ Library For Efficient Numerical Optimization
ensmallen.org
ensmallen.org
What if you applied machine learning to machine learning?
Don’t ask me why I even tried, I was a dumb but code happy undergrad!
Ensmallen appears to build on top of Armadillo. There is autodiff.github.io, but it builds on top of Eigen, as does Ceres and Sophus. Boost has some nice integration routines, but a lot of them only work with boost vectors/matrices.
Contrast this with the python ecosystem, where basically everybody uses numpy. That makes it so nice to be able to compose different scientific libraries together.
I'm sort curious how python didn't end up with 5 different competing array libraries.
I hope with advent of modules we can get package manager half as good as cargo but for C++
(Personally I haven't used it yet)
There isn't an ensmallen package yet, but I wouldn't imagine it will take long and I guess it'll be a 20-30 line package.