Skip to content

Commit 1116717

Browse files
Update dhfr-parallel-speed-up.R
1 parent d8de540 commit 1116717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dhfr/dhfr-parallel-speed-up.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TestingSet <- dhfr[-TrainingIndex,] # Test Set
3232
start.time <- proc.time()
3333
Model <- train(Y ~ .,
3434
data = TrainingSet, # Build model using training set
35-
method = "svmPoly" # Learning algorithm
35+
method = "rf" # Learning algorithm
3636
)
3737
stop.time <- proc.time()
3838
run.time <- stop.time - start.time
@@ -51,7 +51,7 @@ registerDoParallel(cl)
5151
start.time <- proc.time()
5252
Model <- train(Y ~ .,
5353
data = TrainingSet, # Build model using training set
54-
method = "svmPoly" # Learning algorithm
54+
method = "rf" # Learning algorithm
5555
)
5656
stop.time <- proc.time()
5757
run.time <- stop.time - start.time

0 commit comments

Comments
 (0)