chrisfosterelli/physical-gradient-descent
Code for https://fosterelli.co/executing-gradient-descent-on-the-earth
This tool helps you find the lowest point on a real-world terrain by simulating a 'physical' ball rolling downhill. You provide geographical coordinates and a topographical map file (TIF), and it outputs the path taken and the final lowest point. This is useful for researchers or geospatial analysts studying elevation profiles or optimal descent paths in natural landscapes.
Use this if you need to simulate or analyze how something would naturally roll down a real-world hill or mountain, using actual elevation data.
Not ideal if you're looking for a general-purpose optimization algorithm for abstract functions or non-geographical data.
Stars
69
Forks
11
Language
Python
License
—
Category
Last pushed
Mar 27, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/chrisfosterelli/physical-gradient-descent"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
jolars/sortedl1
Python package for Sorted L-One Penalized Estimation (SLOPE)
gugarosa/opytimizer
🐦 Opytimizer is a Python library consisting of meta-heuristic optimization algorithms.
SENATOROVAI/gradient-descent-sgd-solver-course
Stochastic Gradient Descent (SGD) is an optimization algorithm that updates model parameters...
hiroyuki-kasai/SGDLibrary
MATLAB/Octave library for stochastic optimization algorithms: Version 1.0.20
softmin/ReHLine-python
Regularized Composite ReLU-ReHU Loss Minimization with Linear Computation and Linear Convergence