imurray / chol-rev Goto Github PK
View Code? Open in Web Editor NEWBackpropagate derivatives through the Cholesky decomposition
License: Other
Backpropagate derivatives through the Cholesky decomposition
License: Other
Hi,
Awsome code!
For the environment in the title, I had to do two small changes to make the system compile:
Cheers,
David
I suggest adding topics such as cholesky-decomposition
, cholesky
, automatic-differentiation
in the About section.
(This isn't really an issue with the code, just a pointer to some other code in case it's interesting. Feel free to close it immediately!)
We wrote a Cholesky reverse-mode routine in autograd (and based it on one in GPy). The code is in cython, which generates very nice C code and is a bit easier to build with Python, especially since it grabs BLAS function pointers from scipy at runtime and so doesn't have any other compile-time dependencies. I also wrote a loop instead of calling dscal
because a modern C compiler can generate code at least as good as some level 1 routines.
I got a bit stuck on writing a routine for the second-order derivative. Smith 1995 doesn't seem to spell out a pure reverse-mode computation for the second derivative.
Your code here looks really nice, and being in Fortran it's not limited to just Python. Having a "LARMPACK" as you describe would indeed be awesome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.