Matt Petersen

Software engineer in New York writing about mathematics, programming, and life.

  1. Newton's method

    A step-by-step derivation from the second-order Taylor approximation.

  2. Softmax with cross-entropy

    Deriving softmax and cross-entropy gradients with matrix calculus.