Skip to content

Fork of Matt Loper's autodifferentiation framework for Python

License

Notifications You must be signed in to change notification settings

metabolize-forks/chumpy

 
 

Repository files navigation

metabochumpy

pip install version python versions build status last commit open pull requests

This is an active fork of chumpy, Matt Loper's autodifferentiation tool for Python.

The fork's goals are modest:

  • Keep the library working in current versions of Python and other tools.
  • Make bug fixes.
  • Provide API stability and backward compatibility with the upstream version.
  • Respond to community contributions.

Installation

Install the fork:

pip install metabochumpy

And import it just like the upstream library:

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:

  • Easy problem construction by using Numpy’s application interface
  • Easy access to derivatives via auto differentiation
  • Easy local optimization methods (12 of them: most of which use the derivatives)

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

Acknowledgements

Chumpy was created by Matthew Loper.

License

This project is licensed udner the MIT License.

About

Fork of Matt Loper's autodifferentiation framework for Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Makefile 0.2%