How to Solve NameError: name 'sensitivity_score' is not defined -- imblearn

Solution: Import the 'sensitivity_score' module

To Solve the error, add the following line to the top of your code.

from imblearn import sensitivity_score

 

For more information:
Python imblearn sensitivity_score