{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic/issues/2497","labels_url":"https://api.github.com/repos/numenta/nupic/issues/2497/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic/issues/2497/comments","events_url":"https://api.github.com/repos/numenta/nupic/issues/2497/events","html_url":"https://github.com/numenta/nupic/pull/2497","id":103124675,"number":2497,"title":"New likelihood metric","user":{"login":"ywcui1990","id":5067931,"avatar_url":"https://avatars.githubusercontent.com/u/5067931?v=3","gravatar_id":"","url":"https://api.github.com/users/ywcui1990","html_url":"https://github.com/ywcui1990","followers_url":"https://api.github.com/users/ywcui1990/followers","following_url":"https://api.github.com/users/ywcui1990/following{/other_user}","gists_url":"https://api.github.com/users/ywcui1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ywcui1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywcui1990/subscriptions","organizations_url":"https://api.github.com/users/ywcui1990/orgs","repos_url":"https://api.github.com/users/ywcui1990/repos","events_url":"https://api.github.com/users/ywcui1990/events{/privacy}","received_events_url":"https://api.github.com/users/ywcui1990/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-25T21:49:21Z","updated_at":"2015-08-28T23:12:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/numenta/nupic/pulls/2497","html_url":"https://github.com/numenta/nupic/pull/2497","diff_url":"https://github.com/numenta/nupic/pull/2497.diff","patch_url":"https://github.com/numenta/nupic/pull/2497.patch"},"body":"Fixes #2480\r\n\r\nSummary\r\n* Change predictionmetricsmanager.py to pass model results to metrics\r\n* Change addInstance and accumulate in metrics.py to accept model results as an optional parameter\r\n* Implement MetricNegLL class for negative log-likelihood error metric\r\n* Implement ClassifierInput class in opfutils, which holds bucket indices for the true input\r\n* Add ClassifierInput to model results, add bucketLikelihood to results.inferences. The negLL calculation requires the bucket index of the true input (in result.ClassifierInput) and the likelihood for that bucket (in result.bucketLikelihood)\r\n* Add logic to calculate bucketLikelihood in _handleCLAClassifierMultiStep in clamodel.py\r\n\r\n@chetan51 @subutai \r\n"},"comment":{"url":"https://api.github.com/repos/numenta/nupic/issues/comments/135908265","html_url":"https://github.com/numenta/nupic/pull/2497#issuecomment-135908265","issue_url":"https://api.github.com/repos/numenta/nupic/issues/2497","id":135908265,"user":{"login":"chetan51","id":310282,"avatar_url":"https://avatars.githubusercontent.com/u/310282?v=3","gravatar_id":"","url":"https://api.github.com/users/chetan51","html_url":"https://github.com/chetan51","followers_url":"https://api.github.com/users/chetan51/followers","following_url":"https://api.github.com/users/chetan51/following{/other_user}","gists_url":"https://api.github.com/users/chetan51/gists{/gist_id}","starred_url":"https://api.github.com/users/chetan51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetan51/subscriptions","organizations_url":"https://api.github.com/users/chetan51/orgs","repos_url":"https://api.github.com/users/chetan51/repos","events_url":"https://api.github.com/users/chetan51/events{/privacy}","received_events_url":"https://api.github.com/users/chetan51/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T23:12:37Z","updated_at":"2015-08-28T23:12:37Z","body":"Done with review."}}