{"action":"created","comment":{"url":"https://api.github.com/repos/GPflow/GPflow/pulls/comments/172161292","pull_request_review_id":101130115,"id":172161292,"diff_hunk":"@@ -232,7 +232,11 @@ def __init__(self, input_dim, variance=1.0, lengthscales=None,\n             self.ARD = False\n \n     @params_as_tensors\n-    def square_dist(self, X, X2):\n+    def scaled_square_dist(self, X, X2):\n+        \"\"\"\n+        Returns ((X - X2ᵀ)/lengthscales)².\n+        Due to the implementation, the result may actually be negative.\n+        \"\"\"","path":"gpflow/kernels.py","position":9,"original_position":9,"commit_id":"2d00c2ee850abca72f3207ea5f5ed3969c2eeacf","original_commit_id":"2d00c2ee850abca72f3207ea5f5ed3969c2eeacf","user":{"login":"st--","id":5763727,"avatar_url":"https://avatars0.githubusercontent.com/u/5763727?v=4","gravatar_id":"","url":"https://api.github.com/users/st--","html_url":"https://github.com/st--","followers_url":"https://api.github.com/users/st--/followers","following_url":"https://api.github.com/users/st--/following{/other_user}","gists_url":"https://api.github.com/users/st--/gists{/gist_id}","starred_url":"https://api.github.com/users/st--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st--/subscriptions","organizations_url":"https://api.github.com/users/st--/orgs","repos_url":"https://api.github.com/users/st--/repos","events_url":"https://api.github.com/users/st--/events{/privacy}","received_events_url":"https://api.github.com/users/st--/received_events","type":"User","site_admin":false},"body":"Happy to add deprecated methods.","created_at":"2018-03-05T11:43:54Z","updated_at":"2018-03-05T11:43:54Z","html_url":"https://github.com/GPflow/GPflow/pull/666#discussion_r172161292","pull_request_url":"https://api.github.com/repos/GPflow/GPflow/pulls/666","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/comments/172161292"},"html":{"href":"https://github.com/GPflow/GPflow/pull/666#discussion_r172161292"},"pull_request":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/666"}},"in_reply_to_id":172159960},"pull_request":{"url":"https://api.github.com/repos/GPflow/GPflow/pulls/666","id":172722611,"html_url":"https://github.com/GPflow/GPflow/pull/666","diff_url":"https://github.com/GPflow/GPflow/pull/666.diff","patch_url":"https://github.com/GPflow/GPflow/pull/666.patch","issue_url":"https://api.github.com/repos/GPflow/GPflow/issues/666","number":666,"state":"open","locked":false,"title":"Adds rational-quadratic kernel and minor clean-up of notation","user":{"login":"st--","id":5763727,"avatar_url":"https://avatars0.githubusercontent.com/u/5763727?v=4","gravatar_id":"","url":"https://api.github.com/users/st--","html_url":"https://github.com/st--","followers_url":"https://api.github.com/users/st--/followers","following_url":"https://api.github.com/users/st--/following{/other_user}","gists_url":"https://api.github.com/users/st--/gists{/gist_id}","starred_url":"https://api.github.com/users/st--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st--/subscriptions","organizations_url":"https://api.github.com/users/st--/orgs","repos_url":"https://api.github.com/users/st--/repos","events_url":"https://api.github.com/users/st--/events{/privacy}","received_events_url":"https://api.github.com/users/st--/received_events","type":"User","site_admin":false},"body":"- renames square_dist and euclid_dist to scaled_square_dist and scaled_euclid_dist to be more consistent about what they actually return, and adds docstrings\r\n- adds SquaredExponential as alias to RBF\r\n- adds RationalQuadratic kernel\r\n- includes a test for Rational Quadratic (\\alpha->\\infty) -> Squared Exponential","created_at":"2018-03-04T14:39:01Z","updated_at":"2018-03-05T11:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4214153d0277ad3e21ce6058b28a1ca34aed2c21","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GPflow/GPflow/pulls/666/commits","review_comments_url":"https://api.github.com/repos/GPflow/GPflow/pulls/666/comments","review_comment_url":"https://api.github.com/repos/GPflow/GPflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPflow/GPflow/issues/666/comments","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/2d00c2ee850abca72f3207ea5f5ed3969c2eeacf","head":{"label":"GPflow:st--/rational_quadratic_kernel","ref":"st--/rational_quadratic_kernel","sha":"2d00c2ee850abca72f3207ea5f5ed3969c2eeacf","user":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"repo":{"id":49643229,"name":"GPflow","full_name":"GPflow/GPflow","owner":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPflow/GPflow","description":"Gaussian processes in TensorFlow","fork":false,"url":"https://api.github.com/repos/GPflow/GPflow","forks_url":"https://api.github.com/repos/GPflow/GPflow/forks","keys_url":"https://api.github.com/repos/GPflow/GPflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPflow/GPflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPflow/GPflow/teams","hooks_url":"https://api.github.com/repos/GPflow/GPflow/hooks","issue_events_url":"https://api.github.com/repos/GPflow/GPflow/issues/events{/number}","events_url":"https://api.github.com/repos/GPflow/GPflow/events","assignees_url":"https://api.github.com/repos/GPflow/GPflow/assignees{/user}","branches_url":"https://api.github.com/repos/GPflow/GPflow/branches{/branch}","tags_url":"https://api.github.com/repos/GPflow/GPflow/tags","blobs_url":"https://api.github.com/repos/GPflow/GPflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPflow/GPflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPflow/GPflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPflow/GPflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/{sha}","languages_url":"https://api.github.com/repos/GPflow/GPflow/languages","stargazers_url":"https://api.github.com/repos/GPflow/GPflow/stargazers","contributors_url":"https://api.github.com/repos/GPflow/GPflow/contributors","subscribers_url":"https://api.github.com/repos/GPflow/GPflow/subscribers","subscription_url":"https://api.github.com/repos/GPflow/GPflow/subscription","commits_url":"https://api.github.com/repos/GPflow/GPflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPflow/GPflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPflow/GPflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPflow/GPflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPflow/GPflow/contents/{+path}","compare_url":"https://api.github.com/repos/GPflow/GPflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPflow/GPflow/merges","archive_url":"https://api.github.com/repos/GPflow/GPflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPflow/GPflow/downloads","issues_url":"https://api.github.com/repos/GPflow/GPflow/issues{/number}","pulls_url":"https://api.github.com/repos/GPflow/GPflow/pulls{/number}","milestones_url":"https://api.github.com/repos/GPflow/GPflow/milestones{/number}","notifications_url":"https://api.github.com/repos/GPflow/GPflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPflow/GPflow/labels{/name}","releases_url":"https://api.github.com/repos/GPflow/GPflow/releases{/id}","deployments_url":"https://api.github.com/repos/GPflow/GPflow/deployments","created_at":"2016-01-14T11:29:24Z","updated_at":"2018-03-02T22:25:38Z","pushed_at":"2018-03-05T10:35:58Z","git_url":"git://github.com/GPflow/GPflow.git","ssh_url":"git@github.com:GPflow/GPflow.git","clone_url":"https://github.com/GPflow/GPflow.git","svn_url":"https://github.com/GPflow/GPflow","homepage":"","size":25395,"stargazers_count":589,"watchers_count":589,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":166,"open_issues":123,"watchers":589,"default_branch":"master"}},"base":{"label":"GPflow:master","ref":"master","sha":"8fac3c441d8c7da1925f84b5153658abccc31f88","user":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"repo":{"id":49643229,"name":"GPflow","full_name":"GPflow/GPflow","owner":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPflow/GPflow","description":"Gaussian processes in TensorFlow","fork":false,"url":"https://api.github.com/repos/GPflow/GPflow","forks_url":"https://api.github.com/repos/GPflow/GPflow/forks","keys_url":"https://api.github.com/repos/GPflow/GPflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPflow/GPflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPflow/GPflow/teams","hooks_url":"https://api.github.com/repos/GPflow/GPflow/hooks","issue_events_url":"https://api.github.com/repos/GPflow/GPflow/issues/events{/number}","events_url":"https://api.github.com/repos/GPflow/GPflow/events","assignees_url":"https://api.github.com/repos/GPflow/GPflow/assignees{/user}","branches_url":"https://api.github.com/repos/GPflow/GPflow/branches{/branch}","tags_url":"https://api.github.com/repos/GPflow/GPflow/tags","blobs_url":"https://api.github.com/repos/GPflow/GPflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPflow/GPflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPflow/GPflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPflow/GPflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/{sha}","languages_url":"https://api.github.com/repos/GPflow/GPflow/languages","stargazers_url":"https://api.github.com/repos/GPflow/GPflow/stargazers","contributors_url":"https://api.github.com/repos/GPflow/GPflow/contributors","subscribers_url":"https://api.github.com/repos/GPflow/GPflow/subscribers","subscription_url":"https://api.github.com/repos/GPflow/GPflow/subscription","commits_url":"https://api.github.com/repos/GPflow/GPflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPflow/GPflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPflow/GPflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPflow/GPflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPflow/GPflow/contents/{+path}","compare_url":"https://api.github.com/repos/GPflow/GPflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPflow/GPflow/merges","archive_url":"https://api.github.com/repos/GPflow/GPflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPflow/GPflow/downloads","issues_url":"https://api.github.com/repos/GPflow/GPflow/issues{/number}","pulls_url":"https://api.github.com/repos/GPflow/GPflow/pulls{/number}","milestones_url":"https://api.github.com/repos/GPflow/GPflow/milestones{/number}","notifications_url":"https://api.github.com/repos/GPflow/GPflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPflow/GPflow/labels{/name}","releases_url":"https://api.github.com/repos/GPflow/GPflow/releases{/id}","deployments_url":"https://api.github.com/repos/GPflow/GPflow/deployments","created_at":"2016-01-14T11:29:24Z","updated_at":"2018-03-02T22:25:38Z","pushed_at":"2018-03-05T10:35:58Z","git_url":"git://github.com/GPflow/GPflow.git","ssh_url":"git@github.com:GPflow/GPflow.git","clone_url":"https://github.com/GPflow/GPflow.git","svn_url":"https://github.com/GPflow/GPflow","homepage":"","size":25395,"stargazers_count":589,"watchers_count":589,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":166,"open_issues":123,"watchers":589,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/666"},"html":{"href":"https://github.com/GPflow/GPflow/pull/666"},"issue":{"href":"https://api.github.com/repos/GPflow/GPflow/issues/666"},"comments":{"href":"https://api.github.com/repos/GPflow/GPflow/issues/666/comments"},"review_comments":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/666/comments"},"review_comment":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/666/commits"},"statuses":{"href":"https://api.github.com/repos/GPflow/GPflow/statuses/2d00c2ee850abca72f3207ea5f5ed3969c2eeacf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"st--"}}