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

Support multi-dimensional output for CP regression #252

Merged
merged 11 commits into from
Jul 13, 2024

Conversation

merajhashemi
Copy link
Member

This pr resolves #51 (CP only).

@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.23%. Comparing base (a21f844) to head (ce6a40a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   87.16%   87.23%   +0.06%     
==========================================
  Files         125      125              
  Lines        7876     7910      +34     
==========================================
+ Hits         6865     6900      +35     
+ Misses       1011     1010       -1     

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

@merajhashemi
Copy link
Member Author

I will add new test cases for multi-dimensional outputs🙂

Copy link
Contributor

@aarmey aarmey left a comment

Choose a reason for hiding this comment

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

This looks great @merajhashemi! Could you please run black formatting on the code? black tensorly in the top directory should do it.

tensorly/regression/cp_regression.py Show resolved Hide resolved
@JeanKossaifi
Copy link
Member

@merajhashemi if you have the time would be great to actually get this merged! :)

@merajhashemi
Copy link
Member Author

@JeanKossaifi I'm not sure what was left from this PR. The tests were passing; I just had to update the code style. I think it's ready to be merged 😄

@aarmey
Copy link
Contributor

aarmey commented Jul 13, 2024

Thanks @merajhashemi! Merging.

@aarmey aarmey merged commit 59c1126 into tensorly:main Jul 13, 2024
7 checks passed
@JeanKossaifi
Copy link
Member

Fabulous, thank you @merajhashemi!

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.

Tensor regression with y of arbitrary order
3 participants