Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
qualiaMachine committed Aug 7, 2024
1 parent 4dbae53 commit eb1d665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/7a-OOD-detection-output-based.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 29,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
Expand Down Expand Up @@ -483,6 +483,7 @@
"id": "9kLw6dbVRiME"
},
"source": [
"\n",
"## How does our model view OOD data?\n",
"\n",
"A basic question we can start with is to ask, on average, how are OOD samples classified? Are they more likely to be Tshirts or pants? For this kind of question, we can calculate the probability scores for the OOD data, and compare this to the ID data."
Expand Down
1 change: 1 addition & 0 deletions code/7a-OOD-detection-output-based.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ plt.savefig('../images/OOD-detection_ID-confusion-matrix.png', dpi=300, bbox_inc
plt.show()
```
![ID confusion matrix](https://raw.githubusercontent.com/carpentries-incubator/fair-explainable-ml/main/images/OOD-detection_ID-confusion-matrix.png)

## How does our model view OOD data?

A basic question we can start with is to ask, on average, how are OOD samples classified? Are they more likely to be Tshirts or pants? For this kind of question, we can calculate the probability scores for the OOD data, and compare this to the ID data.
Expand Down

0 comments on commit eb1d665

Please sign in to comment.