#Kaggle Titanic: Machine Learning from Disaster competition Descripton from kaggle.com:
Titanic: Machine Learning from Disaster
The sinking of the RMS Titanic is one of the most infamous shipwrecks in history. On April 15, 1912, during her maiden voyage, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This sensational tragedy shocked the international community and led to better safety regulations for ships.
One of the reasons that the shipwreck led to such loss of life was that there were not enough lifeboats for the passengers and crew. Although there was some element of luck involved in surviving the sinking, some groups of people were more likely to survive than others, such as women, children, and the upper-class.
In this challenge, we ask you to complete the analysis of what sorts of people were likely to survive. In particular, we ask you to apply the tools of machine learning to predict which passengers survived the tragedy.
The DataProcessing R script extracts the necessary features from the data and makes the data suitable for training models. Features such as title of the passenger and total family members aboard are extracted. NAs are dealt with by imputing with decision trees.
The KaggleTitanic script trains several models: Random Forest, Logistic Regression, Naive Bayes, GBM and Conditional inference trees. The best model is chosen (ctree) and the submission file for Kaggle is generated.