[머신러닝] Support Vector Machine
import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn import datasets from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC from sklearn.model_selection import train_test_split plt.close("all") iris=datasets.load_iris() X=iris["data"][50:150, (2, 3)] Y=iris["target"][50:150] scaler=StandardScaler() scaler.fit(X) X_std=scaler.transform(X) [X_tr..
2020.09.20