https://github.com/tensorly/tensorly
Revision 4fb9a54f98cd8878ca35346d57d0723cebd32613 authored by Cyrillus Tan on 16 March 2023, 19:35:14 UTC, committed by GitHub on 16 March 2023, 19:35:14 UTC
* Amendment in the functions

* Add more tests

* Black formatting

* Skip transform test on tensorflow

* Some changes for the review

* Adjustments to help with solving speed

* Separate R2 score; make X_r2 and Y_r2 as new attributes

* Avoid creating CPTensor() overhead; remove redundant reshape

* Update tensorly/metrics/tests/test_regression.py

Co-authored-by: Jean Kossaifi <jean.kossaifi@gmail.com>

* Incorporate outer, fix randn call

* More tl.tenalg.outer; used mean-centered tensor

* Some fixes on R2 definitions

* Make a dedicated score function to avoid copying X and Y

* Black formatting

---------

Co-authored-by: Aaron Meyer <ameyer@ucla.edu>
Co-authored-by: Aaron Meyer <2065146+aarmey@users.noreply.github.com>
Co-authored-by: Jean Kossaifi <jean.kossaifi@gmail.com>
1 parent a26ffe0
History
Tip revision: 4fb9a54f98cd8878ca35346d57d0723cebd32613 authored by Cyrillus Tan on 16 March 2023, 19:35:14 UTC
Fix CP Partial Least Square (#492)
Tip revision: 4fb9a54
File Mode Size
meta.yaml -rw-r--r-- 1.1 KB

back to top