All Projects → nschaetti → Echotorch

nschaetti / Echotorch

Licence: gpl-3.0
A Python toolkit for Reservoir Computing and Echo State Network experimentation based on pyTorch. EchoTorch is the only Python module available to easily create Deep Reservoir Computing models.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Echotorch

Free Ai Resources
🚀 FREE AI Resources - 🎓 Courses, 👷 Jobs, 📝 Blogs, 🔬 AI Research, and many more - for everyone!
Stars: ✭ 192 (-16.88%)
Mutual labels:  artificial-intelligence, machine-learning-algorithms, machinelearning, artificial-neural-networks
Igel
a delightful machine learning tool that allows you to train, test, and use models without writing code
Stars: ✭ 2,956 (+1179.65%)
Mutual labels:  artificial-intelligence, neural-networks, machine-learning-algorithms, machinelearning
Mariana
The Cutest Deep Learning Framework which is also a wonderful Declarative Language
Stars: ✭ 151 (-34.63%)
Mutual labels:  artificial-intelligence, machine-learning-algorithms, machinelearning, artificial-neural-networks
Letslearnai.github.io
Lets Learn AI
Stars: ✭ 33 (-85.71%)
Mutual labels:  artificial-intelligence, machine-learning-algorithms, machinelearning
Learn Data Science For Free
This repositary is a combination of different resources lying scattered all over the internet. The reason for making such an repositary is to combine all the valuable resources in a sequential manner, so that it helps every beginners who are in a search of free and structured learning resource for Data Science. For Constant Updates Follow me in …
Stars: ✭ 4,757 (+1959.31%)
Mutual labels:  artificial-intelligence, neural-networks, machine-learning-algorithms
Trending Deep Learning
Top 100 trending deep learning repositories sorted by the number of stars gained on a specific day.
Stars: ✭ 543 (+135.06%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks, artificial-neural-networks
Awesome Ai Awesomeness
A curated list of awesome awesomeness about artificial intelligence
Stars: ✭ 268 (+16.02%)
Mutual labels:  artificial-intelligence, neural-networks, artificial-neural-networks
Malware Classification
Towards Building an Intelligent Anti-Malware System: A Deep Learning Approach using Support Vector Machine for Malware Classification
Stars: ✭ 88 (-61.9%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks, artificial-neural-networks
Machine Learning From Scratch
Succinct Machine Learning algorithm implementations from scratch in Python, solving real-world problems (Notebooks and Book). Examples of Logistic Regression, Linear Regression, Decision Trees, K-means clustering, Sentiment Analysis, Recommender Systems, Neural Networks and Reinforcement Learning.
Stars: ✭ 42 (-81.82%)
Mutual labels:  artificial-intelligence, neural-networks, machine-learning-algorithms
Deep Learning With Python
Deep learning codes and projects using Python
Stars: ✭ 195 (-15.58%)
Mutual labels:  artificial-intelligence, neural-networks, recurrent-neural-networks
Awesome Quantum Machine Learning
Here you can get all the Quantum Machine learning Basics, Algorithms ,Study Materials ,Projects and the descriptions of the projects around the web
Stars: ✭ 1,940 (+739.83%)
Mutual labels:  artificial-intelligence, machine-learning-algorithms, artificial-neural-networks
Machine Learning Flappy Bird
Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm
Stars: ✭ 1,683 (+628.57%)
Mutual labels:  artificial-intelligence, neural-networks, machinelearning
100daysofmlcode
My journey to learn and grow in the domain of Machine Learning and Artificial Intelligence by performing the #100DaysofMLCode Challenge.
Stars: ✭ 146 (-36.8%)
Mutual labels:  artificial-intelligence, neural-networks, artificial-neural-networks
First Steps Towards Deep Learning
This is an open sourced book on deep learning.
Stars: ✭ 376 (+62.77%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks, artificial-neural-networks
Daily Neural Network Practice 2
Daily Dose of Neural Network that Everyone Needs
Stars: ✭ 18 (-92.21%)
Mutual labels:  artificial-intelligence, neural-networks, machine-learning-algorithms
Komputation
Komputation is a neural network framework for the Java Virtual Machine written in Kotlin and CUDA C.
Stars: ✭ 295 (+27.71%)
Mutual labels:  artificial-intelligence, neural-networks, recurrent-neural-networks
Gru Svm
[ICMLC 2018] A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for Intrusion Detection
Stars: ✭ 76 (-67.1%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks, artificial-neural-networks
artificial neural networks
A collection of Methods and Models for various architectures of Artificial Neural Networks
Stars: ✭ 40 (-82.68%)
Mutual labels:  machine-learning-algorithms, artificial-neural-networks, machinelearning
Machine Learning And Ai In Trading
Applying Machine Learning and AI Algorithms applied to Trading for better performance and low Std.
Stars: ✭ 258 (+11.69%)
Mutual labels:  artificial-intelligence, machine-learning-algorithms, artificial-neural-networks
Top Deep Learning
Top 200 deep learning Github repositories sorted by the number of stars.
Stars: ✭ 1,365 (+490.91%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks, artificial-neural-networks


EchoTorch is a python module based on PyTorch to implement and test various flavours of Echo State Network models. EchoTorch is not intended to be put into production but for research purposes. As it is based on PyTorch, EchoTorch's layers are designed to be integrated into deep architectures for future work and research.

Tweet

Join our community to create datasets and deep-learning models! Chat with us on Gitter and join the Google Group to collaborate with us.

Discord

Development status

PyPI - Python Version Documentation Status

Builds

Master

Build Status

Dev

Upload Python Test Package Python package testing

Index

This repository consists of:

Examples

Here is some examples of what you can do with EchoTorch.

Tutorials

In addition to examples, here are some Jupyter tutorials to learn how Reservoir Computing works.

Code and papers

Here are some experimences done with ESN and reproduced with EchoTorch :

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to following package to install EchoTorch.

  • sphinx_bootstrap_theme
  • future
  • numpy
  • scipy
  • scikit-learn
  • matplotlib
  • torch==1.3.0
  • torchvision==0.4.1

Installation

pip install EchoTorch

Authors

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

Citing

If you find EchoTorch useful for an academic publication, then please use the following BibTeX to cite it:

@misc{echotorch,
  author = {Schaetti, Nils},
  title = {EchoTorch: Reservoir Computing with pyTorch},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/nschaetti/EchoTorch}},
}

A short introduction

Classical ESN training

You can simply create an ESN with the ESN or LiESN objects in the nn module.

esn = etnn.LiESN(
    input_dim,
    n_hidden,
    output_dim,
    spectral_radius,
    learning_algo='inv',
    leaky_rate=leaky_rate
)

Where

  • input_dim is the input dimensionality;
  • h_hidden is the size of the reservoir;
  • output_dim is the output dimensionality;
  • spectral_radius is the spectral radius with a default value of 0.9;
  • learning_algo allows you to choose with training algorithms to use. The possible values are inv, LU and sdg;

You now just have to give the ESN the inputs and the attended outputs.

for data in trainloader:
    # Inputs and outputs
    inputs, targets = data

    # To variable
    inputs, targets = Variable(inputs), Variable(targets)

    # Give the example to EchoTorch
    esn(inputs, targets)
# end for

After giving all examples to EchoTorch, you just have to call the finalize method.

esn.finalize()

The model is now trained and you can call the esn object to get a prediction.

predicted = esn(test_input)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].