Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sjmolyneux/two std normal notebook#116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
samjmolyneux wants to merge6 commits intosjmolyneux/sgd-improvements
base:sjmolyneux/sgd-improvements
Choose a base branch
Loading
fromsjmolyneux/two-std-normal-notebook

Conversation

@samjmolyneux
Copy link
Collaborator

  1. Added a test that runs all notebooks in the examples folder to ensure that they run without error. This also included the addition ofnbmake to the test dependencies.

  2. We agreed not to useJupytext for the time being, so I added annbstripout hook to the pre-commit. This refuses to commit notebooks until all meta data has been stripped.

  3. Of course 1. and 2. can be removed if we later decide to useJupytext.

  4. Addedexamples/two_normal.ipynb. Notebook builds up an example graph using two normal distributions. Notebook then attempts to solve by running sgd on$\lVert \nabla \mathcal{L} \rVert_2^2$. Notebook then demonstrates that the objective function can be easily changed and solves the problem using a custom objective function based up minimising KKT residuals.

  5. Added some ruff ignores rules to examples folder. I think we probably don't care about these things missing in examples.

Closes#103.

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

Reviewers

@willGraham01willGraham01willGraham01 left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@samjmolyneux@willGraham01

[8]ページ先頭

©2009-2025 Movatter.jp