Skip to content

anurajaram/kaggle-titanic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaggle-titanic

Solutions for the Titanic Kaggle Competition

  1. nb_titanic.R
    Description - Naive Bayes solution in R to predict Titanic Survivors.
    Kaggle score = 0.74641. Model error rate (on training set) = 21.55% .
    The variables used in this program are "Pclass", "Age", "Sex", "Parch", "SibSp", "Fare".

  2. nnet_titanic.R
    Description - Neural Net algorithm on the Titanic dataset from kaggle.
    Kaggle score = 0.77033. Model error rate (on training set) = 12.8% .

  3. rf_titanic.R
    Description - Random Forest algorithm on the Titanic dataset from kaggle.
    Kaggle score = 0.77512. Model error rate (on training set) = 15.4% .

  4. tree.R
    Description - Decision tree algorithm on the Titanic dataset from kaggle.
    Kaggle score = 0.78947. Model error rate (on training set) = 17.7% .
    This turned out to be my best performing model even though the model doesn't fit as well as RandomForest or NeuralNet.

  5. gender.R
    Description - Predictions based on gender only.
    Kaggle score = 0.76555
    This is the baseline model.

  6. Logic_rules.R
    Description - Survival prediction based on broad observations from the training set
    Kaggle score = 0.77033.

About

Solutions for the Titanic Kaggle Competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages