Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ gudhi>=3.9.0 # Tuto-GUDHI-cover-complex.ipynb requires sklearn interfaces
torch
tqdm
eagerpy
ipywidgets
anywidget
35 changes: 17 additions & 18 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install LaTeX support for matplotlib
run: |
sudo apt update
sudo apt install -y ghostscript dvipng texlive-full
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r .binder/requirements.txt
pip install jupyter
- name: Execute notebooks
run: |
for f in *.ipynb; do echo "Processing $f file.."; time jupyter nbconvert --to notebook --ExecutePreprocessor.timeout=600 --inplace --execute $f;done;
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install LaTeX support for matplotlib
run: |
sudo apt update
sudo apt install -y ghostscript dvipng texlive-full
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r .binder/requirements.txt
pip install jupyter
- name: Execute notebooks
run: |
for f in *.ipynb; do echo "Processing $f file.."; time jupyter nbconvert --TagRemovePreprocessor.enabled=True --TagRemovePreprocessor.remove_cell_tags="['do_not_execute']" --to notebook --ExecutePreprocessor.timeout=600 --inplace --execute $f;done;
67 changes: 28 additions & 39 deletions Tuto-GUDHI-Barycenters-of-persistence-diagrams.ipynb

Large diffs are not rendered by default.

49 changes: 17 additions & 32 deletions Tuto-GUDHI-Expected-persistence-diagrams.ipynb

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions Tuto-GUDHI-Quantization-of-persistence-diagrams.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"source": [
"# Quantization of (expected) Persistence Diagram"
]
Expand Down Expand Up @@ -34,23 +40,13 @@
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Notebook global settings"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"source": [
"## Motivation and mathematical formulation"
]
Expand Down Expand Up @@ -241,7 +237,13 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"outputs": [],
"source": [
"n = len(diags)\n",
Expand Down Expand Up @@ -298,7 +300,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -312,7 +314,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.2"
"version": "3.11.0"
}
},
"nbformat": 4,
Expand Down
115 changes: 33 additions & 82 deletions Tuto-GUDHI-alpha-complex-visualization.ipynb

Large diffs are not rendered by default.

Loading
Loading