{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments/212470097","pull_request_review_id":149113278,"id":212470097,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQ3MDA5Nw==","diff_hunk":"@@ -3,25 +3,117 @@\n // See the LICENSE file in the project root for more information.\n \n using System;\n-using System.Reflection;\n+using System.Collections.Generic;\n+using System.Linq;\n using System.Text;\n+using Microsoft.ML.Core.Data;\n using Microsoft.ML.Runtime;\n using Microsoft.ML.Runtime.CommandLine;\n using Microsoft.ML.Runtime.Data;\n using Microsoft.ML.Runtime.EntryPoints;\n using Microsoft.ML.Runtime.Internal.Utilities;\n using Microsoft.ML.Runtime.Model;\n \n-[assembly: LoadableClass(CopyColumnsTransform.Summary, typeof(CopyColumnsTransform), typeof(CopyColumnsTransform.Arguments), typeof(SignatureDataTransform),\n-    CopyColumnsTransform.UserName, \"CopyColumns\", \"CopyColumnsTransform\", CopyColumnsTransform.ShortName, DocName = \"transform/CopyColumnsTransform.md\")]\n+[assembly: LoadableClass(CopyColumnsTransformer.Summary, typeof(IDataTransform), typeof(CopyColumnsTransformer),\n+    typeof(CopyColumnsTransformer.Arguments), typeof(SignatureDataTransform),\n+    CopyColumnsTransformer.UserName, \"CopyColumns\", \"CopyColumnsTransform\", CopyColumnsTransformer.ShortName,\n+    DocName = \"transform/CopyColumnsTransformer.md\")]\n \n-[assembly: LoadableClass(CopyColumnsTransform.Summary, typeof(CopyColumnsTransform), null, typeof(SignatureLoadDataTransform),\n-    CopyColumnsTransform.UserName, CopyColumnsTransform.LoaderSignature)]\n+[assembly: LoadableClass(CopyColumnsTransformer.Summary, typeof(IDataView), typeof(CopyColumnsTransformer), null, typeof(SignatureLoadDataTransform),\n+    CopyColumnsTransformer.UserName, CopyColumnsTransformer.LoaderSignature)]\n+\n+[assembly: LoadableClass(CopyColumnsTransformer.Summary, typeof(CopyColumnsTransformer), null, typeof(SignatureLoadModel),\n+    CopyColumnsTransformer.UserName, CopyColumnsTransformer.LoaderSignature)]\n+\n+[assembly: LoadableClass(CopyColumnsTransformer.Summary, typeof(CopyColumnsRowMapper), null, typeof(SignatureLoadRowMapper),\n+    CopyColumnsTransformer.UserName, CopyColumnsRowMapper.LoaderSignature)]\n \n namespace Microsoft.ML.Runtime.Data\n {\n-    public sealed class CopyColumnsTransform : OneToOneTransformBase\n+    public sealed class CopyColumnsEstimator : IEstimator<CopyColumnsTransformer>\n     {\n+        private readonly (string Source, string Name)[] _columns;\n+        private readonly IHost _host;\n+\n+        public CopyColumnsEstimator(IHostEnvironment env, string input, string output)\n+        {\n+            Contracts.CheckValue(env, nameof(env));\n+            _host = env.Register(\"CopyColumnsEstimator\");","path":"src/Microsoft.ML.Data/Transforms/CopyColumnsTransform.cs","position":45,"original_position":45,"commit_id":"2b46264ea4e6edf6ffe46f18c3f2b446d80877f5","original_commit_id":"2b46264ea4e6edf6ffe46f18c3f2b446d80877f5","user":{"login":"Zruty0","id":41337831,"node_id":"MDQ6VXNlcjQxMzM3ODMx","avatar_url":"https://avatars1.githubusercontent.com/u/41337831?v=4","gravatar_id":"","url":"https://api.github.com/users/Zruty0","html_url":"https://github.com/Zruty0","followers_url":"https://api.github.com/users/Zruty0/followers","following_url":"https://api.github.com/users/Zruty0/following{/other_user}","gists_url":"https://api.github.com/users/Zruty0/gists{/gist_id}","starred_url":"https://api.github.com/users/Zruty0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zruty0/subscriptions","organizations_url":"https://api.github.com/users/Zruty0/orgs","repos_url":"https://api.github.com/users/Zruty0/repos","events_url":"https://api.github.com/users/Zruty0/events{/privacy}","received_events_url":"https://api.github.com/users/Zruty0/received_events","type":"User","site_admin":false},"body":">CopyColumnsEstimator [](start = 34, length = 20)\r\n\r\nmaybe just nameof?","created_at":"2018-08-23T21:57:20Z","updated_at":"2018-08-23T21:57:20Z","html_url":"https://github.com/dotnet/machinelearning/pull/706#discussion_r212470097","pull_request_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/706","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments/212470097"},"html":{"href":"https://github.com/dotnet/machinelearning/pull/706#discussion_r212470097"},"pull_request":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/706"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/machinelearning/pulls/706","id":209982395,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5OTgyMzk1","html_url":"https://github.com/dotnet/machinelearning/pull/706","diff_url":"https://github.com/dotnet/machinelearning/pull/706.diff","patch_url":"https://github.com/dotnet/machinelearning/pull/706.patch","issue_url":"https://api.github.com/repos/dotnet/machinelearning/issues/706","number":706,"state":"open","locked":false,"title":"Implementing copy column estimator","user":{"login":"Ivanidzo4ka","id":1523833,"node_id":"MDQ6VXNlcjE1MjM4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1523833?v=4","gravatar_id":"","url":"https://api.github.com/users/Ivanidzo4ka","html_url":"https://github.com/Ivanidzo4ka","followers_url":"https://api.github.com/users/Ivanidzo4ka/followers","following_url":"https://api.github.com/users/Ivanidzo4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ivanidzo4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivanidzo4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivanidzo4ka/subscriptions","organizations_url":"https://api.github.com/users/Ivanidzo4ka/orgs","repos_url":"https://api.github.com/users/Ivanidzo4ka/repos","events_url":"https://api.github.com/users/Ivanidzo4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ivanidzo4ka/received_events","type":"User","site_admin":false},"body":"+ @Zruty0 ","created_at":"2018-08-21T23:23:13Z","updated_at":"2018-08-23T21:57:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc358fb665482b0cdf7d21fcfffde004b43a74b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/706/commits","review_comments_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/706/comments","review_comment_url":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/machinelearning/issues/706/comments","statuses_url":"https://api.github.com/repos/dotnet/machinelearning/statuses/2b46264ea4e6edf6ffe46f18c3f2b446d80877f5","head":{"label":"Ivanidzo4ka:ivanidze/copy_column_estimator","ref":"ivanidze/copy_column_estimator","sha":"2b46264ea4e6edf6ffe46f18c3f2b446d80877f5","user":{"login":"Ivanidzo4ka","id":1523833,"node_id":"MDQ6VXNlcjE1MjM4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1523833?v=4","gravatar_id":"","url":"https://api.github.com/users/Ivanidzo4ka","html_url":"https://github.com/Ivanidzo4ka","followers_url":"https://api.github.com/users/Ivanidzo4ka/followers","following_url":"https://api.github.com/users/Ivanidzo4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ivanidzo4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivanidzo4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivanidzo4ka/subscriptions","organizations_url":"https://api.github.com/users/Ivanidzo4ka/orgs","repos_url":"https://api.github.com/users/Ivanidzo4ka/repos","events_url":"https://api.github.com/users/Ivanidzo4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ivanidzo4ka/received_events","type":"User","site_admin":false},"repo":{"id":132816008,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4MTYwMDg=","name":"machinelearning","full_name":"Ivanidzo4ka/machinelearning","owner":{"login":"Ivanidzo4ka","id":1523833,"node_id":"MDQ6VXNlcjE1MjM4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1523833?v=4","gravatar_id":"","url":"https://api.github.com/users/Ivanidzo4ka","html_url":"https://github.com/Ivanidzo4ka","followers_url":"https://api.github.com/users/Ivanidzo4ka/followers","following_url":"https://api.github.com/users/Ivanidzo4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ivanidzo4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivanidzo4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivanidzo4ka/subscriptions","organizations_url":"https://api.github.com/users/Ivanidzo4ka/orgs","repos_url":"https://api.github.com/users/Ivanidzo4ka/repos","events_url":"https://api.github.com/users/Ivanidzo4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ivanidzo4ka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ivanidzo4ka/machinelearning","description":"ML.NET is an open source and cross-platform machine learning framework for .NET.","fork":true,"url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning","forks_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/forks","keys_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/teams","hooks_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/hooks","issue_events_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/issues/events{/number}","events_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/events","assignees_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/assignees{/user}","branches_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/branches{/branch}","tags_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/tags","blobs_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/statuses/{sha}","languages_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/languages","stargazers_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/stargazers","contributors_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/contributors","subscribers_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/subscribers","subscription_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/subscription","commits_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/contents/{+path}","compare_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/merges","archive_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/downloads","issues_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/issues{/number}","pulls_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/pulls{/number}","milestones_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/milestones{/number}","notifications_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/labels{/name}","releases_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/releases{/id}","deployments_url":"https://api.github.com/repos/Ivanidzo4ka/machinelearning/deployments","created_at":"2018-05-09T21:45:41Z","updated_at":"2018-08-21T22:32:12Z","pushed_at":"2018-08-23T21:41:06Z","git_url":"git://github.com/Ivanidzo4ka/machinelearning.git","ssh_url":"git@github.com:Ivanidzo4ka/machinelearning.git","clone_url":"https://github.com/Ivanidzo4ka/machinelearning.git","svn_url":"https://github.com/Ivanidzo4ka/machinelearning","homepage":"http://dot.net/ml","size":21693,"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":"73b03087ae5f224decfd7b5da3958e0397d58ee8","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","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},"private":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-08-23T18:39:14Z","pushed_at":"2018-08-23T21:41:08Z","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":21235,"stargazers_count":3471,"watchers_count":3471,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":524,"mirror_url":null,"archived":false,"open_issues_count":243,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":524,"open_issues":243,"watchers":3471,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/706"},"html":{"href":"https://github.com/dotnet/machinelearning/pull/706"},"issue":{"href":"https://api.github.com/repos/dotnet/machinelearning/issues/706"},"comments":{"href":"https://api.github.com/repos/dotnet/machinelearning/issues/706/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/706/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/machinelearning/pulls/706/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/machinelearning/statuses/2b46264ea4e6edf6ffe46f18c3f2b446d80877f5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Zruty0"}}