Sklearn.svm.SVC,the "predict" method predict all samples to same one label, which is wrong. · Issue #12408 · scikit-learn/scikit-learn · GitHub
![python - Unexpected results when using scikit-learn's SVM classification algorithm (RBF kernel) - Stack Overflow python - Unexpected results when using scikit-learn's SVM classification algorithm (RBF kernel) - Stack Overflow](https://i.stack.imgur.com/XXbdy.png)
python - Unexpected results when using scikit-learn's SVM classification algorithm (RBF kernel) - Stack Overflow
![SOLVED: # Import additional libraries from sklearn.decomposition import PCA from sklearn.svm import SVC # The list of number of components for PCA nlist = [10, 20, 50, 100, 150, 200, 498] # SOLVED: # Import additional libraries from sklearn.decomposition import PCA from sklearn.svm import SVC # The list of number of components for PCA nlist = [10, 20, 50, 100, 150, 200, 498] #](https://cdn.numerade.com/ask_images/b6fd6e1fc07643bc9f0e881217562960.jpg)
SOLVED: # Import additional libraries from sklearn.decomposition import PCA from sklearn.svm import SVC # The list of number of components for PCA nlist = [10, 20, 50, 100, 150, 200, 498] #
![Error Correcting Output Code (ECOC) Classifier with Support Vector Machine Classifier (SVC) using sklearn in Python - The Security Buddy Error Correcting Output Code (ECOC) Classifier with Support Vector Machine Classifier (SVC) using sklearn in Python - The Security Buddy](https://www.thesecuritybuddy.com/wordpress/bdr/uploads/2023/04/ECOCwithSVC.jpg)