tensorly / tensorly

TensorLy: Tensor Learning in Python.
http://tensorly.org
Other
1.51k stars 281 forks source link

Miscellaneous housekeeping improvements #513

Closed aarmey closed 10 months ago

aarmey commented 10 months ago

Apologies that this does not involve just one change. This resolves some various minor inconsistencies, deprecations, and performance issues:

I will further annotate each of the changes so that this is simpler to review.

codecov[bot] commented 10 months ago

Codecov Report

Merging #513 (b5161a7) into main (94c2ff2) will increase coverage by 0.07%. Report is 3 commits behind head on main. The diff coverage is 90.62%.

@@            Coverage Diff             @@
##             main     #513      +/-   ##
==========================================
+ Coverage   86.71%   86.78%   +0.07%     
==========================================
  Files         120      118       -2     
  Lines        7535     7515      -20     
==========================================
- Hits         6534     6522      -12     
+ Misses       1001      993       -8     
Files Changed Coverage Δ
tensorly/__init__.py 100.00% <ø> (ø)
tensorly/utils/__init__.py 100.00% <ø> (ø)
tensorly/tenalg/proximal.py 67.68% <71.42%> (+0.23%) :arrow_up:
tensorly/backend/core.py 67.67% <80.00%> (-0.01%) :arrow_down:
tensorly/backend/__init__.py 89.83% <100.00%> (ø)
tensorly/base.py 95.83% <100.00%> (ø)
tensorly/decomposition/_cp.py 83.71% <100.00%> (-0.11%) :arrow_down:
tensorly/decomposition/_tr.py 85.24% <100.00%> (ø)
tensorly/decomposition/tests/test_cmtf_als.py 100.00% <100.00%> (ø)
tensorly/metrics/entropy.py 86.36% <100.00%> (-0.60%) :arrow_down:
... and 4 more

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more