Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
JasonKessler committed Nov 11, 2022
2 parents 288ab85 + f6ba6a8 commit 929f541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,8 @@ where $F^{-1}(tpr) - F^{-1}(fpr)$ is not used as an absolute value, but kept as
terms strongly indicative of true positives and false positives to have a high or low score.
Note that tpr and fpr are scaled to between $[\alpha, 1-\alpha]$ where
alpha is $\in [0, 1]$. In Forman (2008) and earlier literature $\alpha=0.0005$. In personal correspondence with Forman,
he kindly suggested using $\frac{1.}{\mbox{minimum(# positives, # negatives)}}$. I have implemented this as
$\alpha=\frac{1.}{\mbox{minimum(# documents in least frequent category)}}$
he kindly suggested using $\frac{1.}{\mbox{minimum(positives, negatives)}}$. I have implemented this as
$\alpha=\frac{1.}{\mbox{minimum documents in least frequent category}}$
```python
corpus = (st.CorpusFromPandas(convention_df,
Expand Down

0 comments on commit 929f541

Please sign in to comment.