{"id":439,"date":"2024-12-09T07:00:54","date_gmt":"2024-12-09T07:00:54","guid":{"rendered":"https:\/\/mailitics.com\/index.php\/2024\/12\/09\/timeseries_pattern_detection_problem\/"},"modified":"2024-12-09T07:00:54","modified_gmt":"2024-12-09T07:00:54","slug":"timeseries_pattern_detection_problem","status":"publish","type":"post","link":"https:\/\/mailitics.com\/index.php\/2024\/12\/09\/timeseries_pattern_detection_problem\/","title":{"rendered":"Timeseries pattern detection problem"},"content":{"rendered":"<p>    Timeseries pattern detection problem<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>I&#8217;ve never dealt with any time series data &#8211; please help me understand if I&#8217;m reinventing the wheel or on the right track.<\/p>\n<p>I&#8217;m building a little hobby app, which is a habit tracker of sorts. The idea is that it lets the user record things they&#8217;ve done, on a daily basis, like &#8220;brush teeth&#8221;, &#8220;walk the dog&#8221;, &#8220;go for a run&#8221;, &#8220;meet with friends&#8221; etc, and then tracks the frequency of those and helps do certain things more or less often.<\/p>\n<p>Now I want to add a feature that would suggest some cadence for each individual habit based on past data &#8211; e.g. &#8220;2 times a day&#8221;, &#8220;once a week&#8221;, &#8220;every Tuesday and Thursday&#8221;, &#8220;once a month&#8221;, etc.<\/p>\n<p>My first thought here is to create some number of parametrized &#8220;templates&#8221; and then infer parameters and rank them via MLE, and suggest the top one(s).<\/p>\n<p>Is this how that&#8217;s commonly done? Is there a standard name for this, or even some standard method\/implementation I could use?<\/p>\n<\/p><\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/ilyanekhay\"> \/u\/ilyanekhay <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datascience\/comments\/1h9o1r5\/timeseries_pattern_detection_problem\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datascience\/comments\/1h9o1r5\/timeseries_pattern_detection_problem\/\">[comments]<\/a><\/span>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    \/u\/ilyanekhay<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/www.reddit.com\/r\/datascience\/comments\/1h9o1r5\/timeseries_pattern_detection_problem\/\">Go to original source<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Timeseries pattern detection problem I&#8217;ve never dealt with any time series data &#8211; please help me understand if I&#8217;m reinventing the wheel or on the right track. I&#8217;m building a little hobby app, which is a habit tracker of sorts. The idea is that it lets the user record things they&#8217;ve done, on a daily [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62,99],"tags":[546,292,545],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-aimldsaimlds","category-datascience","tag-pattern","tag-some","tag-timeseries"],"_links":{"self":[{"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/posts\/439"}],"collection":[{"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/comments?post=439"}],"version-history":[{"count":0,"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/posts\/439\/revisions"}],"wp:attachment":[{"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/media?parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/categories?post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mailitics.com\/index.php\/wp-json\/wp\/v2\/tags?post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}