Skip to content

Commit

Permalink
remove the Machine learning introduction course sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
afoix committed Aug 25, 2024
1 parent e896ae6 commit 5030bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def predict(model, dataset):


# %% [markdown]
# Now we call the predict method with the clean and tainted models on the clean and tainted datasets.
# Now we call the predict function with the clean and tainted models on the clean and tainted datasets.

# %%
pred_clean_clean, true_labels = predict(model_clean, test_dataset)
Expand All @@ -523,7 +523,7 @@ def predict(model, dataset):
pred_tainted_tainted, _ = predict(model_tainted, tainted_test_dataset)

# %% [markdown]
# We can investigate the results using the confusion matrix, which you should recall from the Introduction to Machine Learning exercise. The function in the cell below will create a nicely annotated confusion matrix.
# We can investigate the results using the confusion matrix, you can read more about them [here](https://en.wikipedia.org/wiki/Confusion_matrix). The function in the cell below will create a nicely annotated confusion matrix.

# %%
from sklearn.metrics import confusion_matrix
Expand Down

0 comments on commit 5030bf0

Please sign in to comment.