Skip to content

Commit 42209fa

Browse files
Add .drawio files of hand-drawn diagrams
Co-authored-by: Laura Helleckes<[email protected]>
1 parent 509b2ce commit 42209fa

File tree

2 files changed

+137
-0
lines changed

2 files changed

+137
-0
lines changed
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<mxfile host="app.diagrams.net" modified="2021-11-23T13:31:52.114Z" agent="5.0 (Windows)" etag="wljMJivdcOOe7h5CusXO" compressed="false" version="15.7.0" type="device">
2+
<diagram id="yCOuzRYzMw2SDSEQppDb" name="Page-1">
3+
<mxGraphModel dx="1718" dy="950" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="600" pageHeight="600" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="qjuadA7wmCwQomGd4DEM-1" value="CalibrationModel" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
8+
<mxGeometry width="320" height="210" as="geometry" />
9+
</mxCell>
10+
<mxCell id="qjuadA7wmCwQomGd4DEM-2" value="+ independent_key : str&#xa;+ dependent_key : str&#xa;+ theta_names : tuple[str]&#xa;+ ndim : int&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-1" vertex="1">
11+
<mxGeometry y="26" width="320" height="64" as="geometry" />
12+
</mxCell>
13+
<mxCell id="qjuadA7wmCwQomGd4DEM-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-1" vertex="1">
14+
<mxGeometry y="90" width="320" height="8" as="geometry" />
15+
</mxCell>
16+
<mxCell id="qjuadA7wmCwQomGd4DEM-4" value="+ loglikelihood(y, x) : float or tensor&#xa;+ infer_independet(y, lower, upper) -&gt; InferenceResult&#xa;+ predict_dependent(x) -&gt; tuple&#xa;+ predict_independent(y) -&gt; float&#xa;+ objective(independent, dependent) -&gt; callable&#xa;+ save(filepath)&#xa;+ load(filepath)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-1" vertex="1">
17+
<mxGeometry y="98" width="320" height="112" as="geometry" />
18+
</mxCell>
19+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="qjuadA7wmCwQomGd4DEM-13" target="-Sqq0ENuxb83PTL8hh-A-21">
20+
<mxGeometry relative="1" as="geometry">
21+
<Array as="points">
22+
<mxPoint x="240" y="410" />
23+
<mxPoint x="160" y="410" />
24+
</Array>
25+
</mxGeometry>
26+
</mxCell>
27+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="qjuadA7wmCwQomGd4DEM-13">
28+
<mxGeometry relative="1" as="geometry">
29+
<mxPoint x="420" y="360" as="targetPoint" />
30+
<Array as="points">
31+
<mxPoint x="240" y="410" />
32+
<mxPoint x="420" y="410" />
33+
</Array>
34+
</mxGeometry>
35+
</mxCell>
36+
<mxCell id="qjuadA7wmCwQomGd4DEM-13" value="BaseAsymmetricLogisticT" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
37+
<mxGeometry x="160" y="450" width="160" height="110" as="geometry" />
38+
</mxCell>
39+
<mxCell id="qjuadA7wmCwQomGd4DEM-14" value="+ scale_degree : int&#xa;&#xa;&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-13" vertex="1">
40+
<mxGeometry y="26" width="160" height="34" as="geometry" />
41+
</mxCell>
42+
<mxCell id="qjuadA7wmCwQomGd4DEM-15" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-13" vertex="1">
43+
<mxGeometry y="60" width="160" height="8" as="geometry" />
44+
</mxCell>
45+
<mxCell id="qjuadA7wmCwQomGd4DEM-16" value="+ predict_dependent(x)&#xa;+ predict_independent(y)&#xa;&#xa;&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-13" vertex="1">
46+
<mxGeometry y="68" width="160" height="42" as="geometry" />
47+
</mxCell>
48+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.4;entryY=0.998;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="qjuadA7wmCwQomGd4DEM-9" target="-Sqq0ENuxb83PTL8hh-A-3">
49+
<mxGeometry relative="1" as="geometry">
50+
<Array as="points">
51+
<mxPoint x="75" y="430" />
52+
<mxPoint x="240" y="430" />
53+
<mxPoint x="240" y="410" />
54+
<mxPoint x="420" y="410" />
55+
</Array>
56+
</mxGeometry>
57+
</mxCell>
58+
<mxCell id="qjuadA7wmCwQomGd4DEM-9" value="BasePolynomialModelT" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
59+
<mxGeometry y="450" width="150" height="110" as="geometry" />
60+
</mxCell>
61+
<mxCell id="qjuadA7wmCwQomGd4DEM-10" value="+ mu_degree : int&#xa;+ scale_degree : int&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-9" vertex="1">
62+
<mxGeometry y="26" width="150" height="34" as="geometry" />
63+
</mxCell>
64+
<mxCell id="qjuadA7wmCwQomGd4DEM-11" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-9" vertex="1">
65+
<mxGeometry y="60" width="150" height="8" as="geometry" />
66+
</mxCell>
67+
<mxCell id="qjuadA7wmCwQomGd4DEM-12" value="+ predict_dependent(x)&#xa;+ predict_independent(y)&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-9" vertex="1">
68+
<mxGeometry y="68" width="150" height="42" as="geometry" />
69+
</mxCell>
70+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0.997;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="qjuadA7wmCwQomGd4DEM-17" target="-Sqq0ENuxb83PTL8hh-A-21">
71+
<mxGeometry relative="1" as="geometry">
72+
<Array as="points">
73+
<mxPoint x="455" y="430" />
74+
<mxPoint x="240" y="430" />
75+
<mxPoint x="240" y="410" />
76+
<mxPoint x="160" y="410" />
77+
</Array>
78+
</mxGeometry>
79+
</mxCell>
80+
<mxCell id="qjuadA7wmCwQomGd4DEM-17" value="BaseLogIndependentAsymmetricLogisticT" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
81+
<mxGeometry x="330" y="450" width="250" height="110" as="geometry" />
82+
</mxCell>
83+
<mxCell id="qjuadA7wmCwQomGd4DEM-18" value="+ scale_degree : int&#xa;&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-17" vertex="1">
84+
<mxGeometry y="26" width="250" height="34" as="geometry" />
85+
</mxCell>
86+
<mxCell id="qjuadA7wmCwQomGd4DEM-19" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-17" vertex="1">
87+
<mxGeometry y="60" width="250" height="8" as="geometry" />
88+
</mxCell>
89+
<mxCell id="qjuadA7wmCwQomGd4DEM-20" value="+ predict_dependent(x)&#xa;+ predict_independent(y)&#xa;&#xa;&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="qjuadA7wmCwQomGd4DEM-17" vertex="1">
90+
<mxGeometry y="68" width="250" height="42" as="geometry" />
91+
</mxCell>
92+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.497;entryY=0.989;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="-Sqq0ENuxb83PTL8hh-A-1" target="-Sqq0ENuxb83PTL8hh-A-10">
93+
<mxGeometry relative="1" as="geometry">
94+
<Array as="points">
95+
<mxPoint x="420" y="170" />
96+
<mxPoint x="420" y="145" />
97+
</Array>
98+
</mxGeometry>
99+
</mxCell>
100+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-1" value="StudentTNoise" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
101+
<mxGeometry x="340" y="250" width="200" height="110" as="geometry" />
102+
</mxCell>
103+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-2" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-1">
104+
<mxGeometry y="26" width="200" height="8" as="geometry" />
105+
</mxCell>
106+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-3" value="+ scipy_dist = scipy.stats.t&#xa;+ to_scipy(*params) -&gt; dict&#xa;+ pymc_dist = pm.StudentT&#xa;+ to_pymc(*params) -&gt; dict&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-1">
107+
<mxGeometry y="34" width="200" height="76" as="geometry" />
108+
</mxCell>
109+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-8" value="DistributionMixin" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
110+
<mxGeometry x="340" width="160" height="110" as="geometry" />
111+
</mxCell>
112+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-9" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-8">
113+
<mxGeometry y="26" width="160" height="8" as="geometry" />
114+
</mxCell>
115+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-10" value="+ scipy_dist&#xa;+ to_scipy(*params) -&gt; dict&#xa;+ pymc_dist&#xa;+ to_pymc(*params) -&gt; dict&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-8">
116+
<mxGeometry y="34" width="160" height="76" as="geometry" />
117+
</mxCell>
118+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.502;entryY=1.023;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;endSize=12;strokeWidth=1;" edge="1" parent="1" source="-Sqq0ENuxb83PTL8hh-A-18" target="qjuadA7wmCwQomGd4DEM-4">
119+
<mxGeometry relative="1" as="geometry" />
120+
</mxCell>
121+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-18" value="ContinuousUnivariateModel" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
122+
<mxGeometry y="250" width="320" height="130" as="geometry" />
123+
</mxCell>
124+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-19" value="+ independent_key : str&#xa;+ dependent_key : str&#xa;+ theta_names : tuple[str]&#xa;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-18">
125+
<mxGeometry y="26" width="320" height="54" as="geometry" />
126+
</mxCell>
127+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-20" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-18">
128+
<mxGeometry y="80" width="320" height="8" as="geometry" />
129+
</mxCell>
130+
<mxCell id="-Sqq0ENuxb83PTL8hh-A-21" value="+ infer_independent(y, x, lower, upper, steps)&#xa;    -&gt; ContinuousUnivariateInference" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="-Sqq0ENuxb83PTL8hh-A-18">
131+
<mxGeometry y="88" width="320" height="42" as="geometry" />
132+
</mxCell>
133+
</root>
134+
</mxGraphModel>
135+
</diagram>
136+
</mxfile>

0 commit comments

Comments
 (0)