{"action":"created","comment":{"url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/comments/205986663","pull_request_review_id":141359812,"id":205986663,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTk4NjY2Mw==","diff_hunk":"@@ -0,0 +1,133 @@\n+\n+import numpy as np\n+from sklearn.model_selection import train_test_split\n+\n+\n+\n+\n+\n+\n+class data_split:\n+    \"\"\"\n+    Create class data_split to predict a perfect train and test data split ratio.\n+\n+    defines method to accomplish this task.\n+\n+    returns a split ratio.\n+\n+    Identifies Missing values as Nan for any missing value, return train and test dataframe with uniform division\n+    of NAN between train and test data per the data split ratio.\n+\n+    \"\"\"\n+    def __init__(self, data):\n+        self.data = data","path":"hs628_tools/Test.py","position":23,"original_position":23,"commit_id":"3d2a76d91d7837ebebb672850b5f867e3e5570d6","original_commit_id":"3d2a76d91d7837ebebb672850b5f867e3e5570d6","user":{"login":"rohitchadaram","id":11439954,"node_id":"MDQ6VXNlcjExNDM5OTU0","avatar_url":"https://avatars3.githubusercontent.com/u/11439954?v=4","gravatar_id":"","url":"https://api.github.com/users/rohitchadaram","html_url":"https://github.com/rohitchadaram","followers_url":"https://api.github.com/users/rohitchadaram/followers","following_url":"https://api.github.com/users/rohitchadaram/following{/other_user}","gists_url":"https://api.github.com/users/rohitchadaram/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitchadaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitchadaram/subscriptions","organizations_url":"https://api.github.com/users/rohitchadaram/orgs","repos_url":"https://api.github.com/users/rohitchadaram/repos","events_url":"https://api.github.com/users/rohitchadaram/events{/privacy}","received_events_url":"https://api.github.com/users/rohitchadaram/received_events","type":"User","site_admin":false},"body":"There is no reason to have self.data = data as you cannot use the self.data datatype further as it is not a default datatype in python. Remember the way we used to work with a Vector/Matrix data type in 608. So usually either you create a work around in your class to adhere to the new datatype for data or just add any other numerical/string values parameters into help.","created_at":"2018-07-29T20:50:26Z","updated_at":"2018-07-29T20:52:24Z","html_url":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35#discussion_r205986663","pull_request_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/comments/205986663"},"html":{"href":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35#discussion_r205986663"},"pull_request":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35","id":203028204,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMDI4MjA0","html_url":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35","diff_url":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35.diff","patch_url":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35.patch","issue_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/35","number":35,"state":"open","locked":false,"title":"Testtrain","user":{"login":"nirveshk","id":35315830,"node_id":"MDQ6VXNlcjM1MzE1ODMw","avatar_url":"https://avatars3.githubusercontent.com/u/35315830?v=4","gravatar_id":"","url":"https://api.github.com/users/nirveshk","html_url":"https://github.com/nirveshk","followers_url":"https://api.github.com/users/nirveshk/followers","following_url":"https://api.github.com/users/nirveshk/following{/other_user}","gists_url":"https://api.github.com/users/nirveshk/gists{/gist_id}","starred_url":"https://api.github.com/users/nirveshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirveshk/subscriptions","organizations_url":"https://api.github.com/users/nirveshk/orgs","repos_url":"https://api.github.com/users/nirveshk/repos","events_url":"https://api.github.com/users/nirveshk/events{/privacy}","received_events_url":"https://api.github.com/users/nirveshk/received_events","type":"User","site_admin":false},"body":"Submitting a new pull request due to bad initial pull request. \r\n\r\nSupersedes #27 and implement #11 ","created_at":"2018-07-21T21:39:01Z","updated_at":"2018-07-29T20:52:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0b855120af90d62e38635809e61d43a977b92ec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":997109994,"node_id":"MDU6TGFiZWw5OTcxMDk5OTQ=","url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/labels/Train/Test","name":"Train/Test","color":"07357f","default":false},{"id":971684499,"node_id":"MDU6TGFiZWw5NzE2ODQ0OTk=","url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35/commits","review_comments_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35/comments","review_comment_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/35/comments","statuses_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/statuses/3d2a76d91d7837ebebb672850b5f867e3e5570d6","head":{"label":"nirveshk:testtrain","ref":"testtrain","sha":"3d2a76d91d7837ebebb672850b5f867e3e5570d6","user":{"login":"nirveshk","id":35315830,"node_id":"MDQ6VXNlcjM1MzE1ODMw","avatar_url":"https://avatars3.githubusercontent.com/u/35315830?v=4","gravatar_id":"","url":"https://api.github.com/users/nirveshk","html_url":"https://github.com/nirveshk","followers_url":"https://api.github.com/users/nirveshk/followers","following_url":"https://api.github.com/users/nirveshk/following{/other_user}","gists_url":"https://api.github.com/users/nirveshk/gists{/gist_id}","starred_url":"https://api.github.com/users/nirveshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirveshk/subscriptions","organizations_url":"https://api.github.com/users/nirveshk/orgs","repos_url":"https://api.github.com/users/nirveshk/repos","events_url":"https://api.github.com/users/nirveshk/events{/privacy}","received_events_url":"https://api.github.com/users/nirveshk/received_events","type":"User","site_admin":false},"repo":{"id":138242670,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgyNDI2NzA=","name":"HS68_2018_Project_1","full_name":"nirveshk/HS68_2018_Project_1","owner":{"login":"nirveshk","id":35315830,"node_id":"MDQ6VXNlcjM1MzE1ODMw","avatar_url":"https://avatars3.githubusercontent.com/u/35315830?v=4","gravatar_id":"","url":"https://api.github.com/users/nirveshk","html_url":"https://github.com/nirveshk","followers_url":"https://api.github.com/users/nirveshk/followers","following_url":"https://api.github.com/users/nirveshk/following{/other_user}","gists_url":"https://api.github.com/users/nirveshk/gists{/gist_id}","starred_url":"https://api.github.com/users/nirveshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirveshk/subscriptions","organizations_url":"https://api.github.com/users/nirveshk/orgs","repos_url":"https://api.github.com/users/nirveshk/repos","events_url":"https://api.github.com/users/nirveshk/events{/privacy}","received_events_url":"https://api.github.com/users/nirveshk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nirveshk/HS68_2018_Project_1","description":null,"fork":true,"url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1","forks_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/forks","keys_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/teams","hooks_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/hooks","issue_events_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/issues/events{/number}","events_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/events","assignees_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/assignees{/user}","branches_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/branches{/branch}","tags_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/tags","blobs_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/git/refs{/sha}","trees_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/statuses/{sha}","languages_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/languages","stargazers_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/stargazers","contributors_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/contributors","subscribers_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/subscribers","subscription_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/subscription","commits_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/commits{/sha}","git_commits_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/git/commits{/sha}","comments_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/comments{/number}","issue_comment_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/issues/comments{/number}","contents_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/contents/{+path}","compare_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/merges","archive_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/downloads","issues_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/issues{/number}","pulls_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/pulls{/number}","milestones_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/milestones{/number}","notifications_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/labels{/name}","releases_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/releases{/id}","deployments_url":"https://api.github.com/repos/nirveshk/HS68_2018_Project_1/deployments","created_at":"2018-06-22T02:02:17Z","updated_at":"2018-07-18T03:12:58Z","pushed_at":"2018-07-27T08:04:02Z","git_url":"git://github.com/nirveshk/HS68_2018_Project_1.git","ssh_url":"git@github.com:nirveshk/HS68_2018_Project_1.git","clone_url":"https://github.com/nirveshk/HS68_2018_Project_1.git","svn_url":"https://github.com/nirveshk/HS68_2018_Project_1","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EHWUSF:master","ref":"master","sha":"43e97d5f6983af92b9a58f46bf34f9a2078aa63e","user":{"login":"EHWUSF","id":40473696,"node_id":"MDQ6VXNlcjQwNDczNjk2","avatar_url":"https://avatars1.githubusercontent.com/u/40473696?v=4","gravatar_id":"","url":"https://api.github.com/users/EHWUSF","html_url":"https://github.com/EHWUSF","followers_url":"https://api.github.com/users/EHWUSF/followers","following_url":"https://api.github.com/users/EHWUSF/following{/other_user}","gists_url":"https://api.github.com/users/EHWUSF/gists{/gist_id}","starred_url":"https://api.github.com/users/EHWUSF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EHWUSF/subscriptions","organizations_url":"https://api.github.com/users/EHWUSF/orgs","repos_url":"https://api.github.com/users/EHWUSF/repos","events_url":"https://api.github.com/users/EHWUSF/events{/privacy}","received_events_url":"https://api.github.com/users/EHWUSF/received_events","type":"User","site_admin":false},"repo":{"id":138218678,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgyMTg2Nzg=","name":"HS68_2018_Project_1","full_name":"EHWUSF/HS68_2018_Project_1","owner":{"login":"EHWUSF","id":40473696,"node_id":"MDQ6VXNlcjQwNDczNjk2","avatar_url":"https://avatars1.githubusercontent.com/u/40473696?v=4","gravatar_id":"","url":"https://api.github.com/users/EHWUSF","html_url":"https://github.com/EHWUSF","followers_url":"https://api.github.com/users/EHWUSF/followers","following_url":"https://api.github.com/users/EHWUSF/following{/other_user}","gists_url":"https://api.github.com/users/EHWUSF/gists{/gist_id}","starred_url":"https://api.github.com/users/EHWUSF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EHWUSF/subscriptions","organizations_url":"https://api.github.com/users/EHWUSF/orgs","repos_url":"https://api.github.com/users/EHWUSF/repos","events_url":"https://api.github.com/users/EHWUSF/events{/privacy}","received_events_url":"https://api.github.com/users/EHWUSF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EHWUSF/HS68_2018_Project_1","description":null,"fork":false,"url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1","forks_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/forks","keys_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/teams","hooks_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/hooks","issue_events_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/events{/number}","events_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/events","assignees_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/assignees{/user}","branches_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/branches{/branch}","tags_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/tags","blobs_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/git/refs{/sha}","trees_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/statuses/{sha}","languages_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/languages","stargazers_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/stargazers","contributors_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/contributors","subscribers_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/subscribers","subscription_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/subscription","commits_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/commits{/sha}","git_commits_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/git/commits{/sha}","comments_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/comments{/number}","issue_comment_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/comments{/number}","contents_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/contents/{+path}","compare_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/merges","archive_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/downloads","issues_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues{/number}","pulls_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls{/number}","milestones_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/milestones{/number}","notifications_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/labels{/name}","releases_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/releases{/id}","deployments_url":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/deployments","created_at":"2018-06-21T20:31:39Z","updated_at":"2018-07-29T02:07:19Z","pushed_at":"2018-07-29T20:45:50Z","git_url":"git://github.com/EHWUSF/HS68_2018_Project_1.git","ssh_url":"git@github.com:EHWUSF/HS68_2018_Project_1.git","clone_url":"https://github.com/EHWUSF/HS68_2018_Project_1.git","svn_url":"https://github.com/EHWUSF/HS68_2018_Project_1","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":11,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35"},"html":{"href":"https://github.com/EHWUSF/HS68_2018_Project_1/pull/35"},"issue":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/35"},"comments":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/EHWUSF/HS68_2018_Project_1/statuses/3d2a76d91d7837ebebb672850b5f867e3e5570d6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rohitchadaram"}}