Gradient Descent Visualization with PyVista #3074
JacobBumgarner
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Really cool! Very nice visualization! Maybe this could even be included if we implemented #3184? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I wanted to show off a small package that I made when learning about the fundamentals of gradient descent.
six_camel_path2x.mov
The package is called grad-descent-visualizer. It comes with a variety of example test functions and several visualization and movie generation features. It's mostly an educational package that I built to further my understanding of gradient descent from first principles.
spherex.mov
Importantly, I built the package with PyVista. The package plotter is built on top of the PyVista Plotter, which uses Uniform Grids to visualize test function landscapes, Glyphs to visualize function gradient orientations and points as they descend their gradients, and Tube-filtered PolyData to visualize the paths of points during their descents. Examples of package use can be found on the repo's README.
Screen.Recording.2022-07-26.at.12.12.46.AM.mov
I also featured this package and PyVista in a recent Medium post.
griewank_function3.mov
Beta Was this translation helpful? Give feedback.
All reactions