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

Solution: Import the 'EditedNearestNeighbours' module

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

from imblearn import EditedNearestNeighbours

 

For more information:
Python imblearn EditedNearestNeighbours