AxeldeRomblay / MLBox

MLBox is a powerful Automated Machine Learning python library.
https://mlbox.readthedocs.io/en/latest/
Other
1.49k stars 274 forks source link

Classification example notebook ModuleNotFoundError #24

Closed jlefman closed 7 years ago

jlefman commented 7 years ago

Hi. Using python 3.6 under anaconda. I am using the classification notebook example under mlbox/examples/classification/example.ipynb. I see this error from the top cell:

Code

from mlbox.preprocessing import *
from mlbox.optimisation import *
from mlbox.prediction import *

Error

/home/jlefman/anaconda2/envs/py36/lib/python3.6/site-packages/mlbox/preprocessing/drift/__init__.py:9: UserWarning: ipCluster is starting. Please wait 30 sec and check in terminal that 'the engines appear to have started successfully'.
  warnings.warn("ipCluster is starting. Please wait 30 sec and check in terminal that 'the engines appear to have started successfully'.")
Using Theano backend.

------------------------------------------------------------------------
ModuleNotFoundError                    Traceback (most recent call last)
<ipython-input-1-4e0c3b5e221c> in <module>()
----> 1 from mlbox.preprocessing import *
      2 from mlbox.optimisation import *
      3 from mlbox.prediction import *

~/anaconda2/envs/py36/lib/python3.6/site-packages/mlbox/__init__.py in <module>()
      7 from .preprocessing import *
      8 from .encoding import *
----> 9 from .optimisation import *
     10 from .prediction import *
     11 from .model import *

~/anaconda2/envs/py36/lib/python3.6/site-packages/mlbox/optimisation/__init__.py in <module>()
----> 1 from .optimiser import *

~/anaconda2/envs/py36/lib/python3.6/site-packages/mlbox/optimisation/optimiser.py in <module>()
     16 from ..encoding.na_encoder import NA_encoder
     17 from ..encoding.categorical_encoder import Categorical_encoder
---> 18 from ..model.supervised.classification.feature_selector import Clf_feature_selector
     19 from ..model.supervised.regression.feature_selector import Reg_feature_selector
     20 from ..model.supervised.classification.stacking_classifier import StackingClassifier

~/anaconda2/envs/py36/lib/python3.6/site-packages/mlbox/model/__init__.py in <module>()
----> 1 import supervised
      2 
      3 __all__ = ['supervised']

ModuleNotFoundError: No module named 'supervised'

Is this an installation issue? User error?

maskani-moh commented 7 years ago

@jlefman

Thank you for the feedback. We are currently working on it.

Get to you when this is fixed 😉

AxeldeRomblay commented 7 years ago

@jlefman : you can install from pip (the version from PyPI works :) )

AxeldeRomblay commented 7 years ago

@jlefman : it's fixed :)