How to Solve NameError: name 'InstanceHardnessThreshold' is not defined -- imblearn
Solution: Import the 'InstanceHardnessThreshold' module
To Solve the error, add the following line to the top of your code.
from imblearn import InstanceHardnessThreshold
For more information:
Python imblearn InstanceHardnessThreshold