Traceback (most recent call last):



 "/_mlxtend_bug/reproduce.py", line 16, in <module>

print(clf.predict(test))



 "/venv/py3/lib/python3.4/site-packages/mlxtend/classifier/ensemble_vote.py", line 197, in predict

arr=predictions)



 "/venv/py3/lib/python3.4/site-packages/numpy/lib/shape_base.py", line 132, in apply_along_axis

res = asanyarray(func1d(inarr_view[ind0], *args, **kwargs))



 "/venv/py3/lib/python3.4/site-packages/mlxtend/classifier/ensemble_vote.py", line 195, in <lambda>

weights=self.weights)),

TypeError: Cannot cast array data from dtype('<U1') to dtype('int64') according to the rule 'safe'

Traceback (most recent call last):


 "/root/Projects/asdhasd.py", line 3, in <module>

r = requests.get("http://localhost:61208/api/3/all")


 "/usr/local/lib/python3.5/dist-packages/requests/api.py", line 75, in get

return request('get', url, params=params, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/requests/api.py", line 60, in request

return session.request(method=method, url=url, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)


 "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 516, in send

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=61208): Max retries exceeded with url: /api/3/all (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f597d3af5c0>: Failed to establish a new connection: [Errno 111] Connection refused',))
