Exemple #1
0
def test_decomp_not_computed_ranks():
    with pytest.raises(ValueError):
        ajive = AJIVE(init_signal_ranks=[2, 2])
        ajive.get_ranks()
Exemple #2
0
def test_get_ranks(data):
    with pytest.raises(ValueError):
        ajive = AJIVE(init_signal_ranks=[2, 2])
        ajive.get_ranks()