rf_clf.pairwise | R Documentation |
Perform pairwise rf classfication for a data matrix between all pairs of group levels
rf_clf.pairwise(df, f, nfolds = 3, ntree = 5000, verbose = FALSE)
df |
A data matrix or data.frame |
f |
A factor with more than two levels. |
nfolds |
The number of folds in the cross validation. |
ntree |
The number of trees. |
verbose |
The boolean value indicating if the computation status and estimated runtime shown. |
A summary table containing the performance of Random Forest classification models
Shi Huang
ranger
df <- t(rmultinom(16,160,c(.001,.6,.2,.3,.299))) + 0.65 f<-factor(c(rep("A", 4), rep("B", 4), rep("C", 4), rep("D", 4))) f0<-factor(c(rep("A", 8), rep("B", 8))) rf_clf.pairwise(df, f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.