Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USING R. Divide your training data into male and female categories. Train two distinct models on each subset, one to predict male survival and the
USING R.
Divide your training data into male and female categories. Train two distinct models on each subset, one to predict male survival and the other to predict female survival. Use the Titanic test data after that, separating the male and female data. The model's accuracy in predicting survival based on sex was it better or worse? Explain in depth what you discovered.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started