Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolphomacedo committed Nov 9, 2022
1 parent 125ff40 commit f7db47f
Show file tree
Hide file tree
Showing 153 changed files with 3,228 additions and 1,899 deletions.
435 changes: 435 additions & 0 deletions Untitled.html

Large diffs are not rendered by default.

Binary file added _images/Untitled_3_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/Untitled_5_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_2_20_0.png
Binary file not shown.
Binary file removed _images/parte_2_36_0.png
Binary file not shown.
Binary file removed _images/parte_2_42_0.png
Binary file not shown.
Binary file removed _images/parte_2_46_0.png
Binary file not shown.
Binary file removed _images/parte_2_48_0.png
Binary file not shown.
Binary file removed _images/parte_2_48_1.png
Binary file not shown.
Binary file modified _images/parte_2_49_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_2_55_0.png
Binary file not shown.
Binary file removed _images/parte_2_62_0.png
Binary file not shown.
Binary file removed _images/parte_2_64_0.png
Binary file not shown.
Binary file modified _images/parte_2_66_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_3_21_0.png
Binary file not shown.
Binary file modified _images/parte_3_22_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_3_24_0.png
Binary file not shown.
Binary file removed _images/parte_3_27_0.png
Binary file not shown.
Binary file modified _images/parte_3_28_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_3_29_0.png
Binary file not shown.
Binary file modified _images/parte_3_30_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_3_32_0.png
Binary file not shown.
Binary file modified _images/parte_3_34_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/parte_3_35_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/parte_3_36_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/parte_3_40_1.png
Binary file not shown.
Binary file removed _images/parte_3_41_1.png
Diff not rendered.
Binary file modified _images/parte_3_42_1.png
Binary file removed _images/parte_3_43_1.png
Diff not rendered.
Binary file removed _images/parte_3_43_2.png
Diff not rendered.
Binary file removed _images/parte_3_44_1.png
Diff not rendered.
Binary file removed _images/parte_3_44_2.png
Diff not rendered.
Binary file modified _images/parte_3_45_1.png
Binary file removed _images/parte_3_45_2.png
Diff not rendered.
Binary file removed _images/parte_3_46_0.png
Diff not rendered.
Binary file added _images/parte_3_46_1.png
Binary file added _images/parte_3_46_2.png
Binary file removed _images/parte_3_47_0.png
Diff not rendered.
File renamed without changes
Binary file removed _images/parte_3_49_0.png
Diff not rendered.
Binary file removed _images/parte_3_50_0.png
Diff not rendered.
Binary file removed _images/parte_3_51_0.png
Diff not rendered.
Binary file modified _images/parte_3_52_0.png
Binary file removed _images/parte_3_53_0.png
Diff not rendered.
Binary file removed _images/parte_3_54_0.png
Diff not rendered.
Binary file modified _images/parte_3_55_0.png
Binary file removed _images/parte_3_56_0.png
Diff not rendered.
Binary file added _images/parte_3_57_0.png
Binary file removed _images/parte_3_58_1.png
Diff not rendered.
Binary file removed _images/parte_3_58_2.png
Diff not rendered.
Binary file removed _images/parte_3_59_1.png
Diff not rendered.
Binary file removed _images/parte_3_59_2.png
Diff not rendered.
Binary file removed _images/parte_3_60_1.png
Diff not rendered.
Binary file removed _images/parte_3_60_2.png
Diff not rendered.
Binary file added _images/parte_3_61_1.png
Binary file added _images/parte_3_61_2.png
Binary file removed _images/parte_3_8_0.png
Diff not rendered.
Binary file removed _images/parte_3_8_1.png
Diff not rendered.
Binary file modified _images/parte_3_9_0.png
Binary file modified _images/parte_3_9_1.png
Binary file added _images/parte_4_100_0.png
Binary file added _images/parte_4_101_0.png
Binary file added _images/parte_4_103_1.png
Binary file removed _images/parte_4_12_0.png
Diff not rendered.
Binary file modified _images/parte_4_13_0.png
Binary file removed _images/parte_4_22_0.png
Diff not rendered.
Binary file modified _images/parte_4_23_0.png
Binary file removed _images/parte_4_25_0.png
Diff not rendered.
Binary file modified _images/parte_4_26_0.png
Binary file removed _images/parte_4_30_0.png
Diff not rendered.
Binary file modified _images/parte_4_31_0.png
Binary file removed _images/parte_4_33_0.png
Diff not rendered.
Binary file modified _images/parte_4_34_0.png
Binary file removed _images/parte_4_37_0.png
Diff not rendered.
Binary file removed _images/parte_4_45_0.png
Diff not rendered.
Binary file modified _images/parte_4_46_0.png
Binary file removed _images/parte_4_47_0.png
Diff not rendered.
Binary file modified _images/parte_4_48_0.png
Binary file removed _images/parte_4_49_0.png
Diff not rendered.
Binary file modified _images/parte_4_50_0.png
Binary file modified _images/parte_4_51_0.png
Binary file removed _images/parte_4_55_0.png
Diff not rendered.
Binary file modified _images/parte_4_56_0.png
Binary file modified _images/parte_4_57_0.png
Binary file removed _images/parte_4_59_1.png
Diff not rendered.
Binary file modified _images/parte_4_60_1.png
Binary file removed _images/parte_4_70_0.png
Diff not rendered.
Binary file removed _images/parte_4_72_0.png
Diff not rendered.
Binary file removed _images/parte_4_75_0.png
Diff not rendered.
Binary file removed _images/parte_4_80_0.png
Diff not rendered.
Binary file removed _images/parte_4_82_0.png
Diff not rendered.
Binary file removed _images/parte_4_86_0.png
Diff not rendered.
Binary file modified _images/parte_4_87_0.png
Binary file removed _images/parte_4_90_0.png
Diff not rendered.
Binary file modified _images/parte_4_91_0.png
Binary file removed _images/parte_4_92_0.png
Diff not rendered.
Binary file modified _images/parte_4_93_0.png
Binary file removed _images/parte_4_94_0.png
Diff not rendered.
Binary file removed _images/parte_4_95_0.png
Diff not rendered.
Binary file removed _images/parte_4_96_0.png
Diff not rendered.
Binary file removed _images/parte_4_97_0.png
Diff not rendered.
Binary file modified _images/parte_4_98_0.png
Binary file removed _images/parte_4_99_0.png
Diff not rendered.
File renamed without changes
Binary file removed _images/parte_5_19_0.png
Diff not rendered.
Binary file removed _images/parte_5_20_0.png
Diff not rendered.
Binary file removed _images/parte_5_23_0.png
Diff not rendered.
Binary file removed _images/parte_5_24_0.png
Diff not rendered.
Binary file modified _images/parte_5_25_0.png
Binary file removed _images/parte_5_39_0.png
Diff not rendered.
Binary file removed _images/parte_5_41_0.png
Diff not rendered.
Binary file removed _images/parte_5_43_0.png
Diff not rendered.
Binary file removed _images/parte_5_50_0.png
Diff not rendered.
Binary file modified _images/parte_5_51_0.png
Binary file removed _images/parte_5_52_0.png
Diff not rendered.
Binary file removed _images/parte_5_59_0.png
Diff not rendered.
Binary file modified _images/parte_5_60_0.png
Binary file modified _images/parte_5_61_0.png
Binary file modified _images/parte_5_63_0.png
Binary file removed _images/parte_5_75_0.png
Diff not rendered.
Binary file modified _images/parte_5_76_0.png
Binary file removed _images/parte_5_76_32.png
Diff not rendered.
Binary file removed _images/parte_5_76_40.png
Diff not rendered.
Binary file removed _images/parte_5_76_859.png
Diff not rendered.
Binary file added _images/parte_5_77_0.png
Binary file removed _images/parte_5_77_1.png
Diff not rendered.
Binary file removed _images/parte_5_77_32.png
Diff not rendered.
Binary file modified _images/parte_5_77_36.png
Binary file removed _images/parte_5_78_1.png
Diff not rendered.
Binary file removed _images/parte_5_78_32.png
Diff not rendered.
Binary file added _images/parte_5_78_36.png
Binary file removed _images/parte_5_78_40.png
Diff not rendered.
Binary file removed _images/parte_5_79_1.png
Diff not rendered.
Binary file modified _images/parte_5_79_32.png
Binary file modified _images/parte_5_79_36.png
Binary file removed _images/parte_5_80_1.png
Diff not rendered.
Binary file added _images/parte_5_80_36.png
Binary file added _images/parte_5_81_32.png
Binary file added _images/parte_5_90_0.png
Binary file added _images/parte_5_99_0.png
222 changes: 222 additions & 0 deletions _sources/Untitled.ipynb

