{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments/226501198","pull_request_review_id":166339543,"id":226501198,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjUwMTE5OA==","diff_hunk":"@@ -0,0 +1,1314 @@\n+/*\n+Copyright(c) 2014 - 2015 The LIBMF Project.\n+All rights reserved.\n+\n+Redistribution and use in source and binary forms, with or without\n+modification, are permitted provided that the following conditions\n+are met :\n+\n+1. Redistributions of source code must retain the above copyright\n+notice, this list of conditions and the following disclaimer.\n+\n+2. Redistributions in binary form must reproduce the above copyright\n+notice, this list of conditions and the following disclaimer in the\n+documentation and / or other materials provided with the distribution.\n+\n+3. Neither name of copyright holders nor the names of its contributors\n+may be used to endorse or promote products derived from this software\n+without specific prior written permission.\n+\n+\n+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+A PARTICULAR PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL THE REGENTS OR\n+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n+EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO,\n+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING\n+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+*/\n+#include <algorithm>\n+#include <condition_variable>\n+#include <iomanip>\n+#include <iostream>\n+#include <numeric>\n+#include <queue>\n+#include <thread>\n+#include <unordered_set>\n+#include <random>\n+#include <cstring>\n+#include <fstream>\n+#include <vector>\n+#include <new>\n+#include <string>\n+#include <memory>\n+\n+#include \"mf.h\"\n+\n+#if defined USESSE\n+#include <pmmintrin.h>\n+#endif\n+\n+#if defined USEAVX\n+#include <immintrin.h>\n+#endif\n+\n+#if defined USEOMP\n+#include <omp.h>\n+#endif\n+","path":"src/Native/LibMFWrapper/mf.cpp","position":null,"original_position":62,"commit_id":"fc8ec2b69fe5540eda7d65b50853106025fdb784","original_commit_id":"a3ecdd75278807045389f0f7748a537a3bb06c5e","user":{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false},"body":"LIBMF is a submodule now, so I feel we can leave it as it.\r\n\r\n---\r\nIn reply to: [225361232](https://github.com/dotnet/machinelearning/pull/1263#discussion_r225361232) [](ancestors = 225361232)","created_at":"2018-10-19T00:00:44Z","updated_at":"2018-10-19T00:00:45Z","html_url":"https://github.com/dotnet/machinelearning/pull/1263#discussion_r226501198","pull_request_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments/226501198"},"html":{"href":"https://github.com/dotnet/machinelearning/pull/1263#discussion_r226501198"},"pull_request":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263"}},"in_reply_to_id":225361232},"pull_request":{"url":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263","id":222984033,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyOTg0MDMz","html_url":"https://github.com/dotnet/machinelearning/pull/1263","diff_url":"https://github.com/dotnet/machinelearning/pull/1263.diff","patch_url":"https://github.com/dotnet/machinelearning/pull/1263.patch","issue_url":"https://api.github.com/repos/dotnet/machinelearning/issues/1263","number":1263,"state":"open","locked":false,"title":"[WIP] Making MF to a part of ML.NET","user":{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false},"body":"This PR is mainly for porting an internal MF module to ML.NET. Related issue: #1262 \r\n","created_at":"2018-10-15T17:28:40Z","updated_at":"2018-10-19T00:00:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"067a08a053399da548b83a8cd1a0f04a275bb7e9","assignee":{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false},"assignees":[{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":921787118,"node_id":"MDU6TGFiZWw5MjE3ODcxMTg=","url":"https://api.github.com/repos/dotnet/machinelearning/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263/commits","review_comments_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263/comments","review_comment_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/machinelearning/issues/1263/comments","statuses_url":"https://api.github.com/repos/dotnet/machinelearning/statuses/fc8ec2b69fe5540eda7d65b50853106025fdb784","head":{"label":"wschin:portmf","ref":"portmf","sha":"fc8ec2b69fe5540eda7d65b50853106025fdb784","user":{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false},"repo":{"id":142626704,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2MjY3MDQ=","name":"machinelearning","full_name":"wschin/machinelearning","private":false,"owner":{"login":"wschin","id":3524474,"node_id":"MDQ6VXNlcjM1MjQ0NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3524474?v=4","gravatar_id":"","url":"https://api.github.com/users/wschin","html_url":"https://github.com/wschin","followers_url":"https://api.github.com/users/wschin/followers","following_url":"https://api.github.com/users/wschin/following{/other_user}","gists_url":"https://api.github.com/users/wschin/gists{/gist_id}","starred_url":"https://api.github.com/users/wschin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschin/subscriptions","organizations_url":"https://api.github.com/users/wschin/orgs","repos_url":"https://api.github.com/users/wschin/repos","events_url":"https://api.github.com/users/wschin/events{/privacy}","received_events_url":"https://api.github.com/users/wschin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wschin/machinelearning","description":"ML.NET is an open source and cross-platform machine learning framework for .NET.","fork":true,"url":"https://api.github.com/repos/wschin/machinelearning","forks_url":"https://api.github.com/repos/wschin/machinelearning/forks","keys_url":"https://api.github.com/repos/wschin/machinelearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wschin/machinelearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wschin/machinelearning/teams","hooks_url":"https://api.github.com/repos/wschin/machinelearning/hooks","issue_events_url":"https://api.github.com/repos/wschin/machinelearning/issues/events{/number}","events_url":"https://api.github.com/repos/wschin/machinelearning/events","assignees_url":"https://api.github.com/repos/wschin/machinelearning/assignees{/user}","branches_url":"https://api.github.com/repos/wschin/machinelearning/branches{/branch}","tags_url":"https://api.github.com/repos/wschin/machinelearning/tags","blobs_url":"https://api.github.com/repos/wschin/machinelearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wschin/machinelearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wschin/machinelearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/wschin/machinelearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wschin/machinelearning/statuses/{sha}","languages_url":"https://api.github.com/repos/wschin/machinelearning/languages","stargazers_url":"https://api.github.com/repos/wschin/machinelearning/stargazers","contributors_url":"https://api.github.com/repos/wschin/machinelearning/contributors","subscribers_url":"https://api.github.com/repos/wschin/machinelearning/subscribers","subscription_url":"https://api.github.com/repos/wschin/machinelearning/subscription","commits_url":"https://api.github.com/repos/wschin/machinelearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/wschin/machinelearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/wschin/machinelearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/wschin/machinelearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/wschin/machinelearning/contents/{+path}","compare_url":"https://api.github.com/repos/wschin/machinelearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wschin/machinelearning/merges","archive_url":"https://api.github.com/repos/wschin/machinelearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wschin/machinelearning/downloads","issues_url":"https://api.github.com/repos/wschin/machinelearning/issues{/number}","pulls_url":"https://api.github.com/repos/wschin/machinelearning/pulls{/number}","milestones_url":"https://api.github.com/repos/wschin/machinelearning/milestones{/number}","notifications_url":"https://api.github.com/repos/wschin/machinelearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wschin/machinelearning/labels{/name}","releases_url":"https://api.github.com/repos/wschin/machinelearning/releases{/id}","deployments_url":"https://api.github.com/repos/wschin/machinelearning/deployments","created_at":"2018-07-27T21:54:54Z","updated_at":"2018-10-12T23:20:01Z","pushed_at":"2018-10-18T23:53:15Z","git_url":"git://github.com/wschin/machinelearning.git","ssh_url":"git@github.com:wschin/machinelearning.git","clone_url":"https://github.com/wschin/machinelearning.git","svn_url":"https://github.com/wschin/machinelearning","homepage":"https://dot.net/ml","size":24524,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"a44e131b8010024d024197db4cc22a546c554fdf","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":132021166,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIwMjExNjY=","name":"machinelearning","full_name":"dotnet/machinelearning","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/machinelearning","description":"ML.NET is an open source and cross-platform machine learning framework for .NET.","fork":false,"url":"https://api.github.com/repos/dotnet/machinelearning","forks_url":"https://api.github.com/repos/dotnet/machinelearning/forks","keys_url":"https://api.github.com/repos/dotnet/machinelearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/machinelearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/machinelearning/teams","hooks_url":"https://api.github.com/repos/dotnet/machinelearning/hooks","issue_events_url":"https://api.github.com/repos/dotnet/machinelearning/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/machinelearning/events","assignees_url":"https://api.github.com/repos/dotnet/machinelearning/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/machinelearning/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/machinelearning/tags","blobs_url":"https://api.github.com/repos/dotnet/machinelearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/machinelearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/machinelearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/machinelearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/machinelearning/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/machinelearning/languages","stargazers_url":"https://api.github.com/repos/dotnet/machinelearning/stargazers","contributors_url":"https://api.github.com/repos/dotnet/machinelearning/contributors","subscribers_url":"https://api.github.com/repos/dotnet/machinelearning/subscribers","subscription_url":"https://api.github.com/repos/dotnet/machinelearning/subscription","commits_url":"https://api.github.com/repos/dotnet/machinelearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/machinelearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/machinelearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/machinelearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/machinelearning/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/machinelearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/machinelearning/merges","archive_url":"https://api.github.com/repos/dotnet/machinelearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/machinelearning/downloads","issues_url":"https://api.github.com/repos/dotnet/machinelearning/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/machinelearning/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/machinelearning/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/machinelearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/machinelearning/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/machinelearning/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/machinelearning/deployments","created_at":"2018-05-03T16:20:42Z","updated_at":"2018-10-18T23:53:31Z","pushed_at":"2018-10-18T23:53:17Z","git_url":"git://github.com/dotnet/machinelearning.git","ssh_url":"git@github.com:dotnet/machinelearning.git","clone_url":"https://github.com/dotnet/machinelearning.git","svn_url":"https://github.com/dotnet/machinelearning","homepage":"https://dot.net/ml","size":24525,"stargazers_count":3948,"watchers_count":3948,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":697,"mirror_url":null,"archived":false,"open_issues_count":371,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":697,"open_issues":371,"watchers":3948,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263"},"html":{"href":"https://github.com/dotnet/machinelearning/pull/1263"},"issue":{"href":"https://api.github.com/repos/dotnet/machinelearning/issues/1263"},"comments":{"href":"https://api.github.com/repos/dotnet/machinelearning/issues/1263/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/1263/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/machinelearning/statuses/fc8ec2b69fe5540eda7d65b50853106025fdb784"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"wschin"}}