Skip to content

Commit

Permalink
deploy: f954355
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Dec 28, 2023
1 parent 1fd6ba8 commit a2dc8fd
Show file tree
Hide file tree
Showing 11 changed files with 747 additions and 747 deletions.
8 changes: 4 additions & 4 deletions pull341/_sources/classification2.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,20 +395,20 @@ the `random_state` argument that is available in many `pandas` and `scikit-learn
functions. Those functions will then use your `Generator` to generate random numbers instead of
`numpy`'s default generator. For example, we can reproduce our earlier example by using a `Generator`
object with the `seed` value set to 1; we get the same lists of numbers once again.
```{code}
```python
from numpy.random import Generator, PCG64
rng = Generator(PCG64(seed=1))
random_numbers1_third = nums_0_to_9.sample(n=10, random_state=rng).to_list()
random_numbers1_third
```
```{code}
```text
array([2, 9, 6, 4, 0, 3, 1, 7, 8, 5])
```
```{code}
```python
random_numbers2_third = nums_0_to_9.sample(n=10, random_state=rng).to_list()
random_numbers2_third
```
```{code}
```text
array([9, 5, 3, 0, 8, 4, 2, 1, 6, 7])
```
Expand Down
204 changes: 102 additions & 102 deletions pull341/classification1.html

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions pull341/classification2.html

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions pull341/clustering.html

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions pull341/inference.html

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions pull341/intro.html

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions pull341/regression1.html

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions pull341/regression2.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pull341/searchindex.js

Large diffs are not rendered by default.

392 changes: 196 additions & 196 deletions pull341/viz.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pull341/wrangling.html
Original file line number Diff line number Diff line change
Expand Up @@ -4792,7 +4792,7 @@ <h2><span class="section-number">3.9. </span>Performing operations on groups of
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pandas.core.groupby.generic.DataFrameGroupBy object at 0x7effae1d4890&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;pandas.core.groupby.generic.DataFrameGroupBy object at 0x7f14bd16e9d0&gt;
</pre></div>
</div>
</div>
Expand Down

0 comments on commit a2dc8fd

Please sign in to comment.