From 12047056ae922020990bc7faad2ad5ad09b085e0 Mon Sep 17 00:00:00 2001 From: pommedeterresautee Date: Tue, 14 Apr 2015 00:39:51 +0200 Subject: [PATCH] Update vignette --- R-package/vignettes/discoverYourData.Rmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/R-package/vignettes/discoverYourData.Rmd b/R-package/vignettes/discoverYourData.Rmd index 9419a13ae..fa780ee94 100644 --- a/R-package/vignettes/discoverYourData.Rmd +++ b/R-package/vignettes/discoverYourData.Rmd @@ -313,7 +313,11 @@ However, in Random Forests™ this random choice will be done for each tree, bec In boosting, when a specific link between feature and outcome have been learned by the algorithm, it will try to not refocus on it (in theory it is what happens, reality is not always that simple). Therefore, all the importance will be on feature `A` or on feature `B` (but not both). You will know that one feature have an important role in the link between the observations and the label. It is still up to you to search for the correlated features to the one detected as important if you need to know all of them. -If you want to try Random Forests™ algorithm, you can tweak Xgboost parameters! For instance, to compute a model with 1000 trees, with a 0.5 factor on sampling rows and columns: +If you want to try Random Forests™ algorithm, you can tweak Xgboost parameters! + +**Warning**: this is still an experimental parameter. + +For instance, to compute a model with 1000 trees, with a 0.5 factor on sampling rows and columns: ```{r, warning=FALSE, message=FALSE} data(agaricus.train, package='xgboost') @@ -328,4 +332,6 @@ bst <- xgboost(data = train$data, label = train$label, max.depth = 4, num_parall bst <- xgboost(data = train$data, label = train$label, max.depth = 4, nround = 3, objective = "binary:logistic") ``` +> Note that the parameter `round` is set to `1`. + > [**Random Forests™**](https://www.stat.berkeley.edu/~breiman/RandomForests/cc_papers.htm) is a trademark of Leo Breiman and Adele Cutler and is licensed exclusively to Salford Systems for the commercial release of the software. \ No newline at end of file