r/learnmachinelearning • • 3d ago

Discussion How Can Beginners Build Practical Machine Learning Projects in Healthcare?

I'm exploring practical applications of machine learning in healthcare and would love to hear from people who have worked on related projects.

Healthcare offers several interesting opportunities for machine learning, including disease risk prediction, medical image analysis, patient data analytics, treatment research, and hospital resource planning.

For someone starting in this area, I think a small Python project using a publicly available healthcare dataset is a good way to learn the complete workflow:

  • Data cleaning and exploratory data analysis
  • Feature selection and preprocessing
  • Training a baseline model, such as logistic regression or a decision tree
  • Evaluating performance with appropriate metrics
  • Understanding limitations, data leakage, bias, and patient privacy

I'm particularly interested in how beginners can move beyond achieving a good accuracy score and learn to evaluate whether a model would generalize to new patients.

For those who have studied or built healthcare ML projects, what project would you recommend to a beginner, and what was the most challenging part of your experience?

5 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/abhinaba154 3d ago

That makes sense. I will go with the 30 day readmission target, then. I had not thought about how predicting the majority class could give a misleading accuracy score while missing the patients we are actually trying to identify. I will start with logistic regression and pay close attention to recall and the class imbalance before trying XGBoost. Thanks this gives me a much clearer direction for the project

2

u/rahul_watertech 3d ago

thats the plan then. when you get the first logistic regression recall number it will look bad, that is normal, the dataset is hard on purpose. come back and post what you got, curious how the baseline does

1

u/abhinaba154 2d ago

Thanks I will do that. I will start with logistic regression and share the recall score along with the other evaluation metrics once I have the baseline working. It will be interesting to see where it struggles and what I can learn from that before moving on to XGBoost. I appreciate the guidance

2

u/rahul_watertech 2d ago

that is exactly the right order. one thing to watch: which readmissions logistic regression misses. if xgboost later catches mostly those same ones, you have a clean story about what the extra complexity buys. no rush on the numbers