Used to predict whether a passenger can survive or not by training dataset using logistic regression in python