diff options
author | VincentRouvreau <vincent.rouvreau@inria.fr> | 2021-10-04 16:46:01 +0200 |
---|---|---|
committer | VincentRouvreau <vincent.rouvreau@inria.fr> | 2021-10-04 16:46:01 +0200 |
commit | f55ae9257a7006fd0906a21bd3033f47b2958c6b (patch) | |
tree | fffcb459c60a9dd9582beb06bf522a051d9c2b08 /src/python/doc/cubical_complex_user.rst | |
parent | cad4e4bff56dee7fb05be770108775b7623648ad (diff) |
review: modification proposed from EB + HM comments fix
Diffstat (limited to 'src/python/doc/cubical_complex_user.rst')
-rw-r--r-- | src/python/doc/cubical_complex_user.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/doc/cubical_complex_user.rst b/src/python/doc/cubical_complex_user.rst index a140a279..e62a4395 100644 --- a/src/python/doc/cubical_complex_user.rst +++ b/src/python/doc/cubical_complex_user.rst @@ -211,7 +211,10 @@ 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(only_this_dim=0, dimensions=[28, 28], n_jobs=-2)), + ("cub_pers", CubicalPersistence(persistence_dimension=0, dimensions=[28, 28], n_jobs=-2)), + # Or for multiple persistence dimension computation + # ("cub_pers", CubicalPersistence(persistence_dimension=[0, 1], dimensions=[28, 28], n_jobs=-2)), + # ("H0_diags", DimensionSelector(index=0), # where index is the index in persistence_dimension array ("finite_diags", DiagramSelector(use=True, point_type="finite")), ( "pers_img", |