{"action":"created","comment":{"url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/comments/188736095","pull_request_review_id":120775068,"id":188736095,"diff_hunk":"@@ -358,14 +475,21 @@ def is_invertible():\n     def pseudo_inverse(self, x, use_hint=None):\n         \"\"\"Calculate a pseudo inverse of the expansion using\n         scipy.optimize.\n-\n-        ``use_hint``\n-               when calculating a pseudo inverse of the expansion,\n-               the hint determines the starting point for the approximation.\n-               For details on this parameter see the function \n-               ``invert_exp_funcs2`` in ``mdp.utils.routines.py``.\n-\n-        This method requires scipy.\"\"\"\n+        \n+        This method requires scipy.\n+        \n+        :param x: The data.\n+        :type x: numpy.ndarray\n+        \n+        :param use_hint: When calculating a pseudo inverse of the expansion,\n+            the hint determines the starting point for the approximation.\n+            For details on this parameter see the function \n+            ``invert_exp_funcs2`` in ``mdp.utils.routines.py``.\n+        :type: numpy.ndarray or bool","path":"mdp/nodes/expansion_nodes.py","position":338,"original_position":338,"commit_id":"c1d7a832b61b30b20405bbd226df389159f4d6bd","original_commit_id":"c1d7a832b61b30b20405bbd226df389159f4d6bd","user":{"login":"Stewori","id":4356260,"avatar_url":"https://avatars2.githubusercontent.com/u/4356260?v=4","gravatar_id":"","url":"https://api.github.com/users/Stewori","html_url":"https://github.com/Stewori","followers_url":"https://api.github.com/users/Stewori/followers","following_url":"https://api.github.com/users/Stewori/following{/other_user}","gists_url":"https://api.github.com/users/Stewori/gists{/gist_id}","starred_url":"https://api.github.com/users/Stewori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stewori/subscriptions","organizations_url":"https://api.github.com/users/Stewori/orgs","repos_url":"https://api.github.com/users/Stewori/repos","events_url":"https://api.github.com/users/Stewori/events{/privacy}","received_events_url":"https://api.github.com/users/Stewori/received_events","type":"User","site_admin":false},"body":"Should this rather be ``:type use_hint:`` ?","created_at":"2018-05-16T18:56:07Z","updated_at":"2018-05-16T18:56:07Z","html_url":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38#discussion_r188736095","pull_request_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/comments/188736095"},"html":{"href":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38#discussion_r188736095"},"pull_request":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38","id":186696382,"html_url":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38","diff_url":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38.diff","patch_url":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38.patch","issue_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/38","number":38,"state":"open","locked":false,"title":"Added restructuredtext docstrings to all node modules","user":{"login":"egbn17","id":26871840,"avatar_url":"https://avatars2.githubusercontent.com/u/26871840?v=4","gravatar_id":"","url":"https://api.github.com/users/egbn17","html_url":"https://github.com/egbn17","followers_url":"https://api.github.com/users/egbn17/followers","following_url":"https://api.github.com/users/egbn17/following{/other_user}","gists_url":"https://api.github.com/users/egbn17/gists{/gist_id}","starred_url":"https://api.github.com/users/egbn17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egbn17/subscriptions","organizations_url":"https://api.github.com/users/egbn17/orgs","repos_url":"https://api.github.com/users/egbn17/repos","events_url":"https://api.github.com/users/egbn17/events{/privacy}","received_events_url":"https://api.github.com/users/egbn17/received_events","type":"User","site_admin":false},"body":"Dear MDP developers,\r\n\r\nthese commits contain the existing docstrings converted to the restructured text docstring format supported by the Sphinx as well as the Epydoc documentation generator, which are currently in use. Next to standardising the format, a completion of the descriptions was attempted where possible. Note that the commits limit themselves to the node modules contained in MDP. This should not prove to be a problem, as the parsing of rST using a non-standard format works out the way it has before. Testing has been done as per instructions on the MDP website.","created_at":"2018-05-08T17:00:06Z","updated_at":"2018-05-16T18:56:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50137051ea39ebbe568ed0b8eb4d8ea32d2e28ab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38/commits","review_comments_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38/comments","review_comment_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/38/comments","statuses_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/statuses/c1d7a832b61b30b20405bbd226df389159f4d6bd","head":{"label":"egbn17:master","ref":"master","sha":"c1d7a832b61b30b20405bbd226df389159f4d6bd","user":{"login":"egbn17","id":26871840,"avatar_url":"https://avatars2.githubusercontent.com/u/26871840?v=4","gravatar_id":"","url":"https://api.github.com/users/egbn17","html_url":"https://github.com/egbn17","followers_url":"https://api.github.com/users/egbn17/followers","following_url":"https://api.github.com/users/egbn17/following{/other_user}","gists_url":"https://api.github.com/users/egbn17/gists{/gist_id}","starred_url":"https://api.github.com/users/egbn17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egbn17/subscriptions","organizations_url":"https://api.github.com/users/egbn17/orgs","repos_url":"https://api.github.com/users/egbn17/repos","events_url":"https://api.github.com/users/egbn17/events{/privacy}","received_events_url":"https://api.github.com/users/egbn17/received_events","type":"User","site_admin":false},"repo":{"id":105992364,"name":"mdp-toolkit","full_name":"egbn17/mdp-toolkit","owner":{"login":"egbn17","id":26871840,"avatar_url":"https://avatars2.githubusercontent.com/u/26871840?v=4","gravatar_id":"","url":"https://api.github.com/users/egbn17","html_url":"https://github.com/egbn17","followers_url":"https://api.github.com/users/egbn17/followers","following_url":"https://api.github.com/users/egbn17/following{/other_user}","gists_url":"https://api.github.com/users/egbn17/gists{/gist_id}","starred_url":"https://api.github.com/users/egbn17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egbn17/subscriptions","organizations_url":"https://api.github.com/users/egbn17/orgs","repos_url":"https://api.github.com/users/egbn17/repos","events_url":"https://api.github.com/users/egbn17/events{/privacy}","received_events_url":"https://api.github.com/users/egbn17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/egbn17/mdp-toolkit","description":"MDP code","fork":true,"url":"https://api.github.com/repos/egbn17/mdp-toolkit","forks_url":"https://api.github.com/repos/egbn17/mdp-toolkit/forks","keys_url":"https://api.github.com/repos/egbn17/mdp-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/egbn17/mdp-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/egbn17/mdp-toolkit/teams","hooks_url":"https://api.github.com/repos/egbn17/mdp-toolkit/hooks","issue_events_url":"https://api.github.com/repos/egbn17/mdp-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/egbn17/mdp-toolkit/events","assignees_url":"https://api.github.com/repos/egbn17/mdp-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/egbn17/mdp-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/egbn17/mdp-toolkit/tags","blobs_url":"https://api.github.com/repos/egbn17/mdp-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/egbn17/mdp-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/egbn17/mdp-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/egbn17/mdp-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/egbn17/mdp-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/egbn17/mdp-toolkit/languages","stargazers_url":"https://api.github.com/repos/egbn17/mdp-toolkit/stargazers","contributors_url":"https://api.github.com/repos/egbn17/mdp-toolkit/contributors","subscribers_url":"https://api.github.com/repos/egbn17/mdp-toolkit/subscribers","subscription_url":"https://api.github.com/repos/egbn17/mdp-toolkit/subscription","commits_url":"https://api.github.com/repos/egbn17/mdp-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/egbn17/mdp-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/egbn17/mdp-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/egbn17/mdp-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/egbn17/mdp-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/egbn17/mdp-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/egbn17/mdp-toolkit/merges","archive_url":"https://api.github.com/repos/egbn17/mdp-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/egbn17/mdp-toolkit/downloads","issues_url":"https://api.github.com/repos/egbn17/mdp-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/egbn17/mdp-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/egbn17/mdp-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/egbn17/mdp-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/egbn17/mdp-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/egbn17/mdp-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/egbn17/mdp-toolkit/deployments","created_at":"2017-10-06T10:25:25Z","updated_at":"2018-05-16T10:34:55Z","pushed_at":"2018-05-16T10:34:51Z","git_url":"git://github.com/egbn17/mdp-toolkit.git","ssh_url":"git@github.com:egbn17/mdp-toolkit.git","clone_url":"https://github.com/egbn17/mdp-toolkit.git","svn_url":"https://github.com/egbn17/mdp-toolkit","homepage":"http://mdp-toolkit.sourceforge.net/","size":5291,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mdp-toolkit:master","ref":"master","sha":"533518d60fefc35f9c45c7fb710e7b2f6b59cf6f","user":{"login":"mdp-toolkit","id":1150560,"avatar_url":"https://avatars0.githubusercontent.com/u/1150560?v=4","gravatar_id":"","url":"https://api.github.com/users/mdp-toolkit","html_url":"https://github.com/mdp-toolkit","followers_url":"https://api.github.com/users/mdp-toolkit/followers","following_url":"https://api.github.com/users/mdp-toolkit/following{/other_user}","gists_url":"https://api.github.com/users/mdp-toolkit/gists{/gist_id}","starred_url":"https://api.github.com/users/mdp-toolkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdp-toolkit/subscriptions","organizations_url":"https://api.github.com/users/mdp-toolkit/orgs","repos_url":"https://api.github.com/users/mdp-toolkit/repos","events_url":"https://api.github.com/users/mdp-toolkit/events{/privacy}","received_events_url":"https://api.github.com/users/mdp-toolkit/received_events","type":"Organization","site_admin":false},"repo":{"id":2642963,"name":"mdp-toolkit","full_name":"mdp-toolkit/mdp-toolkit","owner":{"login":"mdp-toolkit","id":1150560,"avatar_url":"https://avatars0.githubusercontent.com/u/1150560?v=4","gravatar_id":"","url":"https://api.github.com/users/mdp-toolkit","html_url":"https://github.com/mdp-toolkit","followers_url":"https://api.github.com/users/mdp-toolkit/followers","following_url":"https://api.github.com/users/mdp-toolkit/following{/other_user}","gists_url":"https://api.github.com/users/mdp-toolkit/gists{/gist_id}","starred_url":"https://api.github.com/users/mdp-toolkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdp-toolkit/subscriptions","organizations_url":"https://api.github.com/users/mdp-toolkit/orgs","repos_url":"https://api.github.com/users/mdp-toolkit/repos","events_url":"https://api.github.com/users/mdp-toolkit/events{/privacy}","received_events_url":"https://api.github.com/users/mdp-toolkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mdp-toolkit/mdp-toolkit","description":"MDP code","fork":false,"url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit","forks_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/forks","keys_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/teams","hooks_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/hooks","issue_events_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/events","assignees_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/tags","blobs_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/languages","stargazers_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/stargazers","contributors_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/contributors","subscribers_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/subscribers","subscription_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/subscription","commits_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/merges","archive_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/downloads","issues_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/deployments","created_at":"2011-10-25T11:43:45Z","updated_at":"2018-05-03T11:44:44Z","pushed_at":"2018-05-16T10:34:53Z","git_url":"git://github.com/mdp-toolkit/mdp-toolkit.git","ssh_url":"git@github.com:mdp-toolkit/mdp-toolkit.git","clone_url":"https://github.com/mdp-toolkit/mdp-toolkit.git","svn_url":"https://github.com/mdp-toolkit/mdp-toolkit","homepage":"http://mdp-toolkit.sourceforge.net/","size":5210,"stargazers_count":51,"watchers_count":51,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":29,"open_issues":5,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38"},"html":{"href":"https://github.com/mdp-toolkit/mdp-toolkit/pull/38"},"issue":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/38"},"comments":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/mdp-toolkit/mdp-toolkit/statuses/c1d7a832b61b30b20405bbd226df389159f4d6bd"}},"author_association":"NONE"}}
{"actor":{"display_login":"Stewori"}}