project
Give Life: Predict Blood Donations
Beginner
Updated 06/2024Start project for free
Included withPremium or Teams
PythonData ManipulationMachine Learning45 minutes11 Tasks1,500 XP6,796
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?
Try DataCamp for BusinessLoved by learners at thousands of companies
Project Description
Give Life: Predict Blood Donations
Give Life: Predict Blood Donations
Build a binary classifier to predict if a blood donor is likely to donate again.
- 1
Inspecting transfusion.data file
- 2
Loading the blood donations data
- 3
Inspecting transfusion DataFrame
- 4
Creating target column
- 5
Checking target incidence
- 6
Splitting transfusion into train and test datasets
- 7
Selecting model using TPOT
- 8
Checking the variance
- 9
Log normalization
- 10
Training the logistic regression model
- 11
Conclusion
FAQs
Join over 15 million learners and start Give Life: Predict Blood Donations today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.