Skip to content

Commit dba744f

Browse files
adding visual examples of package features on index page
* the sphinx gallery examples are used to visualize the different features of the library that link to the getting started page --------- Co-authored-by: Philip Loche <[email protected]>
1 parent c11fc11 commit dba744f

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

docs/src/getting-started.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ our :ref:`installation` instructions for installing ``scikit-matter``.
88
For a detailed explaination of the functionalities, please look at the
99
:ref:`selection-api`
1010

11+
.. _getting_started-selection:
12+
1113
Features and Samples Selection
1214
------------------------------
1315

@@ -21,6 +23,8 @@ Notebook Examples
2123
:start-line: 4
2224

2325

26+
.. _getting_started-reconstruction:
27+
2428
Reconstruction Measures
2529
-----------------------
2630

@@ -33,6 +37,8 @@ Notebook Examples
3337
.. include:: examples/reconstruction/index.rst
3438
:start-line: 4
3539

40+
.. _getting_started-pcovr:
41+
3642
Principal Covariates Regression
3743
-------------------------------
3844

docs/src/index.rst

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,75 @@
11
.. automodule:: skmatter
22

3+
.. raw:: html
4+
5+
<div class="container">
6+
<div class="row">
7+
<div class="col-sm d-flex">
8+
<div class="card text-center mb-4" style="background-color: transparent">
9+
<div class="card-body">
10+
<h5 class="card-title" style="margin-top: 0px">
11+
12+
13+
.. only:: html
14+
15+
:ref:`getting_started-selection`
16+
17+
.. image:: /examples/selection/images/thumb/sphx_glr_FeatureSelection-WHODataset_thumb.png
18+
:alt:
19+
20+
.. raw:: html
21+
22+
</h5>
23+
<p class="card-text">Supervised and unsupervised selection
24+
methods based on
25+
CUR matrix decomposition and Farthest Point Sampling.</p>
26+
</div>
27+
</div>
28+
</div>
29+
<div class="col-sm d-flex">
30+
<div class="card text-center mb-4" style="background-color: transparent">
31+
<div class="card-body">
32+
<h5 class="card-title" style="margin-top: 0px">
33+
34+
.. only:: html
35+
36+
:ref:`getting_started-pcovr`
37+
38+
.. image:: /examples/pcovr/images/thumb/sphx_glr_PCovR_thumb.png
39+
:alt:
40+
41+
.. raw:: html
42+
43+
</h5>
44+
<p class="card-text">Utilises a combination between a PCA-like and a LR-like loss
45+
to determine the decomposition matrix to project feature into latent space</p>
46+
</div>
47+
</div>
48+
</div>
49+
<div class="col-sm d-flex">
50+
<div class="card text-center mb-4" style="background-color: transparent">
51+
<div class="card-body">
52+
<h5 class="card-title" style="margin-top: 0px">
53+
54+
.. only:: html
55+
56+
:ref:`getting_started-reconstruction`
57+
58+
.. image:: /examples/reconstruction/images/thumb/sphx_glr_PlotLFRE_thumb.png
59+
:alt:
60+
61+
.. raw:: html
62+
63+
</h5>
64+
<p class="card-text">Error measures for quantifying the
65+
linear decodable information capacity between features</p>
66+
</div>
67+
</div>
68+
</div>
69+
</div>
70+
</div>
71+
<br>
72+
373
.. include:: ../../README.rst
474
:start-after: marker-issues
575
:end-before: marker-contributing

0 commit comments

Comments
 (0)