mattloper / chumpy

MIT License
195 stars 118 forks source link

chumpy

version license python versions build status

Autodifferentiation tool for Python.

Installation

Install the fork:

pip install chumpy

Import it:

import chumpy as ch

Overview

Chumpy is a Python-based framework designed to handle the auto-differentiation problem, which is to evaluate an expression and its derivatives with respect to its inputs, by use of the chain rule.

Chumpy is intended to make construction and local minimization of objectives easier.

Specifically, it provides:

Usage

Chumpy comes with its own demos, which can be seen by typing the following:

import chumpy
chumpy.demo() # prints out a list of possible demos

License

This project is licensed under the MIT License.