The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Predciting Low Birth Weight Prediction with Random Forest in R
Predciting Low Birth Weight Prediction with Random Forest in R [message #29914] Thu, 22 August 2024 01:46 Go to previous message
Muhammad Naeem is currently offline  Muhammad Naeem
Messages: 1
Registered: August 2024
Member
Hi everyone,

I'm working with PDHS(2017-2018) data from the Pakistan Demographic Health Survey and have a variable indicating low birth weight, which I've categorized as follows:

0: Normal weight (2500 grams or above)
1: Low birth weight (<2500 grams)
In my dataset, the proportions are:

Normal weight: 80%
Low birth weight: 20%
I am using a Random Forest classifier in R to predict low birth weight. However, the model is producing very few correct predictions for the low birth weight category (1).

Given this class imbalance, what strategies or adjustments can I make to improve the model's performance for the minority class? Any advice or suggestions would be greatly appreciated!

Thank you!

  • Attachment: ml_pak.csv
    (Size: 88.46KB, Downloaded 24 times)
 
Read Message
Read Message
Previous Topic: Under-5 Stunting variable for Household Level
Next Topic: post discharge child mortality rate
Goto Forum:
  


Current Time: Mon Dec 2 15:51:14 Coordinated Universal Time 2024