Giter Site home page Giter Site logo

tension's Introduction

tension

The tension package is a Python package for building and FORCE training chaotic recurrent neural networks. tension is built to integrate seamlessly with TensorFlow/Keras, a widely used software package for training artificial neural networks.

Code and documentation

Installation guide, contributing guide, and API reference are available on the documentation website

Example notebooks for reproducing the experiments in the associated software report can also be found on the documentation website and in the examples folder. These notebooks can be run either in Google Colab or in a local jupyter notebook.

Documentation for TensorFlow/Keras, on which tension is based and interoperable with, can be found at the TensorFlow guide.

Dependencies

tension depends on Python >= 3.7, tensorflow>=2.5, numpy and matplotlib.

Installation

Local installation

We recommend installing tension into a conda environment

conda create -n tension python=3.7

followed by

conda activate tension

From GitHub

Clone this repo using

git clone https://github.com/zhenruiliao/tension.git

Change into the tension directory and install using pip

cd tension/
pip install -e .

From PyPI

pip install tension

Google Colab

To quickly get started with tension, the package can also be installed in Google Colab using the following commands

!git clone https://github.com/zhenruiliao/tension.git tension
!pip install -e tension

The runtime must be restarted for the package to become importable

Contributing

Bug reports, feature requests, and pull requests are welcome and encouraged! Use the Issues and Pull requests tabs to open new issues or pull requests. Always be kind and respectful.

License

tension is provided under the MIT License. TensorFlow is provided under the Apache 2.0 license.

Acknowledgments

Based on work by David Sussillo and Larry Abbott https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2756108/

With thanks to James Priestley for the package name.

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.