Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add L2 regularization #94

Merged
merged 7 commits into from
Oct 22, 2024
Merged

Add L2 regularization #94

merged 7 commits into from
Oct 22, 2024

Conversation

JoshuaLampert
Copy link
Owner

@JoshuaLampert JoshuaLampert commented Oct 22, 2024

Add an interface for regularizations and added L2 regularization. Also outsource the computation of the system matrix into interpolation_matrix and least_square_matrix.
I will add a tutorial to the docs together with the least square approximation in an upcoming PR (see #95).

src/interpolation.jl Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.62%. Comparing base (f713f46) to head (b3d906b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   98.61%   98.62%   +0.01%     
==========================================
  Files          41       43       +2     
  Lines        1155     1166      +11     
==========================================
+ Hits         1139     1150      +11     
  Misses         16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JoshuaLampert JoshuaLampert merged commit 8c2b6b0 into main Oct 22, 2024
15 checks passed
@JoshuaLampert JoshuaLampert deleted the regularization branch October 22, 2024 12:52
@JoshuaLampert JoshuaLampert added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant