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

timeout while calling Reader() #15

Closed hqkate closed 7 years ago

hqkate commented 7 years ago

Hi, I installed MLbox and tried to run the example code with the given dataset, but when I run the rd = Reader(sep) (py36) katekong@cufyp:~$ python Python 3.6.1 |Anaconda custom (64-bit)| (default, May 11 2017, 13:09:58) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux Type "help", "copyright", "credits" or "license" for more information.

rd = Reader(sep)

the following error occurs:

File "/home/katekong/anaconda3/envs/py27/lib/python2.7/site-packages/mlbox/preprocessing/reader.py", line 145, in init self.client = ipp.Client(profile='home') File "/home/katekong/anaconda3/envs/py27/lib/python2.7/site-packages/ipyparallel/client/client.py", line 495, in init__ self._connect(sshserver, ssh_kwargs, timeout) File "/home/katekong/anaconda3/envs/py27/lib/python2.7/site-packages/ipyparallel/client/client.py", line 615, in _connect raise error.TimeoutError("Hub connection request timed out") ipyparallel.error.TimeoutError: Hub connection request timed out

AxeldeRomblay commented 7 years ago

Hello,

Yes it is normal since you have to wait approx. 30 sec after importing mlbox subpackages... (see warning message). Anyway I will change this in the next releases !