Skip to content

Add some statistics formulas to problem.js#60

Open
ddavidd23 wants to merge 1 commit intoakshayravikumar:masterfrom
ddavidd23:statistics-formulas
Open

Add some statistics formulas to problem.js#60
ddavidd23 wants to merge 1 commit intoakshayravikumar:masterfrom
ddavidd23:statistics-formulas

Conversation

@ddavidd23
Copy link
Copy Markdown

@ddavidd23 ddavidd23 commented Nov 12, 2025

I added the following three statistics-related formulas which have interesting LaTeX formulas:

  1. Ridge regression: (\mathcal{L}_X = \mathrm{d} \circ \iota_X + \iota_X \circ \mathrm{d})
  2. ELBO: (L(\phi,\theta;x) = \mathbb{E}{z \sim q\phi\left(\cdot\mid x\right)} \left[ \ln\frac{p_\theta(x,z)}{q_\phi(z\mid x)} \right])
  3. Langevin dynamics: (\mathrm{d}x_t = -\nabla U(x_t) \mathrm{d}t + \sqrt{2\beta^{-1}} \mathrm{d}W_t)

Important

Add Ridge Regression, ELBO, and Langevin Dynamics formulas to problems.js.

  • Additions to problems.js:
    • Add "Ridge Regression" with L2 regularization formula.
    • Add "Evidence Lower Bound (ELBO)" for log-likelihood of observed data.
    • Add "Langevin Dynamics (Overdamped)" for stochastic gradient flow.

This description was created by Ellipsis for 5cd32af. You can customize this summary. It will automatically update as commits are pushed.

Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 5cd32af in 1 minute and 19 seconds. Click for details.
  • Reviewed 25 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. public/assets/js/problems.js:915
  • Draft comment:
    The PR description lists the Ridge Regression formula as Cartan's magic formula, but the code uses a different (and correct) expression. Please update the PR description to match the code.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to update the PR description, which is against the rules. The focus should be on the code itself, not the PR description.
2. public/assets/js/problems.js:916
  • Draft comment:
    Consider clarifying the notation in the Ridge Regression formula (e.g. using explicit multiplication '\�5{X}\mathbf{w}' if desired) for consistency.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_w8ld9GVBKBn3zUw6

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant