We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2091083 commit ce29ec7Copy full SHA for ce29ec7
example.py
@@ -2,7 +2,6 @@
2
import numpy as np
3
from pymanopt.optimizers.line_search import AdaptiveLineSearcher
4
from pyriemann.datasets import make_matrices
5
-from pyriemann.utils.mean import mean_covariance
6
7
from riemannianpca import compute_supervised_rpca
8
@@ -15,8 +14,6 @@
15
14
"max_iterations": 30,
16
"max_time": float("inf"),
17
}
18
-starting_point = mean_covariance(C, metric="riemann")
19
-
20
21
U, logs = compute_supervised_rpca(
22
C=C,
@@ -26,7 +23,7 @@
26
23
solver="steepest",
27
24
solv_args=solv_args,
28
25
return_log=True,
29
- init=starting_point,
+ init=None,
30
k=3,
31
)
32
0 commit comments