{"action":"opened","number":681,"pull_request":{"url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681","id":37177885,"html_url":"https://github.com/JohnLangford/vowpal_wabbit/pull/681","diff_url":"https://github.com/JohnLangford/vowpal_wabbit/pull/681.diff","patch_url":"https://github.com/JohnLangford/vowpal_wabbit/pull/681.patch","issue_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/681","number":681,"state":"open","locked":false,"title":"New utility: utl/csv2vw: better CSV/TSV to vw converter","user":{"login":"arielf","id":159664,"avatar_url":"https://avatars.githubusercontent.com/u/159664?v=3","gravatar_id":"","url":"https://api.github.com/users/arielf","html_url":"https://github.com/arielf","followers_url":"https://api.github.com/users/arielf/followers","following_url":"https://api.github.com/users/arielf/following{/other_user}","gists_url":"https://api.github.com/users/arielf/gists{/gist_id}","starred_url":"https://api.github.com/users/arielf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielf/subscriptions","organizations_url":"https://api.github.com/users/arielf/orgs","repos_url":"https://api.github.com/users/arielf/repos","events_url":"https://api.github.com/users/arielf/events{/privacy}","received_events_url":"https://api.github.com/users/arielf/received_events","type":"User","site_admin":false},"body":"Hi John,\r\n\r\nI've seen attempts at converting csv to vw format in the past, but all of them fell short in one way or  another, so I finally wrote my own that does everything I needed correctly. I found it very useful in a recent Kaggle competition.\r\n\r\nThis new utility supports:\r\n   - Optionally use header line for feature names (`-h` option)\r\n   - If no  `-h` is used, will number features as `1..k` based on column number\r\n   - Multiclass labels will be auto-converted to `1..k` if they are non-numeric e.g. `species: setosa,versicolor,virginica`\r\n   - Categorical features are auto-converted to vw boolean `name=value`\r\n   - Numerical features will use name:value\r\n   - Numeric command-line arg allows specifiying the label column number (also: negative numbers conveniently support \"from end of line\" e.g: -1 is last column)\r\n   - Auto-splitting on commas and/or tabs\r\n   - Allows specifying (and overriding) the input separator as perl regexp (`-s <regexp>` option)\r\n\r\nThanks.","created_at":"2015-06-08T17:42:38Z","updated_at":"2015-06-08T17:42:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d19ab6dda375bfd277ddcd00190dfb83c384d327","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681/commits","review_comments_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681/comments","review_comment_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/681/comments","statuses_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/statuses/d71e5e664efc00de94dde09a5fae2091efb4112c","head":{"label":"arielf:utl","ref":"utl","sha":"d71e5e664efc00de94dde09a5fae2091efb4112c","user":{"login":"arielf","id":159664,"avatar_url":"https://avatars.githubusercontent.com/u/159664?v=3","gravatar_id":"","url":"https://api.github.com/users/arielf","html_url":"https://github.com/arielf","followers_url":"https://api.github.com/users/arielf/followers","following_url":"https://api.github.com/users/arielf/following{/other_user}","gists_url":"https://api.github.com/users/arielf/gists{/gist_id}","starred_url":"https://api.github.com/users/arielf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielf/subscriptions","organizations_url":"https://api.github.com/users/arielf/orgs","repos_url":"https://api.github.com/users/arielf/repos","events_url":"https://api.github.com/users/arielf/events{/privacy}","received_events_url":"https://api.github.com/users/arielf/received_events","type":"User","site_admin":false},"repo":{"id":1113456,"name":"vowpal_wabbit","full_name":"arielf/vowpal_wabbit","owner":{"login":"arielf","id":159664,"avatar_url":"https://avatars.githubusercontent.com/u/159664?v=3","gravatar_id":"","url":"https://api.github.com/users/arielf","html_url":"https://github.com/arielf","followers_url":"https://api.github.com/users/arielf/followers","following_url":"https://api.github.com/users/arielf/following{/other_user}","gists_url":"https://api.github.com/users/arielf/gists{/gist_id}","starred_url":"https://api.github.com/users/arielf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielf/subscriptions","organizations_url":"https://api.github.com/users/arielf/orgs","repos_url":"https://api.github.com/users/arielf/repos","events_url":"https://api.github.com/users/arielf/events{/privacy}","received_events_url":"https://api.github.com/users/arielf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arielf/vowpal_wabbit","description":"John Langford's original release of Vowpal Wabbit -- a fast online learning algorithm","fork":true,"url":"https://api.github.com/repos/arielf/vowpal_wabbit","forks_url":"https://api.github.com/repos/arielf/vowpal_wabbit/forks","keys_url":"https://api.github.com/repos/arielf/vowpal_wabbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arielf/vowpal_wabbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arielf/vowpal_wabbit/teams","hooks_url":"https://api.github.com/repos/arielf/vowpal_wabbit/hooks","issue_events_url":"https://api.github.com/repos/arielf/vowpal_wabbit/issues/events{/number}","events_url":"https://api.github.com/repos/arielf/vowpal_wabbit/events","assignees_url":"https://api.github.com/repos/arielf/vowpal_wabbit/assignees{/user}","branches_url":"https://api.github.com/repos/arielf/vowpal_wabbit/branches{/branch}","tags_url":"https://api.github.com/repos/arielf/vowpal_wabbit/tags","blobs_url":"https://api.github.com/repos/arielf/vowpal_wabbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arielf/vowpal_wabbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arielf/vowpal_wabbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/arielf/vowpal_wabbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arielf/vowpal_wabbit/statuses/{sha}","languages_url":"https://api.github.com/repos/arielf/vowpal_wabbit/languages","stargazers_url":"https://api.github.com/repos/arielf/vowpal_wabbit/stargazers","contributors_url":"https://api.github.com/repos/arielf/vowpal_wabbit/contributors","subscribers_url":"https://api.github.com/repos/arielf/vowpal_wabbit/subscribers","subscription_url":"https://api.github.com/repos/arielf/vowpal_wabbit/subscription","commits_url":"https://api.github.com/repos/arielf/vowpal_wabbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/arielf/vowpal_wabbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/arielf/vowpal_wabbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/arielf/vowpal_wabbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/arielf/vowpal_wabbit/contents/{+path}","compare_url":"https://api.github.com/repos/arielf/vowpal_wabbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arielf/vowpal_wabbit/merges","archive_url":"https://api.github.com/repos/arielf/vowpal_wabbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arielf/vowpal_wabbit/downloads","issues_url":"https://api.github.com/repos/arielf/vowpal_wabbit/issues{/number}","pulls_url":"https://api.github.com/repos/arielf/vowpal_wabbit/pulls{/number}","milestones_url":"https://api.github.com/repos/arielf/vowpal_wabbit/milestones{/number}","notifications_url":"https://api.github.com/repos/arielf/vowpal_wabbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arielf/vowpal_wabbit/labels{/name}","releases_url":"https://api.github.com/repos/arielf/vowpal_wabbit/releases{/id}","created_at":"2010-11-26T00:25:05Z","updated_at":"2015-06-04T10:00:25Z","pushed_at":"2015-06-08T17:42:31Z","git_url":"git://github.com/arielf/vowpal_wabbit.git","ssh_url":"git@github.com:arielf/vowpal_wabbit.git","clone_url":"https://github.com/arielf/vowpal_wabbit.git","svn_url":"https://github.com/arielf/vowpal_wabbit","homepage":"http://hunch.net/~vw/","size":96779,"stargazers_count":5,"watchers_count":5,"language":"C++","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":5,"default_branch":"master"}},"base":{"label":"JohnLangford:master","ref":"master","sha":"10a56240bd461917fe90bb263efb3913b2edfbbc","user":{"login":"JohnLangford","id":79590,"avatar_url":"https://avatars.githubusercontent.com/u/79590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnLangford","html_url":"https://github.com/JohnLangford","followers_url":"https://api.github.com/users/JohnLangford/followers","following_url":"https://api.github.com/users/JohnLangford/following{/other_user}","gists_url":"https://api.github.com/users/JohnLangford/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnLangford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnLangford/subscriptions","organizations_url":"https://api.github.com/users/JohnLangford/orgs","repos_url":"https://api.github.com/users/JohnLangford/repos","events_url":"https://api.github.com/users/JohnLangford/events{/privacy}","received_events_url":"https://api.github.com/users/JohnLangford/received_events","type":"User","site_admin":false},"repo":{"id":265995,"name":"vowpal_wabbit","full_name":"JohnLangford/vowpal_wabbit","owner":{"login":"JohnLangford","id":79590,"avatar_url":"https://avatars.githubusercontent.com/u/79590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnLangford","html_url":"https://github.com/JohnLangford","followers_url":"https://api.github.com/users/JohnLangford/followers","following_url":"https://api.github.com/users/JohnLangford/following{/other_user}","gists_url":"https://api.github.com/users/JohnLangford/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnLangford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnLangford/subscriptions","organizations_url":"https://api.github.com/users/JohnLangford/orgs","repos_url":"https://api.github.com/users/JohnLangford/repos","events_url":"https://api.github.com/users/JohnLangford/events{/privacy}","received_events_url":"https://api.github.com/users/JohnLangford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohnLangford/vowpal_wabbit","description":"Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.","fork":false,"url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit","forks_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/forks","keys_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/teams","hooks_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/hooks","issue_events_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/events{/number}","events_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/events","assignees_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/assignees{/user}","branches_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/branches{/branch}","tags_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/tags","blobs_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/statuses/{sha}","languages_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/languages","stargazers_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/stargazers","contributors_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/contributors","subscribers_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/subscribers","subscription_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/subscription","commits_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/contents/{+path}","compare_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/merges","archive_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/downloads","issues_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues{/number}","pulls_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls{/number}","milestones_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/milestones{/number}","notifications_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/labels{/name}","releases_url":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/releases{/id}","created_at":"2009-07-31T19:36:58Z","updated_at":"2015-06-08T14:13:05Z","pushed_at":"2015-06-08T17:42:38Z","git_url":"git://github.com/JohnLangford/vowpal_wabbit.git","ssh_url":"git@github.com:JohnLangford/vowpal_wabbit.git","clone_url":"https://github.com/JohnLangford/vowpal_wabbit.git","svn_url":"https://github.com/JohnLangford/vowpal_wabbit","homepage":"http://hunch.net/~vw/","size":106904,"stargazers_count":2426,"watchers_count":2426,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":684,"mirror_url":null,"open_issues_count":30,"forks":684,"open_issues":30,"watchers":2426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681"},"html":{"href":"https://github.com/JohnLangford/vowpal_wabbit/pull/681"},"issue":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/681"},"comments":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/issues/681/comments"},"review_comments":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681/comments"},"review_comment":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/pulls/681/commits"},"statuses":{"href":"https://api.github.com/repos/JohnLangford/vowpal_wabbit/statuses/d71e5e664efc00de94dde09a5fae2091efb4112c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":140,"deletions":0,"changed_files":1}}