Skip to content

Commit

Permalink
Changed logistic model code to match description
Browse files Browse the repository at this point in the history
- In the final exercise, in the exponent of the exponential, the
  parameter `a` is multiplying the other term
- However, in the accompanying code, the parameter `a` is dividing it
- The accompanying Wikipedia link about Item Response Theory also uses
  the convention of multiplying in the factor `a`
- Easy fix: in the code switch `a` from `a = 100` to `a = 1 / 100`, and
  switch it it multiplication in the assignment to `x`
- Closes AllenDowney#49
  • Loading branch information
EricRobertCampbell committed Oct 6, 2021
1 parent 66a74f2 commit 1ff8ea7
Showing 1 changed file with 66 additions and 607 deletions.
Loading

0 comments on commit 1ff8ea7

Please sign in to comment.