Skip to content

Commit

Permalink
Updated latex in README
Browse files Browse the repository at this point in the history
  • Loading branch information
chadcwilliams committed May 31, 2023
1 parent b14aac1 commit c47c43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ $$
x^* = \text{argmax} \left( 1-P(\hat{y}|x) \right),
$$

where $\hat{y} = \operatorname{argmax} P(y_i|x)$
where $\hat{y} = \text{argmax} P(y_i|x)$

## Margin

$$
x^* = \operatorname{argmax} \left( P(\hat{y}_1|x) - P(\hat{y}_2|x) \right),
x^* = \text{argmax} \left( P(\hat{y}_1|x) - P(\hat{y}_2|x) \right),
$$

where $\hat{y}_1$ and $\hat{y}_2$ are the first and second most probable class labels under the model, respectively.

## Entropy
$$
x^* = \operatorname{argmax} \left( - \sum P(y_i|x)\operatorname{log} P(y_i|x) \right)
x^* = \text{argmax} \left( - \sum P(y_i|x)\text{log} P(y_i|x) \right)
$$

# Example Code
Expand Down

0 comments on commit c47c43e

Please sign in to comment.