summaryrefslogtreecommitdiff
path: root/src/python/doc/cubical_complex_sklearn_itf_ref.rst
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-20 17:07:51 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-20 17:07:51 +0200
commit8d7244b510eee0d7927c521117198ef286028acf (patch)
tree4ff8da12f39e52f955e506e0e20a1e16b0aa8f8e /src/python/doc/cubical_complex_sklearn_itf_ref.rst
parent3bfc066548fbdbd9b1dc06b39d8ccecd2ce4d0b5 (diff)
code review: rename homology_dimensions argument. Use and document numpy reshape instead of cubical dimension argument
Diffstat (limited to 'src/python/doc/cubical_complex_sklearn_itf_ref.rst')
-rw-r--r--src/python/doc/cubical_complex_sklearn_itf_ref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/doc/cubical_complex_sklearn_itf_ref.rst b/src/python/doc/cubical_complex_sklearn_itf_ref.rst
index 8248343b..94862541 100644
--- a/src/python/doc/cubical_complex_sklearn_itf_ref.rst
+++ b/src/python/doc/cubical_complex_sklearn_itf_ref.rst
@@ -54,10 +54,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(persistence_dimension=0, newshape=[28, 28], n_jobs=-2)),
+ ("cub_pers", CubicalPersistence(homology_dimensions=0, newshape=[28, 28], n_jobs=-2)),
# Or for multiple persistence dimension computation
- # ("cub_pers", CubicalPersistence(persistence_dimension=[0, 1], newshape=[28, 28], n_jobs=-2)),
- # ("H0_diags", DimensionSelector(index=0), # where index is the index in persistence_dimension array
+ # ("cub_pers", CubicalPersistence(homology_dimensions=[0, 1], newshape=[28, 28], n_jobs=-2)),
+ # ("H0_diags", DimensionSelector(index=0), # where index is the index in homology_dimensions array
("finite_diags", DiagramSelector(use=True, point_type="finite")),
(
"pers_img",