{"action":"created","comment":{"url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/65300271","id":65300271,"diff_hunk":"@@ -0,0 +1,635 @@\n+import numpy as np\n+from scipy.misc import logsumexp\n+from scipy.optimize import linprog","path":"statsmodels/tsa/statespace/regime_switching/kim_filter.py","position":3,"original_position":3,"commit_id":"126110b3b6f93dcfab491de26d0922126cd009b8","original_commit_id":"126110b3b6f93dcfab491de26d0922126cd009b8","user":{"login":"josef-pkt","id":440735,"avatar_url":"https://avatars.githubusercontent.com/u/440735?v=3","gravatar_id":"","url":"https://api.github.com/users/josef-pkt","html_url":"https://github.com/josef-pkt","followers_url":"https://api.github.com/users/josef-pkt/followers","following_url":"https://api.github.com/users/josef-pkt/following{/other_user}","gists_url":"https://api.github.com/users/josef-pkt/gists{/gist_id}","starred_url":"https://api.github.com/users/josef-pkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josef-pkt/subscriptions","organizations_url":"https://api.github.com/users/josef-pkt/orgs","repos_url":"https://api.github.com/users/josef-pkt/repos","events_url":"https://api.github.com/users/josef-pkt/events{/privacy}","received_events_url":"https://api.github.com/users/josef-pkt/received_events","type":"User","site_admin":false},"body":"(I'm just looking at this comment.)\r\nIf there is a gain to using it, then it might be better to keep the code and make it optional and protect the import and usage. scipy 0.15 might not be very far in the future as a minimum.\r\nIn quantile regression we avoided going for a linprog solution, since it doesn't seem to provide much additional benefit and at that time linprog really was new.","created_at":"2016-06-01T04:27:44Z","updated_at":"2016-06-01T04:27:44Z","html_url":"https://github.com/statsmodels/statsmodels/pull/2921#discussion_r65300271","pull_request_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921","_links":{"self":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments/65300271"},"html":{"href":"https://github.com/statsmodels/statsmodels/pull/2921#discussion_r65300271"},"pull_request":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921"}}},"pull_request":{"url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921","id":68592245,"html_url":"https://github.com/statsmodels/statsmodels/pull/2921","diff_url":"https://github.com/statsmodels/statsmodels/pull/2921.diff","patch_url":"https://github.com/statsmodels/statsmodels/pull/2921.patch","issue_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2921","number":2921,"state":"open","locked":false,"title":"GSoC 2016: State-Space Models with Markov Switching","user":{"login":"ValeryTyumen","id":9447950,"avatar_url":"https://avatars.githubusercontent.com/u/9447950?v=3","gravatar_id":"","url":"https://api.github.com/users/ValeryTyumen","html_url":"https://github.com/ValeryTyumen","followers_url":"https://api.github.com/users/ValeryTyumen/followers","following_url":"https://api.github.com/users/ValeryTyumen/following{/other_user}","gists_url":"https://api.github.com/users/ValeryTyumen/gists{/gist_id}","starred_url":"https://api.github.com/users/ValeryTyumen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValeryTyumen/subscriptions","organizations_url":"https://api.github.com/users/ValeryTyumen/orgs","repos_url":"https://api.github.com/users/ValeryTyumen/repos","events_url":"https://api.github.com/users/ValeryTyumen/events{/privacy}","received_events_url":"https://api.github.com/users/ValeryTyumen/received_events","type":"User","site_admin":false},"body":"Hi, I have started implementing Kim Filter, outlined a basic functionality, as described in Kim-Nelson book (see diagram on p. 105). I didn't even run the code yet to check for errors. Coding style and class interface bother me more for the moment, as well as the possible ways to test it without implementing models.","created_at":"2016-05-02T17:37:07Z","updated_at":"2016-06-01T04:27:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70738ec29c968be49aea08de3f21ecebd7495999","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921/commits","review_comments_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921/comments","review_comment_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments{/number}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2921/comments","statuses_url":"https://api.github.com/repos/statsmodels/statsmodels/statuses/126110b3b6f93dcfab491de26d0922126cd009b8","head":{"label":"ValeryTyumen:MS_SSM_start","ref":"MS_SSM_start","sha":"126110b3b6f93dcfab491de26d0922126cd009b8","user":{"login":"ValeryTyumen","id":9447950,"avatar_url":"https://avatars.githubusercontent.com/u/9447950?v=3","gravatar_id":"","url":"https://api.github.com/users/ValeryTyumen","html_url":"https://github.com/ValeryTyumen","followers_url":"https://api.github.com/users/ValeryTyumen/followers","following_url":"https://api.github.com/users/ValeryTyumen/following{/other_user}","gists_url":"https://api.github.com/users/ValeryTyumen/gists{/gist_id}","starred_url":"https://api.github.com/users/ValeryTyumen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValeryTyumen/subscriptions","organizations_url":"https://api.github.com/users/ValeryTyumen/orgs","repos_url":"https://api.github.com/users/ValeryTyumen/repos","events_url":"https://api.github.com/users/ValeryTyumen/events{/privacy}","received_events_url":"https://api.github.com/users/ValeryTyumen/received_events","type":"User","site_admin":false},"repo":{"id":49483006,"name":"statsmodels","full_name":"ValeryTyumen/statsmodels","owner":{"login":"ValeryTyumen","id":9447950,"avatar_url":"https://avatars.githubusercontent.com/u/9447950?v=3","gravatar_id":"","url":"https://api.github.com/users/ValeryTyumen","html_url":"https://github.com/ValeryTyumen","followers_url":"https://api.github.com/users/ValeryTyumen/followers","following_url":"https://api.github.com/users/ValeryTyumen/following{/other_user}","gists_url":"https://api.github.com/users/ValeryTyumen/gists{/gist_id}","starred_url":"https://api.github.com/users/ValeryTyumen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValeryTyumen/subscriptions","organizations_url":"https://api.github.com/users/ValeryTyumen/orgs","repos_url":"https://api.github.com/users/ValeryTyumen/repos","events_url":"https://api.github.com/users/ValeryTyumen/events{/privacy}","received_events_url":"https://api.github.com/users/ValeryTyumen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ValeryTyumen/statsmodels","description":"Statsmodels: statistical modeling and econometrics in Python","fork":true,"url":"https://api.github.com/repos/ValeryTyumen/statsmodels","forks_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/forks","keys_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/teams","hooks_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/hooks","issue_events_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/issues/events{/number}","events_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/events","assignees_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/assignees{/user}","branches_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/branches{/branch}","tags_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/tags","blobs_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/git/refs{/sha}","trees_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/statuses/{sha}","languages_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/languages","stargazers_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/stargazers","contributors_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/contributors","subscribers_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/subscribers","subscription_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/subscription","commits_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/commits{/sha}","git_commits_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/git/commits{/sha}","comments_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/comments{/number}","issue_comment_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/issues/comments{/number}","contents_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/contents/{+path}","compare_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/merges","archive_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/downloads","issues_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/issues{/number}","pulls_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/pulls{/number}","milestones_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/milestones{/number}","notifications_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/labels{/name}","releases_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/releases{/id}","deployments_url":"https://api.github.com/repos/ValeryTyumen/statsmodels/deployments","created_at":"2016-01-12T07:29:34Z","updated_at":"2016-01-12T07:29:40Z","pushed_at":"2016-05-30T16:32:12Z","git_url":"git://github.com/ValeryTyumen/statsmodels.git","ssh_url":"git@github.com:ValeryTyumen/statsmodels.git","clone_url":"https://github.com/ValeryTyumen/statsmodels.git","svn_url":"https://github.com/ValeryTyumen/statsmodels","homepage":"http://statsmodels.sourceforge.net/devel/","size":23059,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"statsmodels:ss-cykfs","ref":"ss-cykfs","sha":"4a1c8ad69c9d478de3dae13960990faf707489a4","user":{"login":"statsmodels","id":717666,"avatar_url":"https://avatars.githubusercontent.com/u/717666?v=3","gravatar_id":"","url":"https://api.github.com/users/statsmodels","html_url":"https://github.com/statsmodels","followers_url":"https://api.github.com/users/statsmodels/followers","following_url":"https://api.github.com/users/statsmodels/following{/other_user}","gists_url":"https://api.github.com/users/statsmodels/gists{/gist_id}","starred_url":"https://api.github.com/users/statsmodels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statsmodels/subscriptions","organizations_url":"https://api.github.com/users/statsmodels/orgs","repos_url":"https://api.github.com/users/statsmodels/repos","events_url":"https://api.github.com/users/statsmodels/events{/privacy}","received_events_url":"https://api.github.com/users/statsmodels/received_events","type":"Organization","site_admin":false},"repo":{"id":1885237,"name":"statsmodels","full_name":"statsmodels/statsmodels","owner":{"login":"statsmodels","id":717666,"avatar_url":"https://avatars.githubusercontent.com/u/717666?v=3","gravatar_id":"","url":"https://api.github.com/users/statsmodels","html_url":"https://github.com/statsmodels","followers_url":"https://api.github.com/users/statsmodels/followers","following_url":"https://api.github.com/users/statsmodels/following{/other_user}","gists_url":"https://api.github.com/users/statsmodels/gists{/gist_id}","starred_url":"https://api.github.com/users/statsmodels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statsmodels/subscriptions","organizations_url":"https://api.github.com/users/statsmodels/orgs","repos_url":"https://api.github.com/users/statsmodels/repos","events_url":"https://api.github.com/users/statsmodels/events{/privacy}","received_events_url":"https://api.github.com/users/statsmodels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statsmodels/statsmodels","description":"Statsmodels: statistical modeling and econometrics in Python","fork":false,"url":"https://api.github.com/repos/statsmodels/statsmodels","forks_url":"https://api.github.com/repos/statsmodels/statsmodels/forks","keys_url":"https://api.github.com/repos/statsmodels/statsmodels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statsmodels/statsmodels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statsmodels/statsmodels/teams","hooks_url":"https://api.github.com/repos/statsmodels/statsmodels/hooks","issue_events_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/events{/number}","events_url":"https://api.github.com/repos/statsmodels/statsmodels/events","assignees_url":"https://api.github.com/repos/statsmodels/statsmodels/assignees{/user}","branches_url":"https://api.github.com/repos/statsmodels/statsmodels/branches{/branch}","tags_url":"https://api.github.com/repos/statsmodels/statsmodels/tags","blobs_url":"https://api.github.com/repos/statsmodels/statsmodels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statsmodels/statsmodels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statsmodels/statsmodels/git/refs{/sha}","trees_url":"https://api.github.com/repos/statsmodels/statsmodels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statsmodels/statsmodels/statuses/{sha}","languages_url":"https://api.github.com/repos/statsmodels/statsmodels/languages","stargazers_url":"https://api.github.com/repos/statsmodels/statsmodels/stargazers","contributors_url":"https://api.github.com/repos/statsmodels/statsmodels/contributors","subscribers_url":"https://api.github.com/repos/statsmodels/statsmodels/subscribers","subscription_url":"https://api.github.com/repos/statsmodels/statsmodels/subscription","commits_url":"https://api.github.com/repos/statsmodels/statsmodels/commits{/sha}","git_commits_url":"https://api.github.com/repos/statsmodels/statsmodels/git/commits{/sha}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/comments{/number}","issue_comment_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/comments{/number}","contents_url":"https://api.github.com/repos/statsmodels/statsmodels/contents/{+path}","compare_url":"https://api.github.com/repos/statsmodels/statsmodels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statsmodels/statsmodels/merges","archive_url":"https://api.github.com/repos/statsmodels/statsmodels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statsmodels/statsmodels/downloads","issues_url":"https://api.github.com/repos/statsmodels/statsmodels/issues{/number}","pulls_url":"https://api.github.com/repos/statsmodels/statsmodels/pulls{/number}","milestones_url":"https://api.github.com/repos/statsmodels/statsmodels/milestones{/number}","notifications_url":"https://api.github.com/repos/statsmodels/statsmodels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statsmodels/statsmodels/labels{/name}","releases_url":"https://api.github.com/repos/statsmodels/statsmodels/releases{/id}","deployments_url":"https://api.github.com/repos/statsmodels/statsmodels/deployments","created_at":"2011-06-12T17:04:50Z","updated_at":"2016-06-01T01:31:44Z","pushed_at":"2016-06-01T02:47:38Z","git_url":"git://github.com/statsmodels/statsmodels.git","ssh_url":"git@github.com:statsmodels/statsmodels.git","clone_url":"https://github.com/statsmodels/statsmodels.git","svn_url":"https://github.com/statsmodels/statsmodels","homepage":"http://statsmodels.sourceforge.net/devel/","size":36840,"stargazers_count":1468,"watchers_count":1468,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":714,"mirror_url":null,"open_issues_count":1277,"forks":714,"open_issues":1277,"watchers":1468,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921"},"html":{"href":"https://github.com/statsmodels/statsmodels/pull/2921"},"issue":{"href":"https://api.github.com/repos/statsmodels/statsmodels/issues/2921"},"comments":{"href":"https://api.github.com/repos/statsmodels/statsmodels/issues/2921/comments"},"review_comments":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921/comments"},"review_comment":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/statsmodels/statsmodels/pulls/2921/commits"},"statuses":{"href":"https://api.github.com/repos/statsmodels/statsmodels/statuses/126110b3b6f93dcfab491de26d0922126cd009b8"}}}}
{"actor":{"display_login":"josef-pkt"}}