Giter Site home page Giter Site logo

ValueError: Input 0 is incompatible with layer AE: expected shape=(None, 5210, 6), found shape=(None, 6) about deeptemporalclustering HOT 3 CLOSED

florentf9 avatar florentf9 commented on August 15, 2024
ValueError: Input 0 is incompatible with layer AE: expected shape=(None, 5210, 6), found shape=(None, 6)

from deeptemporalclustering.

Comments (3)

falcon-ram avatar falcon-ram commented on August 15, 2024

Do I have to reshape my X_train to (1, 5210,6)?

from deeptemporalclustering.

FlorentF9 avatar FlorentF9 commented on August 15, 2024

This model aims at clustering whole multivariate time series, i.e. the input matrix should be (N, T, F) where N is the number of input series, T the length of each series (timesteps), and F the number of observed variables (features). The clustering is performed on the N inputs. I think your data set does not meet this requirement. What do you want to cluster exactly? The 5210 individual time points (i.e. 5210 points in a 6-dimensional space)? or the 6 univariate time series (i.e. 6 points in a 5210-dimensional space)?

from deeptemporalclustering.

falcon-ram avatar falcon-ram commented on August 15, 2024

Hello Florent,
Thanks for the response. I'm actually trying to classify 5210 points in a 6-dimensional space. I'm trying to see if I can get a Machine Learning algorithm can classify up trends, down trends and neutral trends in Stock market data.
After looking more carefully at the code and the input data used I realized what is going on.
Thanks and regards.

from deeptemporalclustering.

Related Issues (20)

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.