{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/2727","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/2727/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2727/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/2727/events","html_url":"https://github.com/oppia/oppia/issues/2727","id":189155720,"number":2727,"title":"Create “BaseClassificationAlgorithm” class and migrate existing StringClassifier to \"LatentDirichletAllocationClassifier\" subclass.","user":{"login":"anmolshkl","id":6338799,"avatar_url":"https://avatars.githubusercontent.com/u/6338799?v=3","gravatar_id":"","url":"https://api.github.com/users/anmolshkl","html_url":"https://github.com/anmolshkl","followers_url":"https://api.github.com/users/anmolshkl/followers","following_url":"https://api.github.com/users/anmolshkl/following{/other_user}","gists_url":"https://api.github.com/users/anmolshkl/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolshkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolshkl/subscriptions","organizations_url":"https://api.github.com/users/anmolshkl/orgs","repos_url":"https://api.github.com/users/anmolshkl/repos","events_url":"https://api.github.com/users/anmolshkl/events{/privacy}","received_events_url":"https://api.github.com/users/anmolshkl/received_events","type":"User","site_admin":false},"labels":[{"id":383795041,"url":"https://api.github.com/repos/oppia/oppia/labels/loc:%20backend","name":"loc: backend","color":"d4c5f9","default":false},{"id":308933292,"url":"https://api.github.com/repos/oppia/oppia/labels/team:%20creating%20answer%20groups","name":"team: creating answer groups","color":"eeeeee","default":false},{"id":309197695,"url":"https://api.github.com/repos/oppia/oppia/labels/TODO:%20code","name":"TODO: code","color":"bfe5bf","default":false},{"id":248070444,"url":"https://api.github.com/repos/oppia/oppia/labels/type:%20feature%20(minor)","name":"type: feature (minor)","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"Andimeo","id":5801576,"avatar_url":"https://avatars.githubusercontent.com/u/5801576?v=3","gravatar_id":"","url":"https://api.github.com/users/Andimeo","html_url":"https://github.com/Andimeo","followers_url":"https://api.github.com/users/Andimeo/followers","following_url":"https://api.github.com/users/Andimeo/following{/other_user}","gists_url":"https://api.github.com/users/Andimeo/gists{/gist_id}","starred_url":"https://api.github.com/users/Andimeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andimeo/subscriptions","organizations_url":"https://api.github.com/users/Andimeo/orgs","repos_url":"https://api.github.com/users/Andimeo/repos","events_url":"https://api.github.com/users/Andimeo/events{/privacy}","received_events_url":"https://api.github.com/users/Andimeo/received_events","type":"User","site_admin":false},"assignees":[{"login":"Andimeo","id":5801576,"avatar_url":"https://avatars.githubusercontent.com/u/5801576?v=3","gravatar_id":"","url":"https://api.github.com/users/Andimeo","html_url":"https://github.com/Andimeo","followers_url":"https://api.github.com/users/Andimeo/followers","following_url":"https://api.github.com/users/Andimeo/following{/other_user}","gists_url":"https://api.github.com/users/Andimeo/gists{/gist_id}","starred_url":"https://api.github.com/users/Andimeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andimeo/subscriptions","organizations_url":"https://api.github.com/users/Andimeo/orgs","repos_url":"https://api.github.com/users/Andimeo/repos","events_url":"https://api.github.com/users/Andimeo/events{/privacy}","received_events_url":"https://api.github.com/users/Andimeo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-14T16:19:28Z","updated_at":"2016-12-12T19:20:40Z","closed_at":null,"body":"There should be a generic template for creating any class that models a classification algorithm. The abstract \"BaseClassificationAlgorithm\" should do just that and provide abstract methods like to_dict(), from_dict(), train() etc. \r\n\r\nThe existing [StringClassifier](https://github.com/oppia/oppia/blob/develop/core/domain/classifier_services.py) should be migrated to \"LatentDirichletAllocationClassifier\" class which is a derived class of BaseClassificationAlgorithm. "},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/266524972","html_url":"https://github.com/oppia/oppia/issues/2727#issuecomment-266524972","issue_url":"https://api.github.com/repos/oppia/oppia/issues/2727","id":266524972,"user":{"login":"BenHenning","id":12983742,"avatar_url":"https://avatars.githubusercontent.com/u/12983742?v=3","gravatar_id":"","url":"https://api.github.com/users/BenHenning","html_url":"https://github.com/BenHenning","followers_url":"https://api.github.com/users/BenHenning/followers","following_url":"https://api.github.com/users/BenHenning/following{/other_user}","gists_url":"https://api.github.com/users/BenHenning/gists{/gist_id}","starred_url":"https://api.github.com/users/BenHenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenHenning/subscriptions","organizations_url":"https://api.github.com/users/BenHenning/orgs","repos_url":"https://api.github.com/users/BenHenning/repos","events_url":"https://api.github.com/users/BenHenning/events{/privacy}","received_events_url":"https://api.github.com/users/BenHenning/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T19:20:40Z","updated_at":"2016-12-12T19:20:40Z","body":"Hi @anmolshkl, how's this going?"}}
{"actor":{"display_login":"BenHenning"}}