Created
May 15, 2017 19:17
-
-
Save earino/5daca8e4ef12a55df9caaef7457718fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> system.time({ caret.model <- train(carat ~ depth + table + price + x + y + z, data=diamonds, distribution="gaussian", method="gbm", trControl = trainControl(method="none", number=1), tuneLength=1, verbose=FALSE)}) | |
user system elapsed | |
1.108 0.060 1.188 | |
> system.time({ model <- gbm(carat ~ depth + table + price + x + y + z, data=diamonds, distribution="gaussian")}) | |
user system elapsed | |
0.818 0.026 0.856 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment