Skip to content

Commit 2f70a5e

Browse files
minor bugfixes (pkg imports) and committing new faithful plot
1 parent fa702e9 commit 2f70a5e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ source/*.ipynb
88
source/*.py
99
*.swp
1010
*.swo
11+
source/__pycache__

source/classification1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ kernelspec:
1818
from chapter_preamble import *
1919
from IPython.display import HTML
2020
from sklearn.metrics.pairwise import euclidean_distances
21+
import numpy as np
2122
```
2223

2324
(classification1)=

source/img/viz/faithful_plot.png

35.6 KB
Loading

source/regression2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ in {numref}`fig:08-lin-reg1`.
102102
```{code-cell} ipython3
103103
:tags: [remove-cell]
104104
105+
import pandas as pd
106+
105107
np.random.seed(2)
106108
107109
sacramento = pd.read_csv("data/sacramento.csv")

0 commit comments

Comments
 (0)