tensorly / viz

Easy visualization and evaluation of matrix and tensor factorization models
https://tensorly.org/viz/
MIT License
16 stars 4 forks source link

Fix core consistency test #17

Closed yngvem closed 1 year ago

yngvem commented 1 year ago

Closes #15

We split the test_core_element_plot_normalised_flag test into two tests with better names, one for each of the scenarios it tested. For the predictive_power doctest, we decreased the added noise and reduced the rank, which should make it easier for TensorLy to find the correct decomposition (and therefore easier for the test to pass).

codecov-commenter commented 1 year ago

Codecov Report

Merging #17 (151fa88) into main (7513a27) will increase coverage by 0.06%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   95.08%   95.15%   +0.06%     
==========================================
  Files          13       13              
  Lines        1464     1464              
==========================================
+ Hits         1392     1393       +1     
+ Misses         72       71       -1     
Impacted Files Coverage Δ
tlviz/model_evaluation.py 100.00% <ø> (ø)
tlviz/visualisation.py 97.42% <0.00%> (+0.28%) :arrow_up:

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