Skip to content

Commit 611bb1c

Browse files
committed
🔥 remove notebooks from pymc3, replace with pymc-examples submodule
1 parent b7b145d commit 611bb1c

File tree

95 files changed

+13
-94301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+13
-94301
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "docs/source/pymc-examples"]
2+
path = docs/source/pymc-examples
3+
url = [email protected]:pymc-devs/pymc-examples.git

.pre-commit-config.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ repos:
1313
- id: requirements-txt-fixer
1414
exclude: ^requirements-dev\.txt$
1515
- id: trailing-whitespace
16-
- repo: https://github.com/nbQA-dev/nbQA
17-
rev: 0.5.5
18-
hooks:
19-
- id: nbqa-black
20-
additional_dependencies: [black==20.8b1]
21-
- id: nbqa-isort
22-
additional_dependencies: [isort==5.6.4]
23-
- id: nbqa-pyupgrade
24-
additional_dependencies: [pyupgrade==2.7.4]
25-
args: [--py37-plus]
2616
- repo: https://github.com/PyCQA/isort
2717
rev: 5.6.4
2818
hooks:
@@ -45,18 +35,6 @@ repos:
4535
files: ^pymc3/
4636
- repo: local
4737
hooks:
48-
- id: watermark
49-
args: [--negate, --multiline]
50-
entry: '%load_ext watermark.*%watermark -n -u -v -iv -w'
51-
language: pygrep
52-
minimum_pre_commit_version: 2.8.0
53-
name: Check notebooks have watermark (see Jupyter style guide from PyMC3 Wiki)
54-
types: [jupyter]
55-
- id: check-toc
56-
entry: python scripts/check_toc_is_complete.py
57-
language: python
58-
name: Check all notebooks appear in table of contents
59-
types: [jupyter]
6038
- id: check-no-tests-are-ignored
6139
entry: python scripts/check_all_tests_are_covered.py
6240
files: ^\.github/workflows/pytest\.yml$

build_and_deploy_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
latesttag=$(git describe --tags `git rev-list --tags --max-count=1`)
44
echo checking out ${latesttag}
55
git checkout ${latesttag}
6+
git submodule update --init --recursive
67
pushd docs/source
78
make html
89
ghp-import -c docs.pymc.io -n -p _build/html/

docs/source/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,31 +80,31 @@
8080
<h2 class="ui dividing header">In-Depth Guides</h2>
8181
<div class="ui four stackable cards">
8282

83-
<a class="ui link card" href="/Probability_Distributions.html">
83+
<a class="ui link card" href="Probability_Distributions.html">
8484
<div class="content">
8585
<div class="header">Probability Distributions</div>
8686
<div class="description">PyMC3 includes a comprehensive set of pre-defined statistical distributions that can be used as model building blocks.
8787
</div>
8888
</div>
8989
</a>
9090

91-
<a class="ui link card" href="/Gaussian_Processes.html">
91+
<a class="ui link card" href="Gaussian_Processes.html">
9292
<div class="content">
9393
<div class="header">Gaussian Processes</div>
9494
<div class="description">Sometimes an unknown parameter or variable in a model is not a scalar value or a fixed-length vector, but a function. A Gaussian process (GP) can be used as a prior probability distribution whose support is over the space of continuous functions. PyMC3 provides rich support for defining and using GPs.
9595
</div>
9696
</div>
9797
</a>
9898

99-
<a class="ui link card" href="/notebooks/variational_api_quickstart.html">
99+
<a class="ui link card" href="pymc-examples/notebooks/variational_api_quickstart.html">
100100
<div class="content">
101101
<div class="header">Variational Inference</div>
102102
<div class="description">Variational inference saves computational cost by turning a problem of integration into one of optimization. PyMC3's variational API supports a number of cutting edge algorithms, as well as minibatch for scaling to large datasets.
103103
</div>
104104
</div>
105105
</a>
106106

107-
<a class="ui link card" href="/PyMC3_and_Theano.html">
107+
<a class="ui link card" href="PyMC3_and_Theano.html">
108108
<div class="content">
109109
<div class="header">PyMC3 and Theano</div>
110110
<div class="description">Theano is the deep-learning library PyMC3 uses to construct probability distributions and then access the gradient in order to implement cutting edge inference algorithms. More advanced models may be built by understanding this layer.

docs/source/notebooks/AR.ipynb

Lines changed: 0 additions & 585 deletions
This file was deleted.

docs/source/notebooks/BEST.ipynb

Lines changed: 0 additions & 697 deletions
This file was deleted.

docs/source/notebooks/Bayes_factor.ipynb

Lines changed: 0 additions & 702 deletions
This file was deleted.

0 commit comments

Comments
 (0)