Kaggle-Titanic-solution

Variable Definition Key
survival Survival 是否生存 0 = No, 1 = Yes
pclass Ticket class 船票等級,代表社會經濟地位 1 = 1st, 2 = 2nd, 3 = 3rd
sex Sex 性別
Age Age in years 年紀
sibsp # of siblings / spouses aboard the Titanic 手足或配偶是否有在船上
parch # of parents / children aboard the Titanic 父母或子女是否有在船上
ticket Ticket number 船票號碼
fare Passenger fare 乘客購買的票價
cabin Cabin number 船艙號碼
embarked Port of Embarkation 乘客從哪裡登船的 C = Cherbourg, Q = Queenstown, S = Southampton

I have tested for serveral times and the result shows that Sex and pclass and fare is the most important features for this model. But u can also try it youself, if u got better solution, please info me : )

The Confusion Matrix

image