{"action":"opened","issue":{"url":"https://api.github.com/repos/bensadeghi/DecisionTree.jl/issues/18","labels_url":"https://api.github.com/repos/bensadeghi/DecisionTree.jl/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/bensadeghi/DecisionTree.jl/issues/18/comments","events_url":"https://api.github.com/repos/bensadeghi/DecisionTree.jl/issues/18/events","html_url":"https://github.com/bensadeghi/DecisionTree.jl/issues/18","id":59198528,"number":18,"title":"Facing issues with build_adaboost_stumps","user":{"login":"dgmattam","id":5195063,"avatar_url":"https://avatars.githubusercontent.com/u/5195063?v=3","gravatar_id":"","url":"https://api.github.com/users/dgmattam","html_url":"https://github.com/dgmattam","followers_url":"https://api.github.com/users/dgmattam/followers","following_url":"https://api.github.com/users/dgmattam/following{/other_user}","gists_url":"https://api.github.com/users/dgmattam/gists{/gist_id}","starred_url":"https://api.github.com/users/dgmattam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgmattam/subscriptions","organizations_url":"https://api.github.com/users/dgmattam/orgs","repos_url":"https://api.github.com/users/dgmattam/repos","events_url":"https://api.github.com/users/dgmattam/events{/privacy}","received_events_url":"https://api.github.com/users/dgmattam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T07:02:34Z","updated_at":"2015-02-27T07:02:34Z","closed_at":null,"body":"I have used the adaboost function multiple times earlier, but now it throws the following error.  \r\n\r\nERROR: DomainError\r\n in build_adaboost_stumps at C:\\Users\\Dinkar\\.julia\\v0.3\\DecisionTree\\src\\Decisi\r\nonTree.jl:281\r\n\r\nI tried going step by step and found that the function on line 280 of the  DecisionTree.jl/src/DecisionTree.jl (reproduced below) was not working. \r\n\r\n err = _weighted_error(labels, predictions, weights)\r\n\r\nIt would be great if you could guide me on how to proceed. \r\n\r\nThank you\r\nDinker\r\n"}}