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

Permute factors api #404

Merged
merged 4 commits into from Jun 25, 2022
Merged

Conversation

caglayantuna
Copy link
Member

As we discussed during the previous PR, we add cp_permute_factors function to api and advertise this function with an example in gallery since we couldn't find a suitable place in the user guide. Also, I removed redundant rank computation from the function.

@codecov
Copy link

codecov bot commented May 4, 2022

Codecov Report

Merging #404 (40ce733) into main (3aed951) will increase coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
+ Coverage   88.10%   88.46%   +0.36%     
==========================================
  Files         107      107              
  Lines        6322     6321       -1     
==========================================
+ Hits         5570     5592      +22     
+ Misses        752      729      -23     
Impacted Files Coverage Δ
tensorly/cp_tensor.py 85.77% <ø> (-0.07%) ⬇️
tensorly/decomposition/_cp.py 88.00% <0.00%> (-1.10%) ⬇️
tensorly/tenalg/proximal.py 67.68% <0.00%> (+0.23%) ⬆️
tensorly/metrics/similarity.py 68.29% <0.00%> (+2.43%) ⬆️
tensorly/contrib/sparse/core.py 100.00% <0.00%> (+25.00%) ⬆️
...ensorly/contrib/sparse/tests/test_decomposition.py 100.00% <0.00%> (+58.82%) ⬆️
tensorly/contrib/sparse/tests/test_tenalg.py 100.00% <0.00%> (+70.58%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@JeanKossaifi
Copy link
Member

Looks good, thanks @caglayantuna! Merging.

@JeanKossaifi JeanKossaifi merged commit 9b04739 into tensorly:main Jun 25, 2022
@caglayantuna caglayantuna deleted the permute_factors_api branch June 27, 2022 09:48
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.

None yet

3 participants