What is it used for? It allows one to both query and update prefix sums in O(log n), for a normal array this would be O(n)/O(1) respectively. The cool thing is that it can be emulated with an array and as such it takes just the same amount of space as an array. The best part is that they can be implemented (simple version) in about 10 lines of C++ code.
The backpropagation algorithm is at once simple and incredible. It enables automatic parameter optimization for millions of parameters for extremely complex, nonlinear functions, all with just a basic knowledge of calculus.
Comments (491) 209 threads
Earlier commentsWhat is it used for? It allows one to both query and update prefix sums in O(log n), for a normal array this would be O(n)/O(1) respectively.
The cool thing is that it can be emulated with an array and as such it takes just the same amount of space as an array.
The best part is that they can be implemented (simple version) in about 10 lines of C++ code.
Has something of Cantor's diagonal argument about it.
All comments shown.
Couldn't load more comments. Check your connection and try again.