Description Usage Arguments Value Author(s) Examples
View source: R/ForestDisc_functions.R
Extraction of the splits learned by random forest regarding continuous predictors.
1  | Extract_cont_splits(SelectedTREES)
 | 
SelectedTREES | 
 The output of the function RF2Selectedtrees()  | 
List with 2 components:
continuous_var  | 
 Vector of continuous predictors.  | 
continuous_splits  | 
 Data frame of splits learned by random forest algorithm regarding continuous predictors.  | 
Haddouchi Maïssae
1 2 3 4 5 6 7 8 9  | data(iris)
Mydata=iris
id_target=5
set.seed(1234)
X=Mydata[,1:(id_target-1)]
Y=Mydata[,id_target]
ntree=50
RFTREES=RF2Selectedtrees(X,Y,ntree)
RFCONTSPLITS=Extract_cont_splits(RFTREES)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.