{"id":20116682,"url":"https://github.com/sylvchev/simple_esn","last_synced_at":"2025-06-12T09:36:13.673Z","repository":{"id":33169893,"uuid":"36810964","full_name":"sylvchev/simple_esn","owner":"sylvchev","description":"simple Echo State Networks integrated with scikit-learn","archived":false,"fork":false,"pushed_at":"2020-02-09T23:38:41.000Z","size":154,"stargazers_count":26,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-12-16T15:16:45.409Z","etag":null,"topics":["esn","reservoir","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sylvchev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-03T15:00:13.000Z","updated_at":"2023-08-29T16:40:18.000Z","dependencies_parsed_at":"2022-07-29T18:49:51.736Z","dependency_job_id":null,"html_url":"https://github.com/sylvchev/simple_esn","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvchev%2Fsimple_esn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvchev%2Fsimple_esn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvchev%2Fsimple_esn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvchev%2Fsimple_esn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sylvchev","download_url":"https://codeload.github.com/sylvchev/simple_esn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252703214,"owners_count":21790851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esn","reservoir","scikit-learn"],"created_at":"2024-11-13T18:42:49.592Z","updated_at":"2025-05-06T14:30:32.669Z","avatar_url":"https://github.com/sylvchev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Echo State Network\n\n[![Coverage Status](https://coveralls.io/repos/sylvchev/simple_esn/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/sylvchev/simple_esn?branch=master)\n[![Travis CI](https://travis-ci.org/sylvchev/simple_esn.svg?branch=master)](https://travis-ci.org/sylvchev/simple_esn)\n[![Code Climate](https://codeclimate.com/github/sylvchev/simple_esn/badges/gpa.svg)](https://codeclimate.com/github/sylvchev/simple_esn)\n\n## Simple ESN\n\n**simple_esn** implement a Python class of simple Echo State Network models\nwithin the Scikit-learn framework. It is intended to be a fast-and-easy\ntransformation of an input signal in a reservoir of neurons. The classification\nor regression could be done with any scikit-learn classifier/regressor.\n\nThe `SimpleESN` object could be part of a `Pipeline` and its parameter space could\nbe explored with a `GridSearchCV`, for example.\n\nThe code is inspired by the \"minimalistic ESN example\" proposed by Mantas\nLukoševičius. It is licenced under GPLv3.\n\n## Useful links\n\n-   Code from Mantas Lukoševičius: http://organic.elis.ugent.be/software/minimal\n-   Code from Mantas Lukoševičius: http://minds.jacobs-university.de/mantas/code\n-   More serious reservoir computing softwares: http://organic.elis.ugent.be/software\n-   Scikit-learn, indeed: http://scikit-learn.org/\n\n## Dependencies\n\nThe only dependencies are scikit-learn, numpy and scipy.\n\n## Installation\n\nInstall with `python setup.py install` or `python setup.py develop`\n\n## Examples\n\nUsing the SimpleESN class is easy as:\n\n```python\nfrom simple_esn.simple_esn import SimpleESN\nimport numpy as np\nn_samples, n_features = 10, 5\nnp.random.seed(0)\nX = np.random.randn(n_samples, n_features)\nesn = SimpleESN(n_readout = 2)\nechoes = esn.fit_transform(X)\n```\n\nIt could also be part of a Pipeline:\n\n```python\nfrom simple_esn.simple_esn import SimpleESN\n# Pick your classifier\npipeline = Pipeline([('esn', SimpleESN(n_readout=1000)),\n                     ('svr', svm.SVR())])\nparameters = {\n    'esn__weight_scaling': [0.5, 1.0],\n    'svr__C': [1, 10]\n}\ngrid_search = GridSearchCV(pipeline, parameters)\ngrid_search.fit(X_train, y_train)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvchev%2Fsimple_esn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsylvchev%2Fsimple_esn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvchev%2Fsimple_esn/lists"}