Problems importing imblearn python package on ipython notebook
<p>I installed <a href="https://github.com/glemaitre/imbalanced-learn" rel="nofollow">https://github.com/glemaitre/imbalanced-learn</a> on windows powershell using pip install,conda and github. But when im on ipython notebook and i try importing the package using :</p>

<pre><code>from unbalanced_dataset import UnderSampler, OverSampler, SMOTE
</code></pre>

<p>I get the error:</p>

<hr>

<pre><code>ImportError  Traceback (most recent call last) &lt;ipython-input-9-ad6fd7440a05&gt; in &lt;module&gt;()
----&gt; 1 from imbalanced_learn import UnderSampler, OverSampler, SMOTE

ImportError: No module named imbalanced_learn
</code></pre>

<p>New to using windows for python, do i have to install the package in some folder?</p>

<p>Thanks!</p>

<p>Try this:</p>

<pre><code>from imblearn import under_sampling, over_sampling
</code></pre>

<p>In order to import <code>SMOTE</code>:</p>

<pre><code>from imblearn.over_sampling import SMOTE
</code></pre>

<p>Or datasets:</p>

<pre><code>from imblearn.datasets import ...
</code></pre>

python python-2.7 powershell jupyter-notebook