Giter VIP home page Giter VIP logo

deepesn's Issues

DeepESN for multivariate time-series classification problem

hello,

I would like to use this implementation for a multivariable time series classification.

My dataset is composed of several examples of 9 time-series segments with 128 steps.
Each segment belongs to one of 5 classes.

Input shape (2128,128,9) -> (number of examples, time-steps, variables)
output shape (2128,1) - > (number of examples, class)
(the class is one-hot-encoded so I use categorical-cross-entropy with 5 neurons output layer)

I have it working with a LSTMs based model.

I would like to test with deepESN to see if there is any improvement.

If you can help to provide some lights/base code to do this adaptation it would be nice.

Thanks in advance,
Rui

Accepting PR or updates ?

I recently found your repo after reading about DPS and models, and was curious if this repo is still active or if it's been deprecated

ValueError when running main_MultivariatePolyphonic.py

D:\ProgramFilesNoSpace\Miniconda3\envs\py36\python.exe C:/Users/MONKEY/Desktop/DeepESN-master/main_MultivariatePolyphonic.py
Traceback (most recent call last):
  File "C:/Users/MONKEY/Desktop/DeepESN-master/main_MultivariatePolyphonic.py", line 80, in <module>
    main()
  File "C:/Users/MONKEY/Desktop/DeepESN-master/main_MultivariatePolyphonic.py", line 61, in main
    states = deepESN.computeState(dataset.inputs, deepESN.IPconf.DeepIP)
  File "C:\Users\MONKEY\Desktop\DeepESN-master\DeepESN\DeepESN.py", line 206, in computeState
    states = self.computeDeepIntrinsicPlasticity(inputs)
  File "C:\Users\MONKEY\Desktop\DeepESN-master\DeepESN\DeepESN.py", line 174, in computeDeepIntrinsicPlasticity
    self.computeLayerState(inputs[i], layer, 1)   
  File "C:\Users\MONKEY\Desktop\DeepESN-master\DeepESN\DeepESN.py", line 130, in computeLayerState
    state[:,0:1] = (1-self.lis[layer]) * initialStatesLayer + self.lis[layer] * np.tanh( np.multiply(self.Gain[layer], self.W[layer].dot(initialStatesLayer) + input[:,0:1]) + self.Bias[layer])        
ValueError: could not broadcast input array from shape (100,100) into shape (100,1)

Process finished with exit code 1

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.