In this video we use the python PySR symbolic regression library to rediscover Newton's Law of Universal Gravitation.
The code:
https://gist.github.com/KhanradCoder/2c5213fbf58c0fe505b96eb8816586f9
Download PySR:
https://github.com/MilesCranmer/PySR0:00 Introduction to PySR
1:24 Code Explanation
6:38 Training the Model
9:08 Neural Network Approach
10:04 Symbolic Regression vs Neural Networks
Symbolic regression is a type of regression analysis that searches the space of mathematical expressions to find the model that best fits a given dataset, both in terms of accuracy and simplicity.
Get 60 Free Days of Unlimited Access to Scribd!
https://www.scribd.com/g/6lchwh
6 Comments