fixing whitespace in Rmd so diff of errata is cleaner (#46)
* fixing whitespace in Rmd so diff of errata is cleaner * reapply kwargs fix
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# Linear Regression
|
# Linear Regression
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch03-linreg-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch03-linreg-lab.ipynb">
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Logistic Regression, LDA, QDA, and KNN
|
# Logistic Regression, LDA, QDA, and KNN
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch04-classification-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch04-classification-lab.ipynb">
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Cross-Validation and the Bootstrap
|
# Cross-Validation and the Bootstrap
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch05-resample-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch05-resample-lab.ipynb">
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# Linear Models and Regularization Methods
|
# Linear Models and Regularization Methods
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch06-varselect-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch06-varselect-lab.ipynb">
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Tree-Based Methods
|
# Tree-Based Methods
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch08-baggboost-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch08-baggboost-lab.ipynb">
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Support Vector Machines
|
# Support Vector Machines
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch09-svm-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch09-svm-lab.ipynb">
|
||||||
|
|||||||
@@ -1392,7 +1392,7 @@ We’ll now make a plot to compare our neural network results with the
|
|||||||
lasso.
|
lasso.
|
||||||
|
|
||||||
```{python}
|
```{python}
|
||||||
%%capture
|
# %%capture
|
||||||
fig, axes = subplots(1, 2, figsize=(16, 8), sharey=True)
|
fig, axes = subplots(1, 2, figsize=(16, 8), sharey=True)
|
||||||
for ((X_, Y_),
|
for ((X_, Y_),
|
||||||
data_,
|
data_,
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Survival Analysis
|
# Survival Analysis
|
||||||
|
|
||||||
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch11-surv-lab.ipynb">
|
<a target="_blank" href="https://colab.research.google.com/github/intro-stat-learning/ISLP_labs/blob/v2.2/Ch11-surv-lab.ipynb">
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ We can plot the PVE explained by each component, as well as the cumulative PVE.
|
|||||||
plot the proportion of variance explained.
|
plot the proportion of variance explained.
|
||||||
|
|
||||||
```{python}
|
```{python}
|
||||||
%%capture
|
# %%capture
|
||||||
fig, axes = plt.subplots(1, 2, figsize=(15, 6))
|
fig, axes = plt.subplots(1, 2, figsize=(15, 6))
|
||||||
ticks = np.arange(pcaUS.n_components_)+1
|
ticks = np.arange(pcaUS.n_components_)+1
|
||||||
ax = axes[0]
|
ax = axes[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user