Python Forum
Keras: Time series classification
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keras: Time series classification

I am designing a Neural Network for a classification of time series. I have 4 classes of functions and around 50000 samples for each class. The functions have a length of about 500 points normalized so that max(abs(f(t)))=1. The 4 classes are roughly speaking 'continuous', 'discontinuous', 'in-between' and 'trash'.

What Neural Network design would you use for this particular problem?

The design I'm using currently is a CNN.

model = Sequential()
model.add(Conv1D(16, 8,input_shape=(500,1)))
model.add(Conv1D(8, 5))
model.add(Conv1D(8, 3))
model.add(Dense(4, activation='softmax'))
model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])
I'm open to all suggestions. The Network is not performing very well (85% accuracy).

Thank you for your help!

Possibly Related Threads…
Thread Author Replies Views Last Post
  Probabilities of binary classification problem Troublesome1996 0 703 Apr-19-2021, 06:40 PM
Last Post: Troublesome1996
  GridSearchCV for multi-label classification mapypy 0 642 Mar-29-2021, 01:58 AM
Last Post: mapypy
  Understanding Keras and TensorFlow and how to use them bytecrunch 1 538 Mar-11-2021, 02:40 PM
Last Post: jefsummers
  GNN For Graph "Classification" BennyS 1 494 Feb-09-2021, 12:09 PM
Last Post: BennyS
  Recommendations for ML libraries for time-series forecast AndreasPython 0 431 Jan-06-2021, 01:03 PM
Last Post: AndreasPython
  Help with multiclass classification in perceptron code Nimo_47 0 730 Nov-09-2020, 10:32 PM
Last Post: Nimo_47
  Time Series forecating with multiple independent variables Krychol88 1 451 Oct-23-2020, 08:11 AM
Last Post: DPaul
  Keras.Predict into Dataframe Finpyth 13 2,847 Aug-31-2020, 07:22 AM
Last Post: hussainmujtaba
  Making a Basic Keras Model - Input Shape and Parameters MattKahn13 0 772 Aug-16-2020, 04:36 PM
Last Post: MattKahn13
  how to handling time series data file with Python? aupres 4 958 Aug-10-2020, 12:40 PM
Last Post: MattKahn13

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020