Skip to content

A simple example of how to solve Kaggle's "Titanic: Machine Learning from Disaster" challenge using Python and scikit-learn

License

Notifications You must be signed in to change notification settings

tpbuffer/titanic_machine_learning_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

titanic_machine_learning_example

A simple example of how to solve Kaggle's "Titanic: Machine Learning from Disaster" challenge using Python and scikit-learn.

This simple example will get you about 78% accuracy. It shows you how to instantiate and use various classifiers in scikit-learn.

Note: This example combines six different classifiers, just as example of how to run and average multiple classifiers. You can actually get a better accuracy by being smarter about how to combine classifiers and which ones to use. This just shows you the scikit-learn syntax.

This example also assumes you've already done a grid search and found the best hyper parameters for your classifiers (especially the SVM). But if you aren't sure how to do that, the scikit-learn docs have a good example that you can copy.

About

A simple example of how to solve Kaggle's "Titanic: Machine Learning from Disaster" challenge using Python and scikit-learn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%