-クラスを明確に分ける境界線を引くための手法 -マージン最大化と呼ばれる方法で境界線を推定 ・引数kernel:アルゴリズムで使用するカーネルタイプ('linear'、 'poly'、 'rbf'、 'sigmoid'、 'precomputed') ・引数degree: 多項式カーネル関数の次数(kernel='poly'の時 ...
#### We split the data into train and test, with test size being 20 % and train size 80%. #### The target is the dependent variable or the class variable. #### random state only ensure that the ...
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.33, random_state=0) ...