Skip to content

Commit ce29ec7

Browse files
author
Sylvain Chevallier
committed
bug: remove init in example
1 parent 2091083 commit ce29ec7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import numpy as np
33
from pymanopt.optimizers.line_search import AdaptiveLineSearcher
44
from pyriemann.datasets import make_matrices
5-
from pyriemann.utils.mean import mean_covariance
65

76
from riemannianpca import compute_supervised_rpca
87

@@ -15,8 +14,6 @@
1514
"max_iterations": 30,
1615
"max_time": float("inf"),
1716
}
18-
starting_point = mean_covariance(C, metric="riemann")
19-
2017

2118
U, logs = compute_supervised_rpca(
2219
C=C,
@@ -26,7 +23,7 @@
2623
solver="steepest",
2724
solv_args=solv_args,
2825
return_log=True,
29-
init=starting_point,
26+
init=None,
3027
k=3,
3128
)
3229

0 commit comments

Comments
 (0)