Subscribe to DSC Newsletter

This article was posted by Arpan Gupta (Indian Institute of Technology).

Let’s learn from a precise demo on Fitting Logistic Regression on Titanic Data Set for Machine Learning

Description:On April 15, 1912, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This tragedy has led to better safety regulations for ships.

Machine learning Problem : To predict which passengers survived in this tragedy based on the data given

What we will do :

  • Basic cleaning for missing values in train and test data set
  • Five-fold cross-validation
  • Model used is Logistic Regression
  • Predict for test data set

Let's import the library.

To see the algorithms, click here

Top DSC Resources

Follow us on Twitter: @DataScienceCtrl | @AnalyticBridge

Views: 6081

Comment

You need to be a member of Data Science Central to add comments!

Join Data Science Central

Follow Us

Videos

  • Add Videos
  • View All

Resources

© 2018   Data Science Central™   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service