Skip to content

Commit

Permalink
Recreate all files (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gedeck committed Jul 28, 2020
1 parent 1ff2228 commit 49d6e31
Show file tree
Hide file tree
Showing 29 changed files with 2,280 additions and 2,625 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

# Import required R packages.

# lmPerm is available from CRAN
# conda install r-devtools
devtools::install_github('mtorchiano/lmPerm')
# devtools::install_github('mtorchiano/lmPerm')

library(ggplot2)
library(dplyr)
Expand Down
2 changes: 1 addition & 1 deletion R/code/Chapter 5 - Classification.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

# Import required R packages.

library(klaR)
library(MASS)
library(dplyr)
library(ggplot2)
library(FNN)
library(mgcv)
library(rpart)
library(klaR)

# Define paths to data sets. If you don't keep your data in the same directory as the code, adapt the path names.

Expand Down
6 changes: 4 additions & 2 deletions R/code/Chapter 7 - Unsupervised Learning.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ graph
ca_analysis <- ca(housetasks)
plot(ca_analysis)

# install.packages("ggrepel")
library(ggrepel)
if (!require(ggrepel)) {
install.packages('ggrepel')
library(ggrepel)
}

ca_analysis$sv ** 2
summary(ca_analysis)
Expand Down
263 changes: 80 additions & 183 deletions R/notebooks/Chapter 1 - Exploratory Data Analysis.ipynb

Large diffs are not rendered by default.

427 changes: 337 additions & 90 deletions R/notebooks/Chapter 2 - Data and sampling distributions.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 49d6e31

Please sign in to comment.