text_plain_output_1.png
from sklearn.metrics import accuracy_score

from sklearn.metrics import accuracy_score

from sklearn.metrics import accuracy_score

from sklearn.svm import SVC

import numpy as np

from sklearn.svm import SVC
model_SVC = SVC()
model_SVC.fit(X_train, y_train)

predictionSVC = model_SVC.predict(X_test)
from sklearn.metrics import accuracy_score

X_new = np.array([[3.4, 2.2, 1.5, 0.5], [4.8, 2.3, 3.7, 1.3], [5.1, 2.6, 4.9, 2]])
prediction_new = model_SVC.predict(X_new)
print('Prediction of new species : {}'.format(prediction_new))