Skip to content

Commit 1c85de6

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 5a56149 + 4bb24db commit 1c85de6

Some content is hidden

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

51 files changed

+58647
-1429
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
ci:
2+
autofix_prs: false
3+
14
repos:
25
- repo: https://github.com/psf/black
36
rev: 23.7.0

_templates/postcard_categories.html

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
{% endif %}
1212
{%- endmacro -%}
1313

14-
15-
{%- macro category_item(name, icon, active) -%}
14+
{%- macro category_item(name, active) -%}
1615
<a href="{{ pathtocategory(name) }}" class="{{ setcolorclass(active) }}" title="{{ name }}">
17-
<span class="fas {{ icon }}"></span>
18-
<label class="sr-only">{{ name }}</label>
19-
</a>
16+
<b>{{ name }}</b>
17+
</a>
2018
{%- endmacro -%}
2119

2220
<!-- {% set post = "" %} -->
@@ -33,32 +31,16 @@ <h3>
3331
{% set b_bool = "beginner" in post.category|map('string') %}
3432
{% set a_bool = "advanced" in post.category|map('string') %}
3533
<div class="container">
36-
<div class="row">
34+
<div class="row sd-fs-6">
3735
<div class="col">
38-
{{ category_item("beginner", "fa-crow", b_bool) }}
36+
{{ category_item("beginner", b_bool) }}
3937
</div>
4038
<div class="col">
41-
{{ category_item("intermediate", "fa-dove", i_bool) }}
39+
{{ category_item("intermediate", i_bool) }}
4240
</div>
4341
<div class="col">
44-
{{ category_item("advanced", "fa-dragon", a_bool) }}
42+
{{ category_item("advanced", a_bool) }}
4543
</div>
4644
</div>
4745
</div>
48-
49-
<!-- diataxis type categories -->
50-
<div class="container sd-fs-6 sd-font-weight-bold">
51-
<div class="row border-top border-bottom">
52-
{% set t_bool = "tutorial" in post.category|map('string') %}
53-
<div class="col"><a class="{{ setcolorclass(t_bool) }}" href="{{ pathtocategory('tutorial') }}">Tutorial</a></div>
54-
{% set h_bool = "how-to" in post.category|map('string') %}
55-
<div class="col"><a class="{{ setcolorclass(h_bool) }}" href="{{ pathtocategory('how-to') }}">How-to</a></div>
56-
<div class="w-100"></div>
57-
{% set e_bool = "explanation" in post.category|map('string') %}
58-
<div class="col"><a class="{{ setcolorclass(e_bool) }}" href="{{ pathtocategory('explanation') }}">Explanation</a></div>
59-
{% set r_bool = "reference" in post.category|map('string') %}
60-
<div class="col"><a class="{{ setcolorclass(r_bool) }}" href="{{ pathtocategory('reference') }}">Reference</a></div>
61-
</div>
62-
</div>
63-
6446
</div>

examples/case_studies/binning.ipynb

Lines changed: 20 additions & 19 deletions
Large diffs are not rendered by default.

examples/case_studies/binning.myst.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ kernelspec:
1111
---
1212

1313
(awkward_binning)=
14+
(binning)=
1415
# Estimating parameters of a distribution from awkwardly binned data
1516
:::{post} Oct 23, 2021
1617
:tags: binned data, case study, parameter estimation
@@ -27,7 +28,7 @@ Very often this data can be in a form that we, as data scientists, would not con
2728

2829
So we are faced with a problem: we have datasets with counts of our measure of interest (whether that be age, income, BMI, or whatever), but they are binned, and they have been binned _differently_. This notebook presents a solution to this problem that [PyMC Labs](https://www.pymc-labs.io) worked on, supported by the [Gates Foundation](https://www.gatesfoundation.org/). We _can_ make inferences about the parameters of a population level distribution.
2930

30-
![](gates.png)
31+
![](gates_labs_logos.png)
3132

3233
+++
3334

examples/case_studies/factor_analysis.ipynb

Lines changed: 249 additions & 116 deletions
Large diffs are not rendered by default.

examples/case_studies/factor_analysis.myst.md

Lines changed: 132 additions & 78 deletions
Large diffs are not rendered by default.

examples/case_studies/gates.png

-37.3 KB
Binary file not shown.
385 KB
Loading

examples/causal_inference/bayesian_nonparametric_causal.ipynb

Lines changed: 17116 additions & 0 deletions
Large diffs are not rendered by default.

examples/causal_inference/bayesian_nonparametric_causal.myst.md

Lines changed: 1919 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)