We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd459c commit cbcedb1Copy full SHA for cbcedb1
ml/predictive_modelling_for_agriculture/script.py
@@ -64,6 +64,8 @@
64
65
# Train the model using features as X_train and target as y_train
66
log_reg.fit(X_train, y_train)
67
+
68
+# Predctions using test data
69
y_pred = log_reg.predict(X_test)
70
model_performance = f1_score(y_pred, y_test, average='weighted')
71
print(f"F1-score : {model_performance}")
0 commit comments