|
11 | 11 |
|
12 | 12 | # tda-mapper |
13 | 13 |
|
14 | | -**tda-mapper** is a simple and efficient Python library implementing the Mapper algorithm for Topological Data Analysis (TDA). |
15 | | -It enables fast computation of Mapper graphs using *vp-trees* to optimize the construction of open covers for enhanced performance and scalability. |
| 14 | +**tda-mapper** is a simple and efficient Python library implementing the |
| 15 | +Mapper algorithm for Topological Data Analysis (TDA). |
| 16 | +It enables fast computation of Mapper graphs by using *vp-trees* to optimize |
| 17 | +the construction of open covers, improving both performance and scalability. |
16 | 18 |
|
17 | | -For further details, please refer to our [preprint](https://doi.org/10.5281/zenodo.10659651). |
18 | | - |
19 | | -- **Installation**: `pip install tda-mapper` |
20 | | - |
21 | | -- **Documentation**: [Online on Read the Docs](https://tda-mapper.readthedocs.io/en/main/). |
22 | | - |
23 | | -- **Interactive App**: [Live Demo on Streamlit Cloud](https://tda-mapper-app.streamlit.app/), or run locally with: |
24 | | - |
25 | | - ``` |
26 | | - pip install -r app/requirements.txt |
27 | | - streamlit run app/streamlit_app.py |
28 | | - ``` |
29 | | -
|
30 | | -## Features |
| 19 | +For further details, please refer to the |
| 20 | +[preprint](https://doi.org/10.5281/zenodo.10659651) and |
| 21 | +[online documentation](https://tda-mapper.readthedocs.io/en/main/). |
31 | 22 |
|
32 | 23 | - **Efficient Mapper Computation**: Optimized for higher-dimensional lenses. |
33 | 24 |
|
34 | 25 | - **Interactive Visualizations**: Multiple plotting backends for flexibility. |
35 | 26 |
|
36 | 27 | - **Interactive App**: Interactive tool for quick, in-depth data exploration. |
37 | 28 |
|
38 | | -## Background |
| 29 | +### Background |
39 | 30 |
|
40 | 31 | The Mapper algorithm is a well-known technique in the field of topological |
41 | 32 | data analysis that allows data to be represented as a graph. |
|
52 | 43 | |  |  |  |  | |
53 | 44 | | Chose lens | Cover image | Run clustering | Build graph | |
54 | 45 |
|
| 46 | +### Citations |
| 47 | + |
| 48 | +If you use **tda-mapper** in your work, please consider citing both the |
| 49 | +[library](https://doi.org/10.5281/zenodo.10642381), archived in a permanent |
| 50 | +Zenodo record, and the [preprint](https://doi.org/10.5281/zenodo.10659651), |
| 51 | +which provides a broader methodological overview. |
| 52 | +We recommend citing the specific version of the library used in your research, |
| 53 | +as well as the latest version of the preprint. |
| 54 | +For citation examples, refer to the |
| 55 | +[documentation](https://tda-mapper.readthedocs.io/en/main/citations.html). |
| 56 | + |
55 | 57 | ## Quick Start |
56 | 58 |
|
57 | | -Here's a minimal example using the **circles dataset** from `scikit-learn` to demonstrate how to use **tda-mapper**: |
| 59 | +### Installation |
| 60 | + |
| 61 | +To install the latest version uploaded on PyPI |
| 62 | + |
| 63 | +```bash |
| 64 | +pip install tda-mapper |
| 65 | +``` |
| 66 | + |
| 67 | +### How to Use |
| 68 | + |
| 69 | +Here's a minimal example using the **circles dataset** from `scikit-learn` to |
| 70 | +demonstrate how to use **tda-mapper**: |
58 | 71 |
|
59 | 72 | ```python |
60 | 73 | import numpy as np |
@@ -85,36 +98,15 @@ fig.show(config={'scrollZoom': True}) |
85 | 98 | |  |  | |
86 | 99 |
|
87 | 100 | More examples can be found in the |
88 | | -[documentation](https://tda-mapper.readthedocs.io/en/main/). |
89 | | - |
90 | | -## Citations |
91 | | - |
92 | | -- **tda-mapper**: To cite this library, reference the Zenodo [archive](https://doi.org/10.5281/zenodo.10642381), pointing to the specific version of the release used in your work. For example to cite version 0.7.3 you can use: |
93 | | - |
94 | | - ``` bibtex |
95 | | - @software{simi_2024_12729251, |
96 | | - author = {Simi, Luca}, |
97 | | - title = {tda-mapper}, |
98 | | - month = jul, |
99 | | - year = 2024, |
100 | | - publisher = {Zenodo}, |
101 | | - version = {v0.7.3}, |
102 | | - doi = {10.5281/zenodo.12729251}, |
103 | | - url = {https://doi.org/10.5281/zenodo.12729251} |
104 | | - } |
105 | | - ``` |
106 | | -
|
107 | | -- **Methodology**: To cite our methodological foundation, refer to the [preprint](https://doi.org/10.5281/zenodo.10659651). |
108 | | -
|
109 | | - ``` bibtex |
110 | | - @misc{simi_2024_11187959, |
111 | | - author = {Simi, Luca}, |
112 | | - title = {{A Scalable Approach for Mapper via Vantage Point |
113 | | - Trees}}, |
114 | | - month = may, |
115 | | - year = 2024, |
116 | | - publisher = {Zenodo}, |
117 | | - doi = {10.5281/zenodo.11187959}, |
118 | | - url = {https://doi.org/10.5281/zenodo.11187959} |
119 | | - } |
120 | | - ``` |
| 101 | +[documentation](https://tda-mapper.readthedocs.io/en/main/examples.html). |
| 102 | + |
| 103 | +### Interactive App |
| 104 | + |
| 105 | +You can explore a live demo of **tda-mapper** directly on |
| 106 | +[Streamlit Cloud](https://tda-mapper-app.streamlit.app/), |
| 107 | +or run it locally using the following: |
| 108 | + |
| 109 | +``` |
| 110 | +pip install -r app/requirements.txt |
| 111 | +streamlit run app/streamlit_app.py |
| 112 | +``` |
0 commit comments