How to do the Titanic Kaggle competition in R – Part 1 Data Science Tutorials Rating: 9 /10

# How to do the Titanic Kaggle competition in R – Part 1

January 20, 2014 8:31 am

As part of submitting to Data Science Dojo’s Kaggle competition you need to create a model out of the titanic data set. We will show you how to do this using RStudio.

Titanic Data Set:

https://www.kaggle.com/c/titanic

Download RStudio:

https://www.rstudio.com/products/rstudio/download/

(520)

**Tags:**Azure, Azure Machine Learning, Azure ML, data engineering, data mining, Data Science, feature engineering, how to do the titanic kaggle, How to do the Titanic Kaggle Competition in R, Kaggle, kaggle titanic tutorial, machine learning, open source, predictive analytics, python, r competition, R programming, sentiment analysis, Titanic data set, Youtube

Hi,

I’m getting an error when trying to create the titanic.model. I followed all prior steps, so i’m unsure where I went wrong!

This is the error:

titanic.model <- randomForest(formula = survived.formula, data = train, ntree = 500, mtry = 3, nodesize = 0.01 * nrow(train))

Error in na.fail.default(list(Survived = c(1L, 2L, 2L, 2L, 1L, 1L, 1L, :

missing values in object