Hi,
I am working on a healthcare problem that involves tabular dataset for training the ML model. The data has a huge class imbalance as shown below:
Where the y-axis is representing the levels of cardiac rejection in transplant patients. There are more records in class 0 than in the rest. The learner is struggling to predict the rare classes as accurately as shown in the confusion matrix below:
Can we use weighted dataloaders
like vision problems with TabularPandas
? I have tried it but getting the following error:
Any ideas about what am I missing here?
Many thanks and
Kind regards,
Bilal