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
File "d:\SVM\code\OC1-CUDA-master\serialOC1.py", line 5, in from kNN import ClassifierFile "d:\SVM\code\OC1-CUDA-master\kNN.py", line 90, in cl1 = cKNN.classifyInstance(data1)File "d:\SVM\code\OC1-CUDA-master\kNN.py", line 79, in classifyInstance counts[self.data[indices[i],class_idx]] += 1IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
The text was updated successfully, but these errors were encountered:
File "d:\SVM\code\OC1-CUDA-master\serialOC1.py", line 5, in from kNN import ClassifierFile "d:\SVM\code\OC1-CUDA-master\kNN.py", line 90, in cl1 = cKNN.classifyInstance(data1)File "d:\SVM\code\OC1-CUDA-master\kNN.py", line 79, in classifyInstance counts[self.data[indices[i],class_idx]] += 1IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesThe text was updated successfully, but these errors were encountered: