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

WIP: Get started on two dimensional regression #99

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RomeoV
Copy link

@RomeoV RomeoV commented Feb 11, 2025

There is already infrastructure for multi-dimensional regression, except for the polynomial fitting.
This implements basic cubic regression in the two-dimensional case only.
Probably we can write even more general code for arbitrary dimensions, but it's not completely straight forward.

Also, currently the interface is a big mess (should the inputs be Tuples, Vector, SVectors)?

Nonetheless, I'm putting this here. Perhaps I will have more time to refine it - otherwise it may serve as an inspiration to others.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.84%. Comparing base (5286502) to head (e27b5a8).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
+ Coverage   86.03%   91.84%   +5.80%     
==========================================
  Files           2        2              
  Lines         222      233      +11     
==========================================
+ Hits          191      214      +23     
+ Misses         31       19      -12     

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

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.

2 participants