DEV Community

Discussion on: Let's Save A Life with AI 🤖

Collapse
 
acnice profile image
AC Nice

Hi Samuel, yes most cases you may need to perform what we call "Principal Component Analysis or Dimensionality Reduction". However in my experience I mostly do this when my feature variables maybe above 30 or more.

You can also run model.feature_importances_ which will return the variables that contribute most to the prediction of your model, that way you know what variable are useful or useless. Hope this helps?

Collapse
 
eskayml profile image
Samuel Kalu

It does , Thanks 😊

Collapse
 
eskayml profile image
Samuel Kalu

It does , Thanks 😊