I installed "imbalanced-learn" (version 0.3.1) on ANACONDA Navigator. When I ran an example from the imbalanced-learn website using Jupyter (Python 3), I got an message regarding "ModuleNotFoundError". No module named 'imblearn".
from imblearn.datasets import make_imbalance
from imblearn.under_sampling import NearMiss
from imblearn.pipeline import make_pipeline
from imblearn.metrics import classification_report_imbalanced
How could I resolve this?
Just check if you antivirus or firewall is blocking the download process. I too had the same issue. This happens when you try to install through Anaconda. During the installation process there occurs a permission error. This is probably due to antivirus blocking the download process.
I am working on Jupyter notebook, this work for me:
It just worries down the problem