Skip to content

Ishan-Kotian/Titanic-Machine-Learning-from-Disaster

Repository files navigation

Titanic-Logistic Regression and Random Forest Classifier

Competition & dataset:https://www.kaggle.com/c/titanic

Goal: It is your job to predict if a passenger survived the sinking of the Titanic or not. For each in the test set, you must predict a 0 or 1 value for the variable.

Metric: Your score is the percentage of passengers you correctly predict. This is known as accuracy.

The file should have exactly 2 columns:

PassengerId (sorted in any order) Survived (contains your binary predictions: 1 for survived, 0 for deceased)

PassengerId,Survived 892,0 893,1 894,0 Etc.

K-NN:https://www.kaggle.com/lykin22/titanic-kneighborsclassifier-top21

Logistic Regression & Random Forest:https://www.kaggle.com/lykin22/titanic-logistic-regression-and-random-forest