GitHub PullRequestReviewCommentEvent at 2014-02-16 10:03:52
Repository: scikit-learn
Actor: jnothman
Payload: {"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/9776452","id":9776452,"diff_hunk":"@@ -80,8 +81,17 @@\n     affinity_propagation = cluster.AffinityPropagation(damping=.9,\n                                                        preference=-200)\n \n-    for algorithm in [two_means, affinity_propagation, ms, spectral,\n-                      ward_five, dbscan]:\n+    average_linkage = cluster.AgglomerativeClustering(linkage=\"average\",\n+                            affinity=\"cityblock\", n_clusters=2,\n+                            connectivity=connectivity)\n+\n+    for name, algorithm in [('MiniBatchKMeans', two_means),","path":"examples/cluster/plot_cluster_comparison.py","position":29,"original_position":29,"commit_id":"64efbd66c7b53805aa76972e0c63edf3ad219ff6","original_commit_id":"64efbd66c7b53805aa76972e0c63edf3ad219ff6","user":{"login":"jnothman","id":78827,"avatar_url":"https://gravatar.com/avatar/7677b43f6049d41c64cc332c381028ac?d=https%3A%2F%2Fidenticons.github.com%2F07773d0048e3496021cfc4e9b196d9ab.png&r=x","gravatar_id":"7677b43f6049d41c64cc332c381028ac","url":"https://api.github.com/users/jnothman","html_url":"https://github.com/jnothman","followers_url":"https://api.github.com/users/jnothman/followers","following_url":"https://api.github.com/users/jnothman/following{/other_user}","gists_url":"https://api.github.com/users/jnothman/gists{/gist_id}","starred_url":"https://api.github.com/users/jnothman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnothman/subscriptions","organizations_url":"https://api.github.com/users/jnothman/orgs","repos_url":"https://api.github.com/users/jnothman/repos","events_url":"https://api.github.com/users/jnothman/events{/privacy}","received_events_url":"https://api.github.com/users/jnothman/received_events","type":"User","site_admin":false},"body":"PEP8 would have you put a newline after `[`","created_at":"2014-02-16T10:03:52Z","updated_at":"2014-02-16T10:03:52Z","html_url":"https://github.com/scikit-learn/scikit-learn/pull/2199#discussion_r9776452","pull_request_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/2199","_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/9776452"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/2199#discussion_r9776452"},"pull_request":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/2199"}}}}