Large diffs are not rendered by default.

994 changes: 797 additions & 197 deletions _sources/parte_3.ipynb

Large diffs are not rendered by default.

2,054 changes: 811 additions & 1,243 deletions _sources/parte_4.ipynb

Large diffs are not rendered by default.

517 changes: 384 additions & 133 deletions _sources/parte_5.ipynb

Large diffs are not rendered by default.

Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion parte_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ <h2>Calculando coisas com a nossa amostra da Posteriori<a class="headerlink" hre
<div class="cell_output docutils container">
<img alt="_images/parte_2_56_0.png" src="_images/parte_2_56_0.png" />
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Probabilidade da proporção de água (p) na superfície da Terra estar
entre 0.5 e 0.7 é igual à 48%, dado a amostra.
entre 0.5 e 0.7 é igual à 50%, dado a amostra.
</pre></div>
</div>
</div>
Expand Down
258 changes: 127 additions & 131 deletions parte_3.html

Large diffs are not rendered by default.

151 changes: 98 additions & 53 deletions parte_4.html

Large diffs are not rendered by default.

372 changes: 289 additions & 83 deletions parte_5.html

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions reports/Untitled.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Traceback (most recent call last):
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/jupyter_cache/executors/utils.py", line 51, in single_nb_execution
executenb(
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/client.py", line 1117, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/util.py", line 78, in wrapped
return just_run(coro(*args, **kwargs))
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/util.py", line 57, in just_run
return loop.run_until_complete(coro)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/client.py", line 558, in async_execute
await self.async_execute_cell(
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/client.py", line 862, in async_execute_cell
self._check_raise_for_error(cell, exec_reply)
File "/home/rodolpho/Projects/bayesian/BAYES/lib/python3.8/site-packages/nbclient/client.py", line 765, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
spl.design_matrix
------------------

---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/tmp/ipykernel_81029/3889434849.py in <module>
----> 1 spl.design_matrix

AttributeError: 'BSpline' object has no attribute 'design_matrix'
AttributeError: 'BSpline' object has no attribute 'design_matrix'

47 changes: 33 additions & 14 deletions reports/parte_4.log
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,40 @@ Traceback (most recent call last):
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import stan
import nest_asyncio
# ===============================================
# Plot da Posteriori da B-Spline de Grau 3
# ===============================================
plt.figure(figsize=(17, 9))

plt.scatter(cherry_not_na.year, cherry_not_na.temp, marker='o', alpha=0.5, s=7) # Plot da amostra

plt.fill_between(cherry_not_na.year, HPDI_posteriori_spline_3[:, 0], HPDI_posteriori_spline_3[:, 1], # Plot HPDI
color='red', alpha=0.3, label='HPDI da Posteriori')

plt.plot(cherry_not_na.year, mean_posteriori_spline_3, color='black', label='Média da posteriori') # Plot da Média

plt.plot(cherry_not_na.year, alpha_spline_3[:, :n_plot] + Bw_spline_3[:, :n_plot], # Plot do Intevalo da Média (Sem o HPDI)
color='red', linewidth=0.1, alpha=0.1)

plt.title('Posteriori da B-Spline \n HPDI de ' + str(intervalo_credibilidade) + '%')
plt.xlabel('Ano')
plt.ylabel('Posteriori \n (Temperatura de Março)')
plt.grid(ls='--', color='white', alpha=0.6)

plt.text(2000, 8.1, 'Um problema que pode acontecer \n quando geramos a spline com a \n última e a primeira ponta da função \n "presa".')

plt.show()
------------------

---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_353675/585069264.py in <module>
 2 import pandas as pd
 3 import matplotlib.pyplot as plt
----> 4 import stan
 5 import nest_asyncio

ModuleNotFoundError: No module named 'stan'
ModuleNotFoundError: No module named 'stan'
IndexError Traceback (most recent call last)
/tmp/ipykernel_81404/1197164469.py in <module>
 11 plt.plot(cherry_not_na.year, mean_posteriori_spline_3, color='black', label='Média da posteriori') # Plot da Média
 12 
---> 13 plt.plot(cherry_not_na.year, alpha_spline_3[:, :n_plot] + Bw_spline_3[:, :n_plot], # Plot do Intevalo da Média (Sem o HPDI)
 14 color='red', linewidth=0.1, alpha=0.1)
 15 

IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

43 changes: 0 additions & 43 deletions reports/parte_5.log

This file was deleted.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit f7db47f

Please sign in to comment.