{"action":"opened","issue":{"url":"https://api.github.com/repos/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis/issues/7","repository_url":"https://api.github.com/repos/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis","labels_url":"https://api.github.com/repos/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis/issues/7/comments","events_url":"https://api.github.com/repos/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis/issues/7/events","html_url":"https://github.com/UBC-MDS/DSCI_522_Capital_Bikeshare_Analysis/issues/7","id":381749178,"node_id":"MDU6SXNzdWUzODE3NDkxNzg=","number":7,"title":"Test Training Splitting function for future reference","user":{"login":"Mikeymice","id":15175882,"node_id":"MDQ6VXNlcjE1MTc1ODgy","avatar_url":"https://avatars0.githubusercontent.com/u/15175882?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikeymice","html_url":"https://github.com/Mikeymice","followers_url":"https://api.github.com/users/Mikeymice/followers","following_url":"https://api.github.com/users/Mikeymice/following{/other_user}","gists_url":"https://api.github.com/users/Mikeymice/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikeymice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikeymice/subscriptions","organizations_url":"https://api.github.com/users/Mikeymice/orgs","repos_url":"https://api.github.com/users/Mikeymice/repos","events_url":"https://api.github.com/users/Mikeymice/events{/privacy}","received_events_url":"https://api.github.com/users/Mikeymice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T20:30:16Z","updated_at":"2018-11-16T20:30:16Z","closed_at":null,"author_association":"COLLABORATOR","body":"We can also use the function from the `sklearn` library \r\n\r\n\r\n`train_test_split` will take X and y and return 4 lists, one pair for training and another pair for testing \r\n\r\n> X_train, X_test, y_train, y_test = train_test_split(X, y)\r\n\r\nhttps://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html"}}
{"actor":{"display_login":"Mikeymice"}}