Description Usage Arguments Details Value Author(s) Examples
The algorithm finds weights of attributes using RandomForest algorithm.
1 | random.forest.importance(formula, data, importance.type = 1)
|
formula |
a symbolic description of a model |
data |
data to process |
importance.type |
either 1 or 2, specifying the type of importance measure (1=mean decrease in accuracy, 2=mean decrease in node impurity) |
This is a wrapper for importance.
a data.frame containing the worth of attributes in the first column and their names as row names
Piotr Romanski
1 2 3 4 5 6 7 8 |
OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
attr_importance
V1 -0.9326472
V2 5.3516958
V3 24.6220111
V4 73.3759457
V5 20.8561550
V6 0.1323011
V7 7.6021927
V8 10.6786898
V9 8.1278928
V10 0.9014629
V11 18.9199869
V12 13.3975239
V13 14.1095754
V14 14.3725155
V15 9.6665340
V16 -4.8176872
Class ~ V4 + V3 + V5 + V11 + V14
<environment: 0x2daf720>
Warning message:
system call failed: Cannot allocate memory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.