{"action":"created","comment":{"url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/comments/60005756","id":60005756,"diff_hunk":"@@ -69,6 +69,21 @@ case class CRFModel (\n     tests.map(this.testCRF(_, costFactor))\n   }\n \n+  def predict(\n+               tests: RDD[Sequence],\n+               costFactor: Double, verbose_level: Int): RDD[Sequence] = {","path":"src/main/scala/com/intel/ssg/bdt/nlp/CRFModel.scala","position":6,"original_position":6,"commit_id":"768bbf1241c21d25df1643c0af5e8e82882845d7","original_commit_id":"768bbf1241c21d25df1643c0af5e8e82882845d7","user":{"login":"hqzizania","id":9315372,"avatar_url":"https://avatars.githubusercontent.com/u/9315372?v=3","gravatar_id":"","url":"https://api.github.com/users/hqzizania","html_url":"https://github.com/hqzizania","followers_url":"https://api.github.com/users/hqzizania/followers","following_url":"https://api.github.com/users/hqzizania/following{/other_user}","gists_url":"https://api.github.com/users/hqzizania/gists{/gist_id}","starred_url":"https://api.github.com/users/hqzizania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hqzizania/subscriptions","organizations_url":"https://api.github.com/users/hqzizania/orgs","repos_url":"https://api.github.com/users/hqzizania/repos","events_url":"https://api.github.com/users/hqzizania/events{/privacy}","received_events_url":"https://api.github.com/users/hqzizania/received_events","type":"User","site_admin":false},"body":"use verboseLevel instead of verbose_level; use case class instead Int","created_at":"2016-04-18T04:50:00Z","updated_at":"2016-04-18T04:50:00Z","html_url":"https://github.com/Intel-bigdata/CRF-Spark/pull/2#discussion_r60005756","pull_request_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/comments/60005756"},"html":{"href":"https://github.com/Intel-bigdata/CRF-Spark/pull/2#discussion_r60005756"},"pull_request":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2","id":66763027,"html_url":"https://github.com/Intel-bigdata/CRF-Spark/pull/2","diff_url":"https://github.com/Intel-bigdata/CRF-Spark/pull/2.diff","patch_url":"https://github.com/Intel-bigdata/CRF-Spark/pull/2.patch","issue_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/2","number":2,"state":"open","locked":false,"title":"add probability verbose function","user":{"login":"gkq","id":11665366,"avatar_url":"https://avatars.githubusercontent.com/u/11665366?v=3","gravatar_id":"","url":"https://api.github.com/users/gkq","html_url":"https://github.com/gkq","followers_url":"https://api.github.com/users/gkq/followers","following_url":"https://api.github.com/users/gkq/following{/other_user}","gists_url":"https://api.github.com/users/gkq/gists{/gist_id}","starred_url":"https://api.github.com/users/gkq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkq/subscriptions","organizations_url":"https://api.github.com/users/gkq/orgs","repos_url":"https://api.github.com/users/gkq/repos","events_url":"https://api.github.com/users/gkq/events{/privacy}","received_events_url":"https://api.github.com/users/gkq/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-17T09:24:57Z","updated_at":"2016-04-18T04:50:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c238fd5684171ccc66ee0fefa76dc646a5bc7d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/2/comments","statuses_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/statuses/768bbf1241c21d25df1643c0af5e8e82882845d7","head":{"label":"gkq:b2","ref":"b2","sha":"768bbf1241c21d25df1643c0af5e8e82882845d7","user":{"login":"gkq","id":11665366,"avatar_url":"https://avatars.githubusercontent.com/u/11665366?v=3","gravatar_id":"","url":"https://api.github.com/users/gkq","html_url":"https://github.com/gkq","followers_url":"https://api.github.com/users/gkq/followers","following_url":"https://api.github.com/users/gkq/following{/other_user}","gists_url":"https://api.github.com/users/gkq/gists{/gist_id}","starred_url":"https://api.github.com/users/gkq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkq/subscriptions","organizations_url":"https://api.github.com/users/gkq/orgs","repos_url":"https://api.github.com/users/gkq/repos","events_url":"https://api.github.com/users/gkq/events{/privacy}","received_events_url":"https://api.github.com/users/gkq/received_events","type":"User","site_admin":false},"repo":{"id":56324740,"name":"CRF-Spark","full_name":"gkq/CRF-Spark","owner":{"login":"gkq","id":11665366,"avatar_url":"https://avatars.githubusercontent.com/u/11665366?v=3","gravatar_id":"","url":"https://api.github.com/users/gkq","html_url":"https://github.com/gkq","followers_url":"https://api.github.com/users/gkq/followers","following_url":"https://api.github.com/users/gkq/following{/other_user}","gists_url":"https://api.github.com/users/gkq/gists{/gist_id}","starred_url":"https://api.github.com/users/gkq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkq/subscriptions","organizations_url":"https://api.github.com/users/gkq/orgs","repos_url":"https://api.github.com/users/gkq/repos","events_url":"https://api.github.com/users/gkq/events{/privacy}","received_events_url":"https://api.github.com/users/gkq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkq/CRF-Spark","description":"A Spark-based implementation of Conditional Random Fields (CRFs) for segmenting/labeling sequential data","fork":true,"url":"https://api.github.com/repos/gkq/CRF-Spark","forks_url":"https://api.github.com/repos/gkq/CRF-Spark/forks","keys_url":"https://api.github.com/repos/gkq/CRF-Spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkq/CRF-Spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkq/CRF-Spark/teams","hooks_url":"https://api.github.com/repos/gkq/CRF-Spark/hooks","issue_events_url":"https://api.github.com/repos/gkq/CRF-Spark/issues/events{/number}","events_url":"https://api.github.com/repos/gkq/CRF-Spark/events","assignees_url":"https://api.github.com/repos/gkq/CRF-Spark/assignees{/user}","branches_url":"https://api.github.com/repos/gkq/CRF-Spark/branches{/branch}","tags_url":"https://api.github.com/repos/gkq/CRF-Spark/tags","blobs_url":"https://api.github.com/repos/gkq/CRF-Spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkq/CRF-Spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkq/CRF-Spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkq/CRF-Spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkq/CRF-Spark/statuses/{sha}","languages_url":"https://api.github.com/repos/gkq/CRF-Spark/languages","stargazers_url":"https://api.github.com/repos/gkq/CRF-Spark/stargazers","contributors_url":"https://api.github.com/repos/gkq/CRF-Spark/contributors","subscribers_url":"https://api.github.com/repos/gkq/CRF-Spark/subscribers","subscription_url":"https://api.github.com/repos/gkq/CRF-Spark/subscription","commits_url":"https://api.github.com/repos/gkq/CRF-Spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkq/CRF-Spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkq/CRF-Spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkq/CRF-Spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkq/CRF-Spark/contents/{+path}","compare_url":"https://api.github.com/repos/gkq/CRF-Spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkq/CRF-Spark/merges","archive_url":"https://api.github.com/repos/gkq/CRF-Spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkq/CRF-Spark/downloads","issues_url":"https://api.github.com/repos/gkq/CRF-Spark/issues{/number}","pulls_url":"https://api.github.com/repos/gkq/CRF-Spark/pulls{/number}","milestones_url":"https://api.github.com/repos/gkq/CRF-Spark/milestones{/number}","notifications_url":"https://api.github.com/repos/gkq/CRF-Spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkq/CRF-Spark/labels{/name}","releases_url":"https://api.github.com/repos/gkq/CRF-Spark/releases{/id}","deployments_url":"https://api.github.com/repos/gkq/CRF-Spark/deployments","created_at":"2016-04-15T14:07:32Z","updated_at":"2016-04-15T14:07:34Z","pushed_at":"2016-04-17T09:23:24Z","git_url":"git://github.com/gkq/CRF-Spark.git","ssh_url":"git@github.com:gkq/CRF-Spark.git","clone_url":"https://github.com/gkq/CRF-Spark.git","svn_url":"https://github.com/gkq/CRF-Spark","homepage":"","size":195,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"Intel-bigdata:master","ref":"master","sha":"22d2e580bfba15068d013f13d86161d07868fc08","user":{"login":"Intel-bigdata","id":8433081,"avatar_url":"https://avatars.githubusercontent.com/u/8433081?v=3","gravatar_id":"","url":"https://api.github.com/users/Intel-bigdata","html_url":"https://github.com/Intel-bigdata","followers_url":"https://api.github.com/users/Intel-bigdata/followers","following_url":"https://api.github.com/users/Intel-bigdata/following{/other_user}","gists_url":"https://api.github.com/users/Intel-bigdata/gists{/gist_id}","starred_url":"https://api.github.com/users/Intel-bigdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intel-bigdata/subscriptions","organizations_url":"https://api.github.com/users/Intel-bigdata/orgs","repos_url":"https://api.github.com/users/Intel-bigdata/repos","events_url":"https://api.github.com/users/Intel-bigdata/events{/privacy}","received_events_url":"https://api.github.com/users/Intel-bigdata/received_events","type":"Organization","site_admin":false},"repo":{"id":51991821,"name":"CRF-Spark","full_name":"Intel-bigdata/CRF-Spark","owner":{"login":"Intel-bigdata","id":8433081,"avatar_url":"https://avatars.githubusercontent.com/u/8433081?v=3","gravatar_id":"","url":"https://api.github.com/users/Intel-bigdata","html_url":"https://github.com/Intel-bigdata","followers_url":"https://api.github.com/users/Intel-bigdata/followers","following_url":"https://api.github.com/users/Intel-bigdata/following{/other_user}","gists_url":"https://api.github.com/users/Intel-bigdata/gists{/gist_id}","starred_url":"https://api.github.com/users/Intel-bigdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intel-bigdata/subscriptions","organizations_url":"https://api.github.com/users/Intel-bigdata/orgs","repos_url":"https://api.github.com/users/Intel-bigdata/repos","events_url":"https://api.github.com/users/Intel-bigdata/events{/privacy}","received_events_url":"https://api.github.com/users/Intel-bigdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Intel-bigdata/CRF-Spark","description":"A Spark-based implementation of Conditional Random Fields (CRFs) for segmenting/labeling sequential data","fork":false,"url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark","forks_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/forks","keys_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/teams","hooks_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/hooks","issue_events_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/events{/number}","events_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/events","assignees_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/assignees{/user}","branches_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/branches{/branch}","tags_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/tags","blobs_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/statuses/{sha}","languages_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/languages","stargazers_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/stargazers","contributors_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/contributors","subscribers_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/subscribers","subscription_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/subscription","commits_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/contents/{+path}","compare_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/merges","archive_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/downloads","issues_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues{/number}","pulls_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls{/number}","milestones_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/milestones{/number}","notifications_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/labels{/name}","releases_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/releases{/id}","deployments_url":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/deployments","created_at":"2016-02-18T08:22:37Z","updated_at":"2016-04-15T06:21:11Z","pushed_at":"2016-04-17T09:24:57Z","git_url":"git://github.com/Intel-bigdata/CRF-Spark.git","ssh_url":"git@github.com:Intel-bigdata/CRF-Spark.git","clone_url":"https://github.com/Intel-bigdata/CRF-Spark.git","svn_url":"https://github.com/Intel-bigdata/CRF-Spark","homepage":"","size":190,"stargazers_count":19,"watchers_count":19,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2"},"html":{"href":"https://github.com/Intel-bigdata/CRF-Spark/pull/2"},"issue":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/2"},"comments":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Intel-bigdata/CRF-Spark/statuses/768bbf1241c21d25df1643c0af5e8e82882845d7"}}}}