MATLAB script for Titanic Kaggle competition