diff --git a/docs/src/index.rst b/docs/src/index.rst index fec268ed3..0144e4578 100644 --- a/docs/src/index.rst +++ b/docs/src/index.rst @@ -4,19 +4,19 @@
-
-
-
-
+
+
+
+
.. only:: html + :ref:`getting_started-selection` + .. image:: /examples/selection/images/thumb/sphx_glr_FeatureSelection-WHODataset_thumb.png :alt: - :ref:`getting_started-selection` - .. raw:: html
@@ -26,18 +26,18 @@
-
-
-
-
+
+
+
+
.. only:: html + :ref:`getting_started-pcovr` + .. image:: /examples/pcovr/images/thumb/sphx_glr_PCovR_thumb.png :alt: - :ref:`getting_started-pcovr` - .. raw:: html
@@ -46,18 +46,18 @@
-
-
-
-
+
+
+
+
.. only:: html + :ref:`getting_started-reconstruction` + .. image:: /examples/reconstruction/images/thumb/sphx_glr_PlotLFRE_thumb.png :alt: - :ref:`getting_started-reconstruction` - .. raw:: html
@@ -69,6 +69,7 @@

+ .. include:: ../../README.rst :start-after: marker-issues :end-before: marker-contributing diff --git a/src/skmatter/sample_selection/_base.py b/src/skmatter/sample_selection/_base.py index c4d4ee859..87bf5cf6c 100644 --- a/src/skmatter/sample_selection/_base.py +++ b/src/skmatter/sample_selection/_base.py @@ -346,15 +346,15 @@ class CUR(_CUR): >>> selector.fit(X) CUR(n_to_select=2) >>> np.round(selector.pi_, 2) # importance scole - array([0., 1., 0.]) + array([0.23, 0. , 0.77]) >>> selector.selected_idx_ # importance scole - array([2, 0]) + array([2, 1]) >>> # selector.transform(X) cannot be used as sklearn API >>> # restricts the change of sample size using transformers >>> # So one has to do >>> X[selector.selected_idx_] array([[-0.03, -0.53, 0.08], - [ 0.12, 0.21, 0.02]]) + [-0.09, 0.32, -0.1 ]]) """ def __init__(