{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/comments/82935924","pull_request_review_id":3807719,"id":82935924,"diff_hunk":"@@ -0,0 +1,186 @@\n+from math import sqrt\n+\n+import numpy as np\n+from sklearn.gaussian_process.kernels import Kernel as sk_Kernel\n+from sklearn.gaussian_process.kernels import ConstantKernel as sk_ConstantKernel\n+from sklearn.gaussian_process.kernels import DotProduct as sk_DotProduct\n+from sklearn.gaussian_process.kernels import Exponentiation as sk_Exponentiation\n+from sklearn.gaussian_process.kernels import ExpSineSquared as sk_ExpSineSquared\n+from sklearn.gaussian_process.kernels import Matern as sk_Matern\n+from sklearn.gaussian_process.kernels import Product as sk_Product\n+from sklearn.gaussian_process.kernels import RationalQuadratic as sk_RationalQuadratic\n+from sklearn.gaussian_process.kernels import RBF as sk_RBF\n+from sklearn.gaussian_process.kernels import Sum as sk_Sum\n+from sklearn.gaussian_process.kernels import WhiteKernel as sk_WhiteKernel\n+\n+\n+class Kernel(sk_Kernel):","path":"skopt/learning/gp_kernels.py","position":17,"original_position":17,"commit_id":"5467ef85166b9ffeb1fc4b2a31b110fdca7ea0e3","original_commit_id":"5467ef85166b9ffeb1fc4b2a31b110fdca7ea0e3","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"body":"I meant to just to avoid copying the documentation :/","created_at":"2016-10-12T04:51:29Z","updated_at":"2016-10-12T04:51:29Z","html_url":"https://github.com/scikit-optimize/scikit-optimize/pull/247#discussion_r82935924","pull_request_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247","_links":{"self":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/comments/82935924"},"html":{"href":"https://github.com/scikit-optimize/scikit-optimize/pull/247#discussion_r82935924"},"pull_request":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247","id":88858020,"html_url":"https://github.com/scikit-optimize/scikit-optimize/pull/247","diff_url":"https://github.com/scikit-optimize/scikit-optimize/pull/247.diff","patch_url":"https://github.com/scikit-optimize/scikit-optimize/pull/247.patch","issue_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/247","number":247,"state":"open","locked":false,"title":"[WIP] Provide gradients to LCB","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/scikit-optimize/scikit-optimize/issues/244\r\n\r\n- [x] Compute gradients of all the kernels with respect to a new point\r\n- [ ] Compute gradient of the mean and std of the predictions of the GaussianProcessRegressor\r\n- [ ] Compute gradient of the Lower Confidence Bound function\r\n- [ ] Integrate with `gp_minimize`\r\n- [ ] Use in-place operations","created_at":"2016-10-11T15:44:35Z","updated_at":"2016-10-12T04:51:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1a30b381fde266b4e703401f5ba70831540e1a8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247/commits","review_comments_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247/comments","review_comment_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/247/comments","statuses_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/statuses/5467ef85166b9ffeb1fc4b2a31b110fdca7ea0e3","head":{"label":"MechCoder:gradient_X","ref":"gradient_X","sha":"5467ef85166b9ffeb1fc4b2a31b110fdca7ea0e3","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"repo":{"id":56717415,"name":"scikit-optimize","full_name":"MechCoder/scikit-optimize","owner":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MechCoder/scikit-optimize","description":"A sandmine for blackbox optimization methods following the scipy.optimize interface","fork":true,"url":"https://api.github.com/repos/MechCoder/scikit-optimize","forks_url":"https://api.github.com/repos/MechCoder/scikit-optimize/forks","keys_url":"https://api.github.com/repos/MechCoder/scikit-optimize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MechCoder/scikit-optimize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MechCoder/scikit-optimize/teams","hooks_url":"https://api.github.com/repos/MechCoder/scikit-optimize/hooks","issue_events_url":"https://api.github.com/repos/MechCoder/scikit-optimize/issues/events{/number}","events_url":"https://api.github.com/repos/MechCoder/scikit-optimize/events","assignees_url":"https://api.github.com/repos/MechCoder/scikit-optimize/assignees{/user}","branches_url":"https://api.github.com/repos/MechCoder/scikit-optimize/branches{/branch}","tags_url":"https://api.github.com/repos/MechCoder/scikit-optimize/tags","blobs_url":"https://api.github.com/repos/MechCoder/scikit-optimize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MechCoder/scikit-optimize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MechCoder/scikit-optimize/git/refs{/sha}","trees_url":"https://api.github.com/repos/MechCoder/scikit-optimize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MechCoder/scikit-optimize/statuses/{sha}","languages_url":"https://api.github.com/repos/MechCoder/scikit-optimize/languages","stargazers_url":"https://api.github.com/repos/MechCoder/scikit-optimize/stargazers","contributors_url":"https://api.github.com/repos/MechCoder/scikit-optimize/contributors","subscribers_url":"https://api.github.com/repos/MechCoder/scikit-optimize/subscribers","subscription_url":"https://api.github.com/repos/MechCoder/scikit-optimize/subscription","commits_url":"https://api.github.com/repos/MechCoder/scikit-optimize/commits{/sha}","git_commits_url":"https://api.github.com/repos/MechCoder/scikit-optimize/git/commits{/sha}","comments_url":"https://api.github.com/repos/MechCoder/scikit-optimize/comments{/number}","issue_comment_url":"https://api.github.com/repos/MechCoder/scikit-optimize/issues/comments{/number}","contents_url":"https://api.github.com/repos/MechCoder/scikit-optimize/contents/{+path}","compare_url":"https://api.github.com/repos/MechCoder/scikit-optimize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MechCoder/scikit-optimize/merges","archive_url":"https://api.github.com/repos/MechCoder/scikit-optimize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MechCoder/scikit-optimize/downloads","issues_url":"https://api.github.com/repos/MechCoder/scikit-optimize/issues{/number}","pulls_url":"https://api.github.com/repos/MechCoder/scikit-optimize/pulls{/number}","milestones_url":"https://api.github.com/repos/MechCoder/scikit-optimize/milestones{/number}","notifications_url":"https://api.github.com/repos/MechCoder/scikit-optimize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MechCoder/scikit-optimize/labels{/name}","releases_url":"https://api.github.com/repos/MechCoder/scikit-optimize/releases{/id}","deployments_url":"https://api.github.com/repos/MechCoder/scikit-optimize/deployments","created_at":"2016-04-20T20:04:15Z","updated_at":"2016-05-22T15:31:50Z","pushed_at":"2016-10-11T16:53:45Z","git_url":"git://github.com/MechCoder/scikit-optimize.git","ssh_url":"git@github.com:MechCoder/scikit-optimize.git","clone_url":"https://github.com/MechCoder/scikit-optimize.git","svn_url":"https://github.com/MechCoder/scikit-optimize","homepage":null,"size":5491,"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":"scikit-optimize:master","ref":"master","sha":"b9eac8e8ba9ffc98db85cdba50aeee7c396cbddc","user":{"login":"scikit-optimize","id":18578550,"avatar_url":"https://avatars.githubusercontent.com/u/18578550?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-optimize","html_url":"https://github.com/scikit-optimize","followers_url":"https://api.github.com/users/scikit-optimize/followers","following_url":"https://api.github.com/users/scikit-optimize/following{/other_user}","gists_url":"https://api.github.com/users/scikit-optimize/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-optimize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-optimize/subscriptions","organizations_url":"https://api.github.com/users/scikit-optimize/orgs","repos_url":"https://api.github.com/users/scikit-optimize/repos","events_url":"https://api.github.com/users/scikit-optimize/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-optimize/received_events","type":"Organization","site_admin":false},"repo":{"id":54340642,"name":"scikit-optimize","full_name":"scikit-optimize/scikit-optimize","owner":{"login":"scikit-optimize","id":18578550,"avatar_url":"https://avatars.githubusercontent.com/u/18578550?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-optimize","html_url":"https://github.com/scikit-optimize","followers_url":"https://api.github.com/users/scikit-optimize/followers","following_url":"https://api.github.com/users/scikit-optimize/following{/other_user}","gists_url":"https://api.github.com/users/scikit-optimize/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-optimize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-optimize/subscriptions","organizations_url":"https://api.github.com/users/scikit-optimize/orgs","repos_url":"https://api.github.com/users/scikit-optimize/repos","events_url":"https://api.github.com/users/scikit-optimize/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-optimize/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-optimize/scikit-optimize","description":"Sequential model-based optimization with a  `scipy.optimize` interface","fork":false,"url":"https://api.github.com/repos/scikit-optimize/scikit-optimize","forks_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/forks","keys_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/teams","hooks_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/hooks","issue_events_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/events","assignees_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/tags","blobs_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/languages","stargazers_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/stargazers","contributors_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/contributors","subscribers_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/subscribers","subscription_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/subscription","commits_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/comments{/number}","contents_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/merges","archive_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/downloads","issues_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/labels{/name}","releases_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/releases{/id}","deployments_url":"https://api.github.com/repos/scikit-optimize/scikit-optimize/deployments","created_at":"2016-03-20T21:10:54Z","updated_at":"2016-10-09T15:45:24Z","pushed_at":"2016-10-11T16:53:45Z","git_url":"git://github.com/scikit-optimize/scikit-optimize.git","ssh_url":"git@github.com:scikit-optimize/scikit-optimize.git","clone_url":"https://github.com/scikit-optimize/scikit-optimize.git","svn_url":"https://github.com/scikit-optimize/scikit-optimize","homepage":"https://scikit-optimize.github.io","size":5561,"stargazers_count":204,"watchers_count":204,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":53,"forks":31,"open_issues":53,"watchers":204,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247"},"html":{"href":"https://github.com/scikit-optimize/scikit-optimize/pull/247"},"issue":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/247"},"comments":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-optimize/scikit-optimize/statuses/5467ef85166b9ffeb1fc4b2a31b110fdca7ea0e3"}}}}
{"actor":{"display_login":"MechCoder"}}