Spaces:
Sleeping
Sleeping
Update pages/4_Model Creation and Evaluation.py
Browse files
pages/4_Model Creation and Evaluation.py
CHANGED
|
@@ -238,6 +238,7 @@ svc_model = SVC(C=C_svc, kernel=kernel_svc, probability=True, random_state=42)
|
|
| 238 |
|
| 239 |
# Train the modelssc
|
| 240 |
svc_model.fit(x_train_std, y_train)
|
|
|
|
| 241 |
|
| 242 |
|
| 243 |
st.write("Model has been trained successfully!")
|
|
|
|
| 238 |
|
| 239 |
# Train the modelssc
|
| 240 |
svc_model.fit(x_train_std, y_train)
|
| 241 |
+
y_pred_svc = svc_model.predict(x_test_std)
|
| 242 |
|
| 243 |
|
| 244 |
st.write("Model has been trained successfully!")
|