ValueError: setting an array element with a sequence. while using SVM in scikit-learn

前端 未结 3 2023
無奈伤痛
無奈伤痛 2020-12-03 07:09

I have been working on scikit-learn SVMs for a binary classification problem. I have calculated the features of audio files and wrote them into a CSV file. This is how each

3条回答
  •  孤街浪徒
    2020-12-03 07:48

    I had the same problem. The size of the data was consistent, so that did not help. What did work: clf.fit(list(X_train),Y_train)

提交回复
热议问题