Dataframe to numpy.ndarray Related issues of

Originally, we tried to use SVM algorithm to classify and predict the data, but we found that there are many problems in SVM model.fit The data in () must be numpy.ndarray Type of data, so start with numpy.ndarray The data of (data) will turn into valueerror: sequence too large; cannot be greater than 32. This problem is not easy to solve. Later found through numpy.array (data) can be converted directly into numpy.ndarray Type of data.

Read More: