October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to rank the variable importance with rminer:
> install.packages("rminer")
> library(rminer)
> model=fit(churn~.,trainset,model="svm")
> VariableImportance=Importance(model,trainset,method="sensv")
> L=list(runs=1,sen=t(VariableImportance$imp),sresponses= VariableImportance$sresponses)
> mgraph(L,graph="IMP",leg=names(trainset),col="gray",Grid=10)

Read now
Unlock full access