Please note: The code in these repos is sourced from the DataRobot user community and is not owned or maintained by DataRobot, Inc. You may need to make edits or updates for this code to function properly in your environment.
This repository contains Python code to accompany the article Symbolic Regression from Scratch with Python. The code implements a basic symbolic regression system which uses genetic programming to find a program that describes the relationship between some features and a target variable. More specifically, this code uses the "Auto MPG Data Set" from UCI to find a relationship between vehicle characteristics and mpg (miles per gallon).
- Pandas
- auto-mpg.data
python symbolic_regression.py
pip install python
wget http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.data
If you'd like to report an issue or bug, suggest improvements, or contribute code to this project, please refer to CONTRIBUTING.md.
This project has adopted the Contributor Covenant for its Code of Conduct. See CODE_OF_CONDUCT.md to read it in full.
Licensed under the Apache License 2.0. See LICENSE to read it in full.