Skip to content

Commit 8471962

Browse files
committed
again
1 parent af03771 commit 8471962

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

tutorials/deeplearning/deeplearning.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ plotC <- function(name, model, data=spiral, g=grid) {
7474
We build a few different models:
7575

7676
```r
77-
dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
77+
#dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
7878
par(mfrow=c(2,2)) #set up the canvas for 2x2 plots
7979
plotC( "DL", h2o.deeplearning(1:2,3,spiral,epochs=1e3))
8080
plotC("GBM", h2o.gbm (1:2,3,spiral))
@@ -85,7 +85,7 @@ plotC("GLM", h2o.glm (1:2,3,spiral,family="binomial"))
8585
Let's investigate some more Deep Learning models. First, we explore the evolution over training time (number of passes over the data), and we use checkpointing to continue training the same model:
8686

8787
```r
88-
dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
88+
#dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
8989
par(mfrow=c(2,2)) #set up the canvas for 2x2 plots
9090
epochs=1
9191
previous=epochs
@@ -104,10 +104,9 @@ for (epochs in c(200,500,1000)) {
104104
Now, we explore different network architectures:
105105

106106
```r
107-
dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
107+
#dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
108108
par(mfrow=c(2,2)) #set up the canvas for 2x2 plots
109109
for (hidden in list(c(11,13,17,19),c(42,42,42),c(200,200),c(1000))) {
110-
print(hidden)
111110
plotC( paste0("DL hidden=",paste0(hidden, collapse="x")),
112111
h2o.deeplearning(1:2,3,spiral,hidden=hidden,epochs=500))
113112
}
@@ -116,7 +115,7 @@ for (hidden in list(c(11,13,17,19),c(42,42,42),c(200,200),c(1000))) {
116115
Next, we compare between different activation functions, including one with 50% dropout regularization in the hidden layers:
117116

118117
```r
119-
dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
118+
#dev.new(noRStudioGD=FALSE) #direct plotting output to a new window
120119
par(mfrow=c(2,2)) #set up the canvas for 2x2 plots
121120
for (act in c("Tanh","Maxout","Rectifier","RectifierWithDropout")) {
122121
plotC( paste0("DL ",act," activation"),

0 commit comments

Comments
 (0)