{"action":"created","issue":{"url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/78","repository_url":"https://api.github.com/repos/jpmml/jpmml-evaluator","labels_url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/78/comments","events_url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/78/events","html_url":"https://github.com/jpmml/jpmml-evaluator/issues/78","id":263898440,"number":78,"title":"About variable previousValue in GeneralRegressionModelEvaluator.java","user":{"login":"InformacionUtil","id":28600595,"avatar_url":"https://avatars2.githubusercontent.com/u/28600595?v=4","gravatar_id":"","url":"https://api.github.com/users/InformacionUtil","html_url":"https://github.com/InformacionUtil","followers_url":"https://api.github.com/users/InformacionUtil/followers","following_url":"https://api.github.com/users/InformacionUtil/following{/other_user}","gists_url":"https://api.github.com/users/InformacionUtil/gists{/gist_id}","starred_url":"https://api.github.com/users/InformacionUtil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InformacionUtil/subscriptions","organizations_url":"https://api.github.com/users/InformacionUtil/orgs","repos_url":"https://api.github.com/users/InformacionUtil/repos","events_url":"https://api.github.com/users/InformacionUtil/events{/privacy}","received_events_url":"https://api.github.com/users/InformacionUtil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-09T13:38:28Z","updated_at":"2017-10-09T16:27:51Z","closed_at":null,"author_association":"NONE","body":"Dear Sir:\r\n\r\nIn commit whose hash starts with 1b1987f, date Aug 2, 2017 (“Refactored the evaluation of general regression models”), in file GeneralRegressionModelEvaluator.java, function evaluateClassification( ), you changed variable **previousValue**\r\nPreviously it was created as double with value 0d. Now is an object and is created with value null.\r\nIf modelType is ORDINAL_MULTINOMIAL you do:\r\n_value.subtract(previousValue);_\r\nIn the first iteration of the for loop previousValue is still null, so it may throw an Exception.\r\n\r\nPrevious versions did not show this behavior.\r\n"},"comment":{"url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/comments/335209618","html_url":"https://github.com/jpmml/jpmml-evaluator/issues/78#issuecomment-335209618","issue_url":"https://api.github.com/repos/jpmml/jpmml-evaluator/issues/78","id":335209618,"user":{"login":"vruusmann","id":3462679,"avatar_url":"https://avatars0.githubusercontent.com/u/3462679?v=4","gravatar_id":"","url":"https://api.github.com/users/vruusmann","html_url":"https://github.com/vruusmann","followers_url":"https://api.github.com/users/vruusmann/followers","following_url":"https://api.github.com/users/vruusmann/following{/other_user}","gists_url":"https://api.github.com/users/vruusmann/gists{/gist_id}","starred_url":"https://api.github.com/users/vruusmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vruusmann/subscriptions","organizations_url":"https://api.github.com/users/vruusmann/orgs","repos_url":"https://api.github.com/users/vruusmann/repos","events_url":"https://api.github.com/users/vruusmann/events{/privacy}","received_events_url":"https://api.github.com/users/vruusmann/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T16:27:51Z","updated_at":"2017-10-09T16:27:51Z","author_association":"OWNER","body":"Well spotted!"}}
{"actor":{"display_login":"vruusmann"}}