5592285098 March 14, 2017 user 2023468183

Kaggle Titanic

%reset Once deleted, variables cannot be recovered. Proceed (y/[n])? y import matplotlib.pyplot as plt %matplotlib inline import random import numpy as np import pandas as pd from sklearn import datasets, svm, cross_validation, tree, preprocessing, metrics import sklearn.ensemble as ske path_macpath_gender_submission = ‘/Users/brandontomlin/GitHub/Kaggle/Titanic/data/gender_submission.csv’ path_gender_submission = “C:\\Users\\brandon.tomlin\\GitHub\\Kaggle\\Titanic\\data\\gender_submission.csv” df_gender = pd.read_csv(path_gender_submission) df_gender.head(5) PassengerId Survived 0 892 0 1 […]