-1
$\begingroup$

I’m working with an imbalanced dataset to predict strokes, where the positive class (stroke occurrence) is significantly underrepresented. Initially, I used logistic regression, but due to the class imbalance, I switched to a Random Forest model. After applying techniques such as random oversampling and adjusting the classification threshold, I've managed to improve my recall to approximately 61.3%. However, I am still facing a high false positive rate (178 instances) in my confusion matrix, which negatively impacts precision (17.6%). What additional strategies can I explore to further enhance precision while maintaining a good recall?

$\endgroup$
1
  • $\begingroup$ $1)$ Have you been looking at the whole PR curve? $//$ $2)$ Perhaps even better, consider the raw outputs and evaluate them directly without doing any classification at all. $//$ $3)$ Is there reason to believe your features will be extremely predictive of strokes with both a high recall and a high precision? It might be that you cannot reliably do much better without collecting additional features (which might not be available). A good analysis should honestly reflect such a shortcoming. $\endgroup$
    – Dave
    Commented Oct 29 at 14:10

2 Answers 2

1
$\begingroup$

You can generally try:

  • using a metric that takes the imbalance into account
  • class weights
  • better algorithms (gbdts)
  • tunning the prediction threshold or using continuous prediction directly
$\endgroup$
-1
$\begingroup$

I will go with SMOTE if I were you !

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.