{"action":"opened","issue":{"url":"https://api.github.com/repos/anrputina/OutlierDenStream/issues/1","repository_url":"https://api.github.com/repos/anrputina/OutlierDenStream","labels_url":"https://api.github.com/repos/anrputina/OutlierDenStream/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/anrputina/OutlierDenStream/issues/1/comments","events_url":"https://api.github.com/repos/anrputina/OutlierDenStream/issues/1/events","html_url":"https://github.com/anrputina/OutlierDenStream/issues/1","id":302298711,"number":1,"title":"Error when run DenStream.runOnNewSample() without run DenStream.runInitialization()","user":{"login":"luisalfarob","id":29873490,"avatar_url":"https://avatars3.githubusercontent.com/u/29873490?v=4","gravatar_id":"","url":"https://api.github.com/users/luisalfarob","html_url":"https://github.com/luisalfarob","followers_url":"https://api.github.com/users/luisalfarob/followers","following_url":"https://api.github.com/users/luisalfarob/following{/other_user}","gists_url":"https://api.github.com/users/luisalfarob/gists{/gist_id}","starred_url":"https://api.github.com/users/luisalfarob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisalfarob/subscriptions","organizations_url":"https://api.github.com/users/luisalfarob/orgs","repos_url":"https://api.github.com/users/luisalfarob/repos","events_url":"https://api.github.com/users/luisalfarob/events{/privacy}","received_events_url":"https://api.github.com/users/luisalfarob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T13:25:38Z","updated_at":"2018-03-05T13:25:38Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nWhen I try to run your code without runInitialization function I get the follow error:\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 2881, in run_code\r\n    exec(code_obj, self.user_global_ns, self.user_ns)\r\n  File \"<ipython-input-4-5410c89acfba>\", line 5, in <module>\r\n    result.append(den1.runOnNewSample(sample))\r\n  File \"C:\\git\\OutlierDenStream\\DenStream.py\", line 178, in runOnNewSample\r\n    self.buffer.append(sample)\r\n\r\nThis error can be resolved changing this line:\r\n self.buffer.append(sample) --> self.buffer.append(sample.value)\r\n\r\nSolved!\r\nNow I get another error:\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 2881, in run_code\r\n    exec(code_obj, self.user_global_ns, self.user_ns)\r\n  File \"<ipython-input-4-999f5b2e3fd2>\", line 5, in <module>\r\n    result.append(den1.runOnNewSample(sample))\r\n  File \"C:\\git\\OutlierDenStream\\DenStream.py\", line 179, in runOnNewSample\r\n    if (len(self.buffer) >= self.numberInitialSamples):\r\nTypeError: '>=' not supported between instances of 'int' and 'NoneType'\r\n\r\nI noted that the variable numberInitialSamples is not defined. So I'm thinking if I need change the way that a run the code or there are bugs when try to run the code for multicluster operations...\r\n\r\nI hope you can help me with this problem.\r\nRegards.  "}}
{"actor":{"display_login":"luisalfarob"}}