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
Good Day!
Hi, i have a problem in line #52 of traffic_prediction.py. Please, you can help me to resolve this error?
test_datapoint_encoded[i] = int(label_encoder[count].transform(test_datapoint[i]))
File "C:\Python35\lib\site-packages\sklearn\preprocessing\label.py", line 128, in transform
y = column_or_1d(y, warn=True)
File "C:\Python35\lib\site-packages\sklearn\utils\validation.py", line 614, in column_or_1d
raise ValueError("bad input shape {0}".format(shape))
ValueError: bad input shape ()