Description Usage Arguments Examples
Using function InfoGainAttributeEval from Rweka to evaluate the worth of an attribute by measuring the information gain with respect to the class.
1 | plotGain(trainset, num)
|
trainset |
The training data set. |
num |
The number of top features based on the entropy value can be display in figure. |
1 2 3 4 5 | ##Loading example data
rice_model<- load(system.file("data","rice_model.Rdata",package = "AStrap"))
library(RWeka)
library(ggplot2)
plotGain(trainset,20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.