Clearcut icon indicating copy to clipboard operation
Clearcut copied to clipboard

ValueError

Open sagittarius2000 opened this issue 4 years ago • 0 comments

#Traceback (most recent call last): File "./train_flows_rf.py", line 125, in clf.fit(train.drop('class', axis=1), y) File "/usr/local/lib/python2.7/dist-packages/sklearn/ensemble/forest.py", line 250, in fit X = check_array(X, accept_sparse="csc", dtype=DTYPE) File "/usr/local/lib/python2.7/dist-packages/sklearn/utils/validation.py", line 527, in check_array array = np.asarray(array, dtype=dtype, order=order) File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 538, in asarray return array(a, dtype, copy=False, order=order) ValueError: could not convert string to float: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0

i am getting the ValueError when the traning starts. is there any issue in my dataset? Can you please help me to sort out this problem?

sagittarius2000 avatar Aug 03 '20 03:08 sagittarius2000