Skip to content

Commit 2bf64cd

Browse files
committed
[Reliability Bayesian pymc-devs#474] updated final plot to display nicer in thumbnail
Signed-off-by: Nathaniel <[email protected]>
1 parent fe06eed commit 2bf64cd

File tree

2 files changed

+390
-388
lines changed

2 files changed

+390
-388
lines changed

examples/case_studies/reliability_and_calibrated_prediction.ipynb

+388-387
Large diffs are not rendered by default.

examples/case_studies/reliability_and_calibrated_prediction.myst.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ output_df
11081108
```{code-cell} ipython3
11091109
def cost_func(failures, power):
11101110
### Imagined cost function for failing item e.g. refunds required
1111-
return -np.power(failures, power)
1111+
return np.power(failures, power)
11121112
11131113
11141114
mosaic = """AAAA
@@ -1176,6 +1176,7 @@ ax2.hist(
11761176
bins=20,
11771177
)
11781178
ax2.set_xlabel("$ cost")
1179+
# ax2.set_xlim(-60, 0)
11791180
ax2.legend()
11801181
```
11811182

0 commit comments

Comments
 (0)