Oposite type of predictions for unbalanced dataset I have a big dataset (28354359 rows) that has some blood values as features (11 features) and the label or outcome variable that tells whether a patient has a virus caused by a Neoplasm or not.

The problem with my dataset is that 2% of the patients that are in my dataset have the virus and 98% does not have the virus. 

I am mandatory to use the random forest algorithm. While my random forest model has a high accuracy scores 92%, the problem is that more than 90% of the patients that have the virus are predicted that they don’t have the virus.

I want the opposite effect, I want that my random forest is likely to predict more often that a patient has the virus (even if the patient does not have the virus (ideally I don’t want this side effect , but rather this than the opposite)).

The idea behind this is that performing an extra test (via an echo) could not harm the patient that has not the virus, but not testing a patient will have result terrible for the patient.

Does somebody have advice how I could tweak my random forest model for this task?

I my self experimented with the SMOTE transformation and other sampling techniques but maybe you guys have other suggestion.

I also have tried to apply a cutoff function.
A random forest is a collection of classification trees. If more than 50% of these trees predict class A (and not class B), the random forest will predict class A. 

What you can do is lower the percentage needed to classify it as class A (in your case, patient has the virus). This way, you can tell your random forest to predict class A if only 20% (or 10%, or 5%, ...) of the decision trees actually predicts class A. 

I don't know what code you are using for the random forest algoritm, but in most you should be able to ask the % of certainty the random forest has of each class.