Skip to content

Commit ae5d5e0

Browse files
committed
update
1 parent a7b6575 commit ae5d5e0

File tree

14 files changed

+5348
-129
lines changed

14 files changed

+5348
-129
lines changed

doc/pub/week39/html/week39-reveal.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ <h2 id="code-example-for-cross-validation-and-k-fold-cross-validation">Code Exam
808808
plt.figure()
809809

810810
plt.plot(np.log10(lambdas), estimated_mse_sklearn, label = <span style="color: #CD5555">&#39;cross_val_score&#39;</span>)
811-
plt.plot(np.log10(lambdas), estimated_mse_KFold, <span style="color: #CD5555">&#39;r--&#39;</span>, label = <span style="color: #CD5555">&#39;KFold&#39;</span>)
811+
<span style="color: #228B22">#plt.plot(np.log10(lambdas), estimated_mse_KFold, &#39;r--&#39;, label = &#39;KFold&#39;)</span>
812812

813813
plt.xlabel(<span style="color: #CD5555">&#39;log10(lambda)&#39;</span>)
814814
plt.ylabel(<span style="color: #CD5555">&#39;mse&#39;</span>)
@@ -1192,7 +1192,6 @@ <h2 id="simple-example">Simple example </h2>
11921192
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">sklearn.metrics</span> <span style="color: #8B008B; font-weight: bold">import</span> mean_squared_error
11931193
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">IPython.display</span> <span style="color: #8B008B; font-weight: bold">import</span> display
11941194
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">pylab</span> <span style="color: #8B008B; font-weight: bold">import</span> plt, mpl
1195-
plt.style.use(<span style="color: #CD5555">&#39;seaborn&#39;</span>)
11961195
mpl.rcParams[<span style="color: #CD5555">&#39;font.family&#39;</span>] = <span style="color: #CD5555">&#39;serif&#39;</span>
11971196

11981197
<span style="color: #228B22"># Where to save the figures and data files</span>

doc/pub/week39/html/week39-solarized.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ <h2 id="code-example-for-cross-validation-and-k-fold-cross-validation">Code Exam
816816
plt.figure()
817817

818818
plt.plot(np.log10(lambdas), estimated_mse_sklearn, label = <span style="color: #CD5555">&#39;cross_val_score&#39;</span>)
819-
plt.plot(np.log10(lambdas), estimated_mse_KFold, <span style="color: #CD5555">&#39;r--&#39;</span>, label = <span style="color: #CD5555">&#39;KFold&#39;</span>)
819+
<span style="color: #228B22">#plt.plot(np.log10(lambdas), estimated_mse_KFold, &#39;r--&#39;, label = &#39;KFold&#39;)</span>
820820

821821
plt.xlabel(<span style="color: #CD5555">&#39;log10(lambda)&#39;</span>)
822822
plt.ylabel(<span style="color: #CD5555">&#39;mse&#39;</span>)
@@ -1190,7 +1190,6 @@ <h2 id="simple-example">Simple example </h2>
11901190
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">sklearn.metrics</span> <span style="color: #8B008B; font-weight: bold">import</span> mean_squared_error
11911191
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">IPython.display</span> <span style="color: #8B008B; font-weight: bold">import</span> display
11921192
<span style="color: #8B008B; font-weight: bold">from</span> <span style="color: #008b45; text-decoration: underline">pylab</span> <span style="color: #8B008B; font-weight: bold">import</span> plt, mpl
1193-
plt.style.use(<span style="color: #CD5555">&#39;seaborn&#39;</span>)
11941193
mpl.rcParams[<span style="color: #CD5555">&#39;font.family&#39;</span>] = <span style="color: #CD5555">&#39;serif&#39;</span>
11951194

11961195
<span style="color: #228B22"># Where to save the figures and data files</span>

doc/pub/week39/html/week39.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ <h2 id="code-example-for-cross-validation-and-k-fold-cross-validation">Code Exam
893893
plt<span style="color: #666666">.</span>figure()
894894

895895
plt<span style="color: #666666">.</span>plot(np<span style="color: #666666">.</span>log10(lambdas), estimated_mse_sklearn, label <span style="color: #666666">=</span> <span style="color: #BA2121">&#39;cross_val_score&#39;</span>)
896-
plt<span style="color: #666666">.</span>plot(np<span style="color: #666666">.</span>log10(lambdas), estimated_mse_KFold, <span style="color: #BA2121">&#39;r--&#39;</span>, label <span style="color: #666666">=</span> <span style="color: #BA2121">&#39;KFold&#39;</span>)
896+
<span style="color: #408080; font-style: italic">#plt.plot(np.log10(lambdas), estimated_mse_KFold, &#39;r--&#39;, label = &#39;KFold&#39;)</span>
897897

898898
plt<span style="color: #666666">.</span>xlabel(<span style="color: #BA2121">&#39;log10(lambda)&#39;</span>)
899899
plt<span style="color: #666666">.</span>ylabel(<span style="color: #BA2121">&#39;mse&#39;</span>)
@@ -1267,7 +1267,6 @@ <h2 id="simple-example">Simple example </h2>
12671267
<span style="color: #008000; font-weight: bold">from</span> <span style="color: #0000FF; font-weight: bold">sklearn.metrics</span> <span style="color: #008000; font-weight: bold">import</span> mean_squared_error
12681268
<span style="color: #008000; font-weight: bold">from</span> <span style="color: #0000FF; font-weight: bold">IPython.display</span> <span style="color: #008000; font-weight: bold">import</span> display
12691269
<span style="color: #008000; font-weight: bold">from</span> <span style="color: #0000FF; font-weight: bold">pylab</span> <span style="color: #008000; font-weight: bold">import</span> plt, mpl
1270-
plt<span style="color: #666666">.</span>style<span style="color: #666666">.</span>use(<span style="color: #BA2121">&#39;seaborn&#39;</span>)
12711270
mpl<span style="color: #666666">.</span>rcParams[<span style="color: #BA2121">&#39;font.family&#39;</span>] <span style="color: #666666">=</span> <span style="color: #BA2121">&#39;serif&#39;</span>
12721271

12731272
<span style="color: #408080; font-style: italic"># Where to save the figures and data files</span>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)