{"action":"opened","issue":{"url":"https://api.github.com/repos/SofaPirate/Plaquette/issues/16","repository_url":"https://api.github.com/repos/SofaPirate/Plaquette","labels_url":"https://api.github.com/repos/SofaPirate/Plaquette/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/SofaPirate/Plaquette/issues/16/comments","events_url":"https://api.github.com/repos/SofaPirate/Plaquette/issues/16/events","html_url":"https://github.com/SofaPirate/Plaquette/issues/16","id":304175488,"number":16,"title":"Make a better adaptive normalizer","user":{"login":"sofian","id":791244,"avatar_url":"https://avatars0.githubusercontent.com/u/791244?v=4","gravatar_id":"","url":"https://api.github.com/users/sofian","html_url":"https://github.com/sofian","followers_url":"https://api.github.com/users/sofian/followers","following_url":"https://api.github.com/users/sofian/following{/other_user}","gists_url":"https://api.github.com/users/sofian/gists{/gist_id}","starred_url":"https://api.github.com/users/sofian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofian/subscriptions","organizations_url":"https://api.github.com/users/sofian/orgs","repos_url":"https://api.github.com/users/sofian/repos","events_url":"https://api.github.com/users/sofian/events{/privacy}","received_events_url":"https://api.github.com/users/sofian/received_events","type":"User","site_admin":false},"labels":[{"id":220108057,"url":"https://api.github.com/repos/SofaPirate/Plaquette/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"sofian","id":791244,"avatar_url":"https://avatars0.githubusercontent.com/u/791244?v=4","gravatar_id":"","url":"https://api.github.com/users/sofian","html_url":"https://github.com/sofian","followers_url":"https://api.github.com/users/sofian/followers","following_url":"https://api.github.com/users/sofian/following{/other_user}","gists_url":"https://api.github.com/users/sofian/gists{/gist_id}","starred_url":"https://api.github.com/users/sofian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofian/subscriptions","organizations_url":"https://api.github.com/users/sofian/orgs","repos_url":"https://api.github.com/users/sofian/repos","events_url":"https://api.github.com/users/sofian/events{/privacy}","received_events_url":"https://api.github.com/users/sofian/received_events","type":"User","site_admin":false},"assignees":[{"login":"sofian","id":791244,"avatar_url":"https://avatars0.githubusercontent.com/u/791244?v=4","gravatar_id":"","url":"https://api.github.com/users/sofian","html_url":"https://github.com/sofian","followers_url":"https://api.github.com/users/sofian/followers","following_url":"https://api.github.com/users/sofian/following{/other_user}","gists_url":"https://api.github.com/users/sofian/gists{/gist_id}","starred_url":"https://api.github.com/users/sofian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofian/subscriptions","organizations_url":"https://api.github.com/users/sofian/orgs","repos_url":"https://api.github.com/users/sofian/repos","events_url":"https://api.github.com/users/sofian/events{/privacy}","received_events_url":"https://api.github.com/users/sofian/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-11T17:13:17Z","updated_at":"2018-03-11T17:13:17Z","closed_at":null,"author_association":"COLLABORATOR","body":"I do not like the AdaptiveNormalizer and the Normalizer (as well as the Smoother) currently available in Plaquette because they each suffer from a specific problem:\r\n* AdaptiveNormalizer and Smoother can take too much time to converge to an appropriate average value, especially for small smoothing factor\r\n* Normalizer uses the average of all samples, which makes it non-adaptive\r\n\r\nI believe there is a way to combine the two principles into a single one that could be the default across Plaquette. Here is what needs to be done:\r\n* Use an exponential moving average\r\n* Instead of using the smoothing factor, the user would specify a time window (in seconds) to be used; there is a formula to find the appropriate smoothing factor for a given number of samples, such that if we know the sample rate, the user can specify a time window in time units (seconds) rather than in number of samples -- which is much more user-friendly (this is related to #15)\r\n* To address the problem of convergence of the moving average: until the exponential moving average converges (ie. for the first N samples, computed in relation to the sliding window) we could either (a) use a pure average or (b) use smoothly decreasing smoothing factor \r\n"}}
{"actor":{"display_login":"sofian"}}