Dear all,


I am trying to construct a wrapper that uses random forest to evaluate
the subsets using RWeka and when I do:



nombi <- make_Weka_filter("weka/attributeSelection/WrapperSubsetEval")

datbin<- nombi(gene ~., data=X1X2X3X4W,  control =Weka_control( B =
list("weka.classifiers.trees.RandomForest")))



I also have tried with an other induction algorithm:

datbin<- nombi(gene ~., data=X1X2X3X4W,  control =Weka_control(
B=list("weka.classifiers.trees.j48.J48 -F 5 -T 0.01 -S 1 -- -C 0.25 -M
2")))



and in both cases I get the following error:



Error in .jcall(filter, "Z", "setInputFormat", instances) :

  method setInputFormat with signature (Lweka/core/Instances;)Z not
found



Thanks in advance,

Itziar Frades


 

 

 



This e-mail is from CIC bioGUNE. The e-mail and any files transmitted with it 
are confidential and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised dissemination or copying of this 
e-mail or its attachments, and any use or disclosure of any information 
contained in them, is strictly prohibited and may be illegal. If you have 
received this e-mail in error, please notify or telephone + 34 944 06 13 00 and 
delete it from your system.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to