Are you survived in Titanic? It simple site on Django help to answer for this question. For predict it I use one of the most popular ML models - logictic regression. You can try it here