https://github.com/tensorly/tensorly
Revision a628f79cfbcb1a6b553cb2657aa44177067ac885 authored by Aaron Meyer on 21 September 2022, 18:21:55 UTC, committed by GitHub on 21 September 2022, 18:21:55 UTC
Adding an implementation of tensor PLS.
Tip revision: a628f79cfbcb1a6b553cb2657aa44177067ac885 authored by Aaron Meyer on 21 September 2022, 18:21:55 UTC
Merge pull request #435 from meyer-lab/plsr
Merge pull request #435 from meyer-lab/plsr
Tip revision: a628f79
Makefile
# Automate testing etc
BACKEND?='numpy'
.PHONY: all test install clean debug
all: install test
install:
pip install -e .
debug:
TENSORLY_BACKEND=$(BACKEND) pytest -v --pdb tensorly
test:
TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly
test-all:
TENSORLY_BACKEND='numpy' pytest -v tensorly
TENSORLY_BACKEND='cupy' pytest -v tensorly
TENSORLY_BACKEND='pytorch' pytest -v tensorly
TENSORLY_BACKEND='mxnet' pytest -v tensorly
TENSORLY_BACKEND='jax' pytest -v tensorly
TENSORLY_BACKEND='tensorflow' pytest -v tensorly
test-coverage:
TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly
Computing file changes ...