Skip to content
Snippets Groups Projects
Commit 844f143c authored by ym1r22's avatar ym1r22
Browse files

Update RandomForest1.py

parent 6b8fa4e3
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ print(y_pred)
# Save the test predictions to a CSV file
test_data["PredictedLabel"] = y_pred
test_data.to_csv("TestPrediction2.csv", index=False)
test_data.to_csv("TestingResultsBinary.csv", index=False)
# Calculate the confusion matrix
confusion_mtx = confusion_matrix(y_test, y_test_pred)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment