{"action":"created","issue":{"url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/45","labels_url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/45/comments","events_url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/45/events","html_url":"https://github.com/cloudwalkio/omg-monitor/issues/45","id":64247749,"number":45,"title":"default resolution","user":{"login":"michaelneale","id":14976,"avatar_url":"https://avatars.githubusercontent.com/u/14976?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelneale","html_url":"https://github.com/michaelneale","followers_url":"https://api.github.com/users/michaelneale/followers","following_url":"https://api.github.com/users/michaelneale/following{/other_user}","gists_url":"https://api.github.com/users/michaelneale/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelneale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelneale/subscriptions","organizations_url":"https://api.github.com/users/michaelneale/orgs","repos_url":"https://api.github.com/users/michaelneale/repos","events_url":"https://api.github.com/users/michaelneale/events{/privacy}","received_events_url":"https://api.github.com/users/michaelneale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T11:31:35Z","updated_at":"2015-03-25T14:05:33Z","closed_at":null,"body":"@allanino  I think this is 2 (which seems reasonable default) and is overridable. However my question is if there is a downside to having it small for large numbers. Eg say you are learning network traffic in KB, numbers often in 20000 range etc - would a resolution of 2 be bad? I can't find documentation or mailling list information on the downside of having \"too small\" resolution (I understand too big means it may not spot things). Wanted to know if you had any knowledge on this? "},"comment":{"url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/comments/86043128","html_url":"https://github.com/cloudwalkio/omg-monitor/issues/45#issuecomment-86043128","issue_url":"https://api.github.com/repos/cloudwalkio/omg-monitor/issues/45","id":86043128,"user":{"login":"allanino","id":5325241,"avatar_url":"https://avatars.githubusercontent.com/u/5325241?v=3","gravatar_id":"","url":"https://api.github.com/users/allanino","html_url":"https://github.com/allanino","followers_url":"https://api.github.com/users/allanino/followers","following_url":"https://api.github.com/users/allanino/following{/other_user}","gists_url":"https://api.github.com/users/allanino/gists{/gist_id}","starred_url":"https://api.github.com/users/allanino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanino/subscriptions","organizations_url":"https://api.github.com/users/allanino/orgs","repos_url":"https://api.github.com/users/allanino/repos","events_url":"https://api.github.com/users/allanino/events{/privacy}","received_events_url":"https://api.github.com/users/allanino/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T14:05:33Z","updated_at":"2015-03-25T14:05:33Z","body":"In my experience, I found that too small resolutions (relative to input) lead to too much anomalies. So it's the opposite of the too big resolution you said: it will spot too many things.\r\n\r\nWe have two means by which we can control this. One is using a bigger resolution. The other is to use as input not the original data, but some transformation of it, like a moving average (average over a time window, like 30 minutes) or just some scaling (multiply the input by some scaling factor), or both. To use these transformations, just add  `moving_average_window: 30` and/or `scaling_factor: 0.5` to your parameters section in the YAML configuration. That's why we show three lines on the plots when using `debug=true`: we show actual input, transformed input and predicted value (based on transformed input). \r\n\r\n The code for the transformations are here and below: https://github.com/cloudwalkio/omg-monitor/blob/3334fbf16774e04f7ab2e6b21823ce106c9d39ca/monitor/streams/base.py#L79\r\n\r\n"}}