Model for classifying time-series data with distinct features?model for univariate time series with 0,1 as data valuesTime series with erroneous dataClassifying time series data that overlapFeatures for blink detection in real-time single channel EEGHow can I prepare my data from multiple time series sources for time series regression?Normalising time(minutes) related data with n other input variables(also dependant on time)Input shape for simpler time series in LSTM+CNNMultivariate time series forecasting with LSTMTime Series prediction for uneven data with some data providedTrain LSTM model with multiple time series

Why can Carol Danvers change her suit colours in the first place?

How to fade a semiplane defined by line?

On a tidally locked planet, would time be quantized?

Why is the "ls" command showing permissions of files in a FAT32 partition?

Sums of entire surjective functions

Multiplicative persistence

Why is this estimator biased?

Can disgust be a key component of horror?

How could a planet have erratic days?

Is there a way to get `mathscr' with lower case letters in pdfLaTeX?

Has any country ever had 2 former presidents in jail simultaneously?

Why should universal income be universal?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Lowest total scrabble score

How do apertures which seem too large to physically fit work?

Why did the EU agree to delay the Brexit deadline?

PTIJ: Haman's bad computer

Is there a RAID 0 Equivalent for RAM?

Hero deduces identity of a killer

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset

How can "mimic phobia" be cured or prevented?

Non-trope happy ending?

How should I respond when I lied about my education and the company finds out through background check?



Model for classifying time-series data with distinct features?


model for univariate time series with 0,1 as data valuesTime series with erroneous dataClassifying time series data that overlapFeatures for blink detection in real-time single channel EEGHow can I prepare my data from multiple time series sources for time series regression?Normalising time(minutes) related data with n other input variables(also dependant on time)Input shape for simpler time series in LSTM+CNNMultivariate time series forecasting with LSTMTime Series prediction for uneven data with some data providedTrain LSTM model with multiple time series













0












$begingroup$


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 enter image description here or this enter image description here



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.










share|improve this question







New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    Does this problem have only 1 input variable ?
    $endgroup$
    – Shamit Verma
    Mar 19 at 6:58










  • $begingroup$
    Yes, as a function of time, but I would think the answer would apply to more complex problems?
    $endgroup$
    – Rithwik Sudharsan
    Mar 19 at 20:04















0












$begingroup$


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 enter image description here or this enter image description here



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.










share|improve this question







New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    Does this problem have only 1 input variable ?
    $endgroup$
    – Shamit Verma
    Mar 19 at 6:58










  • $begingroup$
    Yes, as a function of time, but I would think the answer would apply to more complex problems?
    $endgroup$
    – Rithwik Sudharsan
    Mar 19 at 20:04













0












0








0





$begingroup$


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 enter image description here or this enter image description here



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.










share|improve this question







New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




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 enter image description here or this enter image description here



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.







time-series lstm cnn






share|improve this question







New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 19 at 3:33









Rithwik SudharsanRithwik Sudharsan

1




1




New contributor




Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Rithwik Sudharsan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • $begingroup$
    Does this problem have only 1 input variable ?
    $endgroup$
    – Shamit Verma
    Mar 19 at 6:58










  • $begingroup$
    Yes, as a function of time, but I would think the answer would apply to more complex problems?
    $endgroup$
    – Rithwik Sudharsan
    Mar 19 at 20:04
















  • $begingroup$
    Does this problem have only 1 input variable ?
    $endgroup$
    – Shamit Verma
    Mar 19 at 6:58










  • $begingroup$
    Yes, as a function of time, but I would think the answer would apply to more complex problems?
    $endgroup$
    – Rithwik Sudharsan
    Mar 19 at 20:04















$begingroup$
Does this problem have only 1 input variable ?
$endgroup$
– Shamit Verma
Mar 19 at 6:58




$begingroup$
Does this problem have only 1 input variable ?
$endgroup$
– Shamit Verma
Mar 19 at 6:58












$begingroup$
Yes, as a function of time, but I would think the answer would apply to more complex problems?
$endgroup$
– Rithwik Sudharsan
Mar 19 at 20:04




$begingroup$
Yes, as a function of time, but I would think the answer would apply to more complex problems?
$endgroup$
– Rithwik Sudharsan
Mar 19 at 20:04










1 Answer
1






active

oldest

votes


















0












$begingroup$

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 :



  1. Simple feed-forward Network with number of inputs = number of time steps (Maybe scale / shift the data so that it always has the same number of time steps )

This should be able to detect some patterns for classification (Like f(0) must be less that f(4))



  1. Univariate LSTM with different sizes of time steps in each sample

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/






share|improve this answer









$endgroup$












  • $begingroup$
    How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
    $endgroup$
    – Rithwik Sudharsan
    yesterday










  • $begingroup$
    Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
    $endgroup$
    – Shamit Verma
    yesterday










Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Rithwik Sudharsan is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47576%2fmodel-for-classifying-time-series-data-with-distinct-features%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

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 :



  1. Simple feed-forward Network with number of inputs = number of time steps (Maybe scale / shift the data so that it always has the same number of time steps )

This should be able to detect some patterns for classification (Like f(0) must be less that f(4))



  1. Univariate LSTM with different sizes of time steps in each sample

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/






share|improve this answer









$endgroup$












  • $begingroup$
    How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
    $endgroup$
    – Rithwik Sudharsan
    yesterday










  • $begingroup$
    Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
    $endgroup$
    – Shamit Verma
    yesterday















0












$begingroup$

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 :



  1. Simple feed-forward Network with number of inputs = number of time steps (Maybe scale / shift the data so that it always has the same number of time steps )

This should be able to detect some patterns for classification (Like f(0) must be less that f(4))



  1. Univariate LSTM with different sizes of time steps in each sample

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/






share|improve this answer









$endgroup$












  • $begingroup$
    How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
    $endgroup$
    – Rithwik Sudharsan
    yesterday










  • $begingroup$
    Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
    $endgroup$
    – Shamit Verma
    yesterday













0












0








0





$begingroup$

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 :



  1. Simple feed-forward Network with number of inputs = number of time steps (Maybe scale / shift the data so that it always has the same number of time steps )

This should be able to detect some patterns for classification (Like f(0) must be less that f(4))



  1. Univariate LSTM with different sizes of time steps in each sample

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/






share|improve this answer









$endgroup$



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 :



  1. Simple feed-forward Network with number of inputs = number of time steps (Maybe scale / shift the data so that it always has the same number of time steps )

This should be able to detect some patterns for classification (Like f(0) must be less that f(4))



  1. Univariate LSTM with different sizes of time steps in each sample

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/







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 20 at 4:10









Shamit VermaShamit Verma

90929




90929











  • $begingroup$
    How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
    $endgroup$
    – Rithwik Sudharsan
    yesterday










  • $begingroup$
    Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
    $endgroup$
    – Shamit Verma
    yesterday
















  • $begingroup$
    How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
    $endgroup$
    – Rithwik Sudharsan
    yesterday










  • $begingroup$
    Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
    $endgroup$
    – Shamit Verma
    yesterday















$begingroup$
How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
$endgroup$
– Rithwik Sudharsan
yesterday




$begingroup$
How exactly would this take into account the existence of that central feature? Sorry I don't see exactly where this would be different from any standard time classification approach
$endgroup$
– Rithwik Sudharsan
yesterday












$begingroup$
Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
$endgroup$
– Shamit Verma
yesterday




$begingroup$
Time classification works well with patterns that repeat (Say f(x) dips below 0 every N steps). This patterns happens only once. So , network have to learn parts of the pattern.
$endgroup$
– Shamit Verma
yesterday










Rithwik Sudharsan is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Rithwik Sudharsan is a new contributor. Be nice, and check out our Code of Conduct.












Rithwik Sudharsan is a new contributor. Be nice, and check out our Code of Conduct.











Rithwik Sudharsan is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Data Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47576%2fmodel-for-classifying-time-series-data-with-distinct-features%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?