Skip to content

datarobot-community/symbolic-regression-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Symbolic Regression from Scratch with Python

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).

Depedencies

  • Pandas
  • auto-mpg.data

Usage

python symbolic_regression.py

Setup/Installation

pip install python
wget http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.data

Development and Contributing

If you'd like to report an issue or bug, suggest improvements, or contribute code to this project, please refer to CONTRIBUTING.md.

Code of Conduct

This project has adopted the Contributor Covenant for its Code of Conduct. See CODE_OF_CONDUCT.md to read it in full.

License

Licensed under the Apache License 2.0. See LICENSE to read it in full.