Giter VIP home page Giter VIP logo

deepsymregtorch's Introduction

Integration of Neural Network-Based Symbolic Regression in Deep Learning for Scientific Discovery

This repository is the official PyTorch implementation of the EQL network described in Integration of Neural Network-Based Symbolic Regression in Deep Learning for Scientific Discovery

Symbolic regression, in which a model discovers an analytical equation describing a dataset as opposed to finding the weights of pre-defined features, is normally implemented using genetic programming. Here, we demonstrate symbolic regression using neural networks, which allows symbolic regression to be performed using gradient-based optimization techniques, i.e., backpropagation. It can be integrated with other deep learning architectures, allowing for end-to-end training of a system that produces interpretable and generalizable results.

This repository implements symbolic regression with neural networks using PyTorch. The TensorFlow 1 version can be found at this repository, which also implements the experiments found in the above paper.

Requirements

  • Python 3
  • PyTorch
  • NumPy
  • Scipy
  • Sympy
  • Matplotlib (optional)

All dependencies are in requirements.txt. To install required packages, you can simply run the following code in your shell.

pip install -r requirements.txt

Quick Start

Run

python benchmark_accuracy_l12.py

or

python benchmark_accuracy_l0.py

to test the symbolic regression network on various synthetic benchmarking tests. The two commands implement the architecture using smoothed L0.5 and relaxed L0 regularization, respectively.

Authors

Samuel Kim, Ileana Rugina, Amber Li

Contributing

If you'd like to contribute, or have any suggestions for these guidelines, you can contact Samuel Kim at samkim (at) mit (dot) edu or open an issue on this GitHub repository.

All content in this repository is licensed under the MIT license.

deepsymregtorch's People

Stargazers

 avatar Manyuan Zhang avatar Adam Erickson avatar  avatar  avatar  avatar Exuberant Witness avatar Jayico avatar  avatar Lirui Luo avatar Jack Huang avatar Mel Mashiku avatar Zhicheng Guo / Stark avatar Thought Vectors avatar Elvis Soares avatar  avatar Viktor Zaverkin avatar  avatar jinczing avatar Christian Cahig avatar Wenqiang Li avatar  avatar Javayss avatar Justin Diamond avatar monica avatar  avatar  avatar Daniel Wong avatar Joseph Olaide avatar  avatar faye avatar Sterling G. Baird avatar  avatar ๐ŸŠ avatar Dongmyung Shin avatar Ileana Rugina avatar

Watchers

James Cloos avatar Samuel Kim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.