Git Product home page Git Product logo

Comments (6)

philipperemy avatar philipperemy commented on August 30, 2024

@Rasipuram first do the examples in the repository work for you?

from keras-tcn.

philipperemy avatar philipperemy commented on August 30, 2024

num_classes=5, should not be defined here. It seems to be a regression problem!

So please refer to the example here: https://github.com/philipperemy/keras-tcn/blob/master/tasks/adding_problem/main.py

from keras-tcn.

philipperemy avatar philipperemy commented on August 30, 2024
    model = compiled_tcn(return_sequences=False,
                         num_feat=x_train.shape[2],
                         num_classes=0,
                         nb_filters=24,
                         kernel_size=8,
                         dilations=[2 ** i for i in range(9)],
                         nb_stacks=2,
                         max_len=x_train.shape[1],
                         activation='norm_relu',
                         use_skip_connections=True,
                         regression=True,
                         dropout_rate=0)

should be something like that.

return_sequences=False !

from keras-tcn.

philipperemy avatar philipperemy commented on August 30, 2024

Let me know if you have any trouble.

from keras-tcn.

Rasipuram avatar Rasipuram commented on August 30, 2024

Thank you. It worked!
Would like to know how it works for a 5-class classification problem.

from keras-tcn.

philipperemy avatar philipperemy commented on August 30, 2024

Hum in that case, please read some documentation related to Keras classification!
You'll find tons of example on how to make a classification task

from keras-tcn.

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.