Description Usage Arguments Value Examples
Compare different classification methods on multivariate data
1 2 3 |
x |
Data frame or matrix with multivariate data with n observations (rows) and p variables (cols) |
y |
A factor with the labels of the rows of x |
prob |
Percentage p for the split train-test data. (1-prob)% is used for testing. |
method |
Vector of the methods wanted. By default, "simple" gives you various lineal classifiers. Other possibilities are: - "log": Logistic or multinomial linear logistic regression via neural networks - "svm": Support Vector Machines with Radial Kernel - "knn": kNN with cross-validation choosing of K - "rforest": Random Forest - "simple": Trains "log", "svm", "knn" and "rforest". - "all": All implemented classifiers (time consuming) |
kfold |
Number of folds in the cross validation estimation |
cv.iter |
Number of iterations to do with cross validation. |
timing |
if TRUE, shows you prediction of executing time. Feel free to ask the models we use. |
Not yet
1 | Not yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.