{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/44926012","id":44926012,"diff_hunk":"@@ -53,7 +53,24 @@ Refer to the [HashingTF Java docs](api/java/org/apache/spark/ml/feature/HashingT\n Refer to the [HashingTF Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.HashingTF) and\n the [IDF Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.IDF) for more details on the API.\n \n-{% include_example python/ml/tf_idf_example.py %}","path":"docs/ml-features.md","position":22,"original_position":22,"commit_id":"3cc669504ac6149e1d4b742451564e6a4e65469b","original_commit_id":"3cc669504ac6149e1d4b742451564e6a4e65469b","user":{"login":"yinxusen","id":2637239,"avatar_url":"https://avatars.githubusercontent.com/u/2637239?v=3","gravatar_id":"","url":"https://api.github.com/users/yinxusen","html_url":"https://github.com/yinxusen","followers_url":"https://api.github.com/users/yinxusen/followers","following_url":"https://api.github.com/users/yinxusen/following{/other_user}","gists_url":"https://api.github.com/users/yinxusen/gists{/gist_id}","starred_url":"https://api.github.com/users/yinxusen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yinxusen/subscriptions","organizations_url":"https://api.github.com/users/yinxusen/orgs","repos_url":"https://api.github.com/users/yinxusen/repos","events_url":"https://api.github.com/users/yinxusen/events{/privacy}","received_events_url":"https://api.github.com/users/yinxusen/received_events","type":"User","site_admin":false},"body":"Here do not change the example imported by `include_example` to raw code back. The JIRA issue aims to change all raw code snippts with `include_example`.","created_at":"2015-11-16T14:05:10Z","updated_at":"2015-11-16T14:05:10Z","html_url":"https://github.com/apache/spark/pull/9735#discussion_r44926012","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/9735","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/44926012"},"html":{"href":"https://github.com/apache/spark/pull/9735#discussion_r44926012"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/9735"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9735","id":50794202,"html_url":"https://github.com/apache/spark/pull/9735","diff_url":"https://github.com/apache/spark/pull/9735.diff","patch_url":"https://github.com/apache/spark/pull/9735.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/9735","number":9735,"state":"open","locked":false,"title":"[SPARK-11551][DOC][Example]Replace example code in ml-features.md using include_example","user":{"login":"somideshmukh","id":13100125,"avatar_url":"https://avatars.githubusercontent.com/u/13100125?v=3","gravatar_id":"","url":"https://api.github.com/users/somideshmukh","html_url":"https://github.com/somideshmukh","followers_url":"https://api.github.com/users/somideshmukh/followers","following_url":"https://api.github.com/users/somideshmukh/following{/other_user}","gists_url":"https://api.github.com/users/somideshmukh/gists{/gist_id}","starred_url":"https://api.github.com/users/somideshmukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somideshmukh/subscriptions","organizations_url":"https://api.github.com/users/somideshmukh/orgs","repos_url":"https://api.github.com/users/somideshmukh/repos","events_url":"https://api.github.com/users/somideshmukh/events{/privacy}","received_events_url":"https://api.github.com/users/somideshmukh/received_events","type":"User","site_admin":false},"body":"Made changes in code according to spark coding style.","created_at":"2015-11-16T10:39:28Z","updated_at":"2015-11-16T14:05:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d2c5f2845403436b5f8bcb5aa6d187e27db5bd5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/9735/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/9735/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/9735/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/3cc669504ac6149e1d4b742451564e6a4e65469b","head":{"label":"somideshmukh:SomilBranch1.2","ref":"SomilBranch1.2","sha":"3cc669504ac6149e1d4b742451564e6a4e65469b","user":{"login":"somideshmukh","id":13100125,"avatar_url":"https://avatars.githubusercontent.com/u/13100125?v=3","gravatar_id":"","url":"https://api.github.com/users/somideshmukh","html_url":"https://github.com/somideshmukh","followers_url":"https://api.github.com/users/somideshmukh/followers","following_url":"https://api.github.com/users/somideshmukh/following{/other_user}","gists_url":"https://api.github.com/users/somideshmukh/gists{/gist_id}","starred_url":"https://api.github.com/users/somideshmukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somideshmukh/subscriptions","organizations_url":"https://api.github.com/users/somideshmukh/orgs","repos_url":"https://api.github.com/users/somideshmukh/repos","events_url":"https://api.github.com/users/somideshmukh/events{/privacy}","received_events_url":"https://api.github.com/users/somideshmukh/received_events","type":"User","site_admin":false},"repo":{"id":45387198,"name":"spark","full_name":"somideshmukh/spark","owner":{"login":"somideshmukh","id":13100125,"avatar_url":"https://avatars.githubusercontent.com/u/13100125?v=3","gravatar_id":"","url":"https://api.github.com/users/somideshmukh","html_url":"https://github.com/somideshmukh","followers_url":"https://api.github.com/users/somideshmukh/followers","following_url":"https://api.github.com/users/somideshmukh/following{/other_user}","gists_url":"https://api.github.com/users/somideshmukh/gists{/gist_id}","starred_url":"https://api.github.com/users/somideshmukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somideshmukh/subscriptions","organizations_url":"https://api.github.com/users/somideshmukh/orgs","repos_url":"https://api.github.com/users/somideshmukh/repos","events_url":"https://api.github.com/users/somideshmukh/events{/privacy}","received_events_url":"https://api.github.com/users/somideshmukh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/somideshmukh/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/somideshmukh/spark","forks_url":"https://api.github.com/repos/somideshmukh/spark/forks","keys_url":"https://api.github.com/repos/somideshmukh/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/somideshmukh/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/somideshmukh/spark/teams","hooks_url":"https://api.github.com/repos/somideshmukh/spark/hooks","issue_events_url":"https://api.github.com/repos/somideshmukh/spark/issues/events{/number}","events_url":"https://api.github.com/repos/somideshmukh/spark/events","assignees_url":"https://api.github.com/repos/somideshmukh/spark/assignees{/user}","branches_url":"https://api.github.com/repos/somideshmukh/spark/branches{/branch}","tags_url":"https://api.github.com/repos/somideshmukh/spark/tags","blobs_url":"https://api.github.com/repos/somideshmukh/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/somideshmukh/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/somideshmukh/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/somideshmukh/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/somideshmukh/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/somideshmukh/spark/languages","stargazers_url":"https://api.github.com/repos/somideshmukh/spark/stargazers","contributors_url":"https://api.github.com/repos/somideshmukh/spark/contributors","subscribers_url":"https://api.github.com/repos/somideshmukh/spark/subscribers","subscription_url":"https://api.github.com/repos/somideshmukh/spark/subscription","commits_url":"https://api.github.com/repos/somideshmukh/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/somideshmukh/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/somideshmukh/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/somideshmukh/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/somideshmukh/spark/contents/{+path}","compare_url":"https://api.github.com/repos/somideshmukh/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/somideshmukh/spark/merges","archive_url":"https://api.github.com/repos/somideshmukh/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/somideshmukh/spark/downloads","issues_url":"https://api.github.com/repos/somideshmukh/spark/issues{/number}","pulls_url":"https://api.github.com/repos/somideshmukh/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/somideshmukh/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/somideshmukh/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/somideshmukh/spark/labels{/name}","releases_url":"https://api.github.com/repos/somideshmukh/spark/releases{/id}","created_at":"2015-11-02T10:17:55Z","updated_at":"2015-11-02T10:18:27Z","pushed_at":"2015-11-16T10:36:41Z","git_url":"git://github.com/somideshmukh/spark.git","ssh_url":"git@github.com:somideshmukh/spark.git","clone_url":"https://github.com/somideshmukh/spark.git","svn_url":"https://github.com/somideshmukh/spark","homepage":null,"size":129787,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"42de5253f327bd7ee258b0efb5024f3847fa3b51","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-11-16T13:02:07Z","pushed_at":"2015-11-16T13:59:55Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":1658761,"stargazers_count":6199,"watchers_count":6199,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5720,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":375,"forks":5720,"open_issues":375,"watchers":6199,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/9735"},"html":{"href":"https://github.com/apache/spark/pull/9735"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/9735"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/9735/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/9735/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/9735/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/3cc669504ac6149e1d4b742451564e6a4e65469b"}}}}