-
Dual-numbers-and-automatic-differentiation-using-Python
Implemented the forward mode of automatic differentiation with the help of dual numbers using Python.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Thank you for sharing, this was a great article!
I had to implement autodiff from scratch for Nx (https://github.com/elixir-nx/nx) about 18 months ago and this would have helped me so much! I spent roughly a month chasing a bug because I was not handling the case of duplicated incoming nodes and you outline it very clearly. I will be recommending the article from now on to anyone who needs to understand how autodiff works. :)
The estimate for the derivative is 0 here, which is wrong. The finite differencing cannot be improved using stencil theory. Dual numbers win.
[1] - https://github.com/ujjwalkhandelwal/Dual-numbers-and-automat...
The estimate for the derivative is 0 here, which is wrong. The finite differencing cannot be improved using stencil theory. Dual numbers win.
[1] - https://github.com/ujjwalkhandelwal/Dual-numbers-and-automat...