Bottom Page

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!

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  how to handling time series data file with Python? aupres 4 231 Aug-10-2020, 12:40 PM
Last Post: MattKahn13
  Changing Time Series from Start to End of Month illmattic 0 231 Jul-16-2020, 10:49 AM
Last Post: illmattic
  HELP- DATA FRAME INTO TIME SERIES- BASIC bntayfur 0 158 Jul-11-2020, 09:04 PM
Last Post: bntayfur
  Differencing Time series and Inverse after Training donnertrud 0 204 May-27-2020, 06:11 AM
Last Post: donnertrud
  Classification and Regression tree (CART) kumarants 2 355 May-26-2020, 11:04 AM
Last Post: Larz60+
  Error when import Keras Azadfalah 1 280 Apr-29-2020, 04:45 AM
Last Post: buran
  How can I convert time-series data in rows into column srvmig 0 253 Apr-11-2020, 05:40 AM
Last Post: srvmig
  Keras.Predict into Dataframe Finpyth 12 634 Mar-15-2020, 06:22 PM
Last Post: Finpyth
  Using shift to compute the percent change in a time series new_to_python 6 665 Mar-03-2020, 07:50 PM
Last Post: new_to_python
  Keras + Matplotlib causing crash spearced 3 988 Feb-06-2020, 04:54 PM
Last Post: zljt3216

Forum Jump:

Users browsing this thread: 1 Guest(s)