Displaying 4 results from an estimated 4 matches for "numfold".
Did you mean:
numfolds
2010 Aug 10
1
Why use numFold in evaluate_Weka_classifier of RWeka
...I have a question about using RWeka package?
we know that instruction make_Weka_classifier that can help
us to build a model,and evaluate_Weka_classifier instruction
can help us to evaluate the performance of the model using on new data.
But I have a question about how to using the parameter numFold in
evaluate_Weka_classifier.Cross-validation means that using some parts
to train our data,and some parts to do test,but it should be using in
the step of building our model not evaluation.
I try to think about the numFold=n in the evaluate_Weka_classifier may be this:
randomly(but in propor...
2008 Feb 07
1
[LLVMdev] [PATCH] fix warning: 'NumFolded' defined but not used
lib/CodeGen/RegAllocLocal.cpp:38: warning: 'NumFolded' defined but not used
This has been introduced because of r46821.
However, maybe removing just the variable isn't enought,
because the comments in the section that got modified
by 46821 are not optimal:
if (PhysReg) { // Register is available, allocate it!
assignVirtToPhysReg(V...
2009 Jun 04
1
About classifier in RWeka
Hi everyone,
I have trouble to use RWeka, I tried: (w=weather dataset, all
preditors are nominal)
> m<-J48(play~., data=w)
> e<-evaluate_Weka_classifier(m,cost = matrix(c(0,2,1,0),
+ ncol = 2),numFolds = 10, complexity = TRUE,seed = 123,
+ class = TRUE)
it gives me exactly what I want, but when I tried the same classifier
on the other published data: (iris dataset has all numeric preditors)
> m<-J48(Species~., data=iris)
> e <- evaluate_Weka_classifier(m,
+ cost = matrix(c(0,2,1,0...
2010 Aug 04
0
RWeka problem: java.lang.NoSuchMethodError
...se some example data.
w <- read.arff(system.file("arff","weather.nominal.arff",
package = "RWeka"))
## Identify a decision tree.
m <- J48(play~., data = w)
m
## Use 10 fold cross-validation.
e <- evaluate_Weka_classifier(m,
cost = matrix(c(0,2,1,0), ncol = 2),
numFolds = 10, complexity = TRUE,
seed = 123, class = TRUE)
e
summary(e)
e$details
============
But executing "J48(play~., data = w)" generates the following error:
======
Error in .jnew("weka/core/Attribute", attname[i], .jcast(levels,
"java/util/List")) :
java.lang.NoSuc...