summaryrefslogtreecommitdiff
path: root/src/python/doc/cubical_complex_user.rst
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-08-09 10:38:31 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-08-09 10:38:31 +0200
commit5c35605763273cb34efe4227b6d748992e99ab09 (patch)
treefe2c61809e63fe53165c2252639f53724a6ebb6d /src/python/doc/cubical_complex_user.rst
parent91d72a69f2f04676fbd671af3dc2f3040c9f1c48 (diff)
Make CubicalPersistence returns all dimensions. Post processing DimensionSelector can select the desired dimension
Diffstat (limited to 'src/python/doc/cubical_complex_user.rst')
-rw-r--r--src/python/doc/cubical_complex_user.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/cubical_complex_user.rst b/src/python/doc/cubical_complex_user.rst
index 3fd9fd84..a140a279 100644
--- a/src/python/doc/cubical_complex_user.rst
+++ b/src/python/doc/cubical_complex_user.rst
@@ -211,7 +211,7 @@ two holes in :math:`\mathbf{H}_1`, or, like in this example, three connected com
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=0)
pipe = Pipeline(
[
- ("cub_pers", CubicalPersistence(persistence_dim=0, dimensions=[28, 28], n_jobs=-2)),
+ ("cub_pers", CubicalPersistence(only_this_dim=0, dimensions=[28, 28], n_jobs=-2)),
("finite_diags", DiagramSelector(use=True, point_type="finite")),
(
"pers_img",