You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am getting this error when trying to run the default uncommented TrainBot.py:
Is it unable to fetch data from binance?
Traceback (most recent call last):
File ".\TrainBot.py", line 58, in <module>
preds = model.predict(tstx)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\ensemble\_gb.py", line 1188, in predict
raw_predictions = self.decision_function(X)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\ensemble\_gb.py", line 1143, in decision_function
X = check_array(X, dtype=DTYPE, order="C", accept_sparse='csr')
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\utils\validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\utils\validation.py", line 726, in check_array
raise ValueError("Found array with %d sample(s) (shape=%s) while a"
ValueError: Found array with 0 sample(s) (shape=(0, 124)) while a minimum of 1 is required.
The text was updated successfully, but these errors were encountered:
Hi,
I am getting this error when trying to run the default uncommented TrainBot.py:
Is it unable to fetch data from binance?
The text was updated successfully, but these errors were encountered: