Training the initial SVC model

PHOTO EMBED

Tue May 21 2024 16:14:28 GMT+0000 (Coordinated Universal Time)

Saved by @Uncoverit #python

# Training the initial SVC model
pipe = Pipeline([('scaler', StandardScaler()), ('svc', SVC(kernel = 'rbf', C = 10))])
pipe.fit(x_train, y_train)
pipe.score(x_test, y_test)
content_copyCOPY