Data Science Asked by Rithwik Sudharsan on December 30, 2020
I’ve heard about time-series classification being done with TCN’s and CNN’s combined with LSTM’s very often, citing that CNN’s would provide insight both forward and in the past since you already have all the information for that time period. For my application, there is a distinct shape and I’d like to classify whether it exists or not. For example, I want to detect whether the data looks like this or this
Of course, there would be noise involved and the feature would be much less obvious making the problem worthy of using machine learning. Is there some way I can exploit this knowledge of there being a single important feature (this hump) to use a different architecture or do anything differently? Thanks.
This specific problem looks at the pattern across the whole data I.e. pattern will not show up from time < -3 or time > 3 for a given curvature.
You can try two models :
This should be able to detect some patterns for classification (Like f(0) must be less that f(4))
This should be able to learn that f(x) should stay near constant, reduce and then increase and return to constant
Both networks will have a sigmoid in output layer since it is a binary classification problem.
Code exmaple for LSTM : https://machinelearningmastery.com/sequence-classification-lstm-recurrent-neural-networks-python-keras/
Answered by Shamit Verma on December 30, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP