Skip to content

Instantly share code, notes, and snippets.

@akaysh
Created November 16, 2016 14:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akaysh/78185d23da568b83d5eac166d8512782 to your computer and use it in GitHub Desktop.
Save akaysh/78185d23da568b83d5eac166d8512782 to your computer and use it in GitHub Desktop.
How to use ELM (Extreme Learning Machines) for time series forecasting. This example demonstrates TS forecasting with ELMs. It uses Python-ELM for implementation of ELMs and sklearn, pandas and matplotlib for data processing and visualization.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akaysh
Copy link
Author

akaysh commented Nov 16, 2016

ELM is used to predict point estimates while Nearest Neighbour approach is used to predict prediction intervals for the test data values.
link to paper: https://www.ncbi.nlm.nih.gov/pubmed/25910257
This gist is only based on 2nd approach of the paper.

@hassanmehmud
Copy link

hassanmehmud commented Apr 5, 2020

which elm and random_layer package have you used here?

@akaysh
Copy link
Author

akaysh commented Apr 5, 2020

@hassanmehmud I have mentioned it.
You can use https://github.com/dclambert/Python-ELM

@atiahzaini
Copy link

for i in range(1,1135):

Hi. how to determine the range? thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment