search for: weka

Displaying 20 results from an estimated 79 matches for "weka".

Did you mean: weak
2009 Dec 01
2
problem with RWeka Weka_control RandomForest
Dear All, I am finding trouble trying to guild a Wrapper using random forest to evaluate the subsets: I do: nombi <- make_Weka_filter("weka/filters/supervised/attribute/AttributeSelection") datbin<- nombi(gene ~., data=X1X2X4X5W, control =Weka_control( S=list("weka.attributeSelection.GeneticSearch"), E=list("weka.attributeSelection.WrapperSubsetEval"),B = list("weka.classifiers.trees....
2006 Mar 03
1
Java related (?) problems with RWeka
Hello all, I am attempting to run an R script that makes use of RWeka. I am running SuSE Linux 9.3 with Java 1.5.0_06, R version 2.2.1, Weka 3-4-7, and Rweka 0.2-1. CLASSPATH="/usr/local/weka-3-4-7/weka.jar:/usr/local/JGR/JGR.jar" I receive the error: NewObject("weka/core/Instances","(Ljava/io/Reader;)V",...) failed Exception in thre...
2012 Feb 09
1
Tr: Re: how to pass weka classifier options with a meta classifier in RWeka?
Le jeudi 09 f?vrier 2012 ? 15:31 +0200, Kari Ruohonen a ?crit : > Hi, > I am trying to replicate a training of AttributeSelectedClassifier with > CFsSubsetEval, BestFirst and NaiveBayes that I have initially done with > Weka. Now, I am trying to use RWeka in R. > > I have a problem of passing arguments to the CfsSubsetEval, BestFirst > and NaiveBayes. I have first created an interface for the classifier > with: > > AS<-make_Weka_classifier("weka/classifiers/meta/AttributeSelectedClassifier&q...
2008 Jul 02
1
Usage of rJava (.jcall) with Weka functions, any example?
Dear All, I'd like to use Weka functions that are not implemented (do not have interface) in RWeka, like the Remove function and others in the future! The .java() functionality is for that purpose but I haven't seen any example with Weka functions. Could anyone give me hand in how to do it? For instace if I want to use the...
2012 Nov 08
0
FW: Interfacing R and Weka
-----Original Message----- From: Patrick Connolly Sent: Friday, 9 November 2012 11:29 a.m. To: Peter Alspach Subject: Interfacing R and Weka > version _ platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 15.2 year 2012 month 10 day 26 svn rev 61015 language R version.st...
2007 Jul 11
2
RWeka control parameters classifiers interface
Hello, I have some trouble in achieving the desired parametrisation for the weka classifier functions, using the package RWeka. The problem is, that the functions result=classifier(formula, data, subset, na.action, control = Weka_control(mycontrol)) do not seem to be manipulated by the mycontrol- arguments Perhaps this should be resepected via the handlers- argument ,...
2007 Aug 11
1
R Weka and cobweb
Hi, I never use cobweb before and I'm quite new to this. I have a couple of questions around the cobweb implementation in R Weka. If you could supply answer or insight, I would really appreciate. 1. From Fisher's paper in 1987, it seems that Cobweb only deals with nominal data. In R Weka cobweb, is it allowed to accommodate real/continuous value? 2. My understanding is that Cobweb clusters based on Category Utility func...
2005 Feb 07
1
R or weka
Hi, guys: These days I keep using R and Weka to do data mining. I think my next step is open the source codes so that I can "customrize them" and make them better server my purpose. But now I kinda hesitate to do so b/c I am really not sure which is better to start with. You know, both require some time and I cannot clone myself to...
2012 Nov 12
0
Weka on command line c.f. using RWeka
Running Weka's command line with calls to system(), like this > system("java weka.classifiers.bayes.NaiveBayes -K -t HWlrTrain.arff -o") === Confusion Matrix === a b <-- classified as 3518 597 | a = NoSpray 644 926 | b = Spray === Stratified cross-validation === ===...
2013 Mar 23
1
RWeka and Back Propagation NN
Hello, I have a trained Back Propagation Neural Network model in weka. I would like to re-evaluate the NN using R with a given input. How can I do this? I could not find an example of RWeca that applies to NN Thanks, Rui
2007 Aug 01
1
RWeka cross-validation and Weka_control Parametrization
Hello, I have two questions concerning the RWeka package: 1.) First question: How can one perform a cross validation, -say 10fold- for a given data set and given model ? 2.) Second question What is the correct syntax for the parametrization of e.g. Kernel classifiers interface m1 <- SMO(Species ~ ., data = iris, control = Weka_control(...
2004 Mar 08
3
Decision Trees
...packages for classification and regression trees. However, quite a bit of the research in the transportation community relating to decision trees uses the C4.5 family of algorithms by Quinlan. Are there any plans to make a C4.5 (or a derivative of it) available to R? If not, then I might use the WEKA Java package ( http://www.cs.waikato.ac.nz/ml/weka) that implements a Java version of C4.5. Thanks. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104
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...
2011 Aug 03
0
Rattle loading String to Vector file from WEKA
Hi all, I have been using WEKA to do some text classification work and I want to try out R. The problem is I cannot load the String to Vector ARFF files created by WEKA's string parser into Rattle . Looking at the logs I get something like: /Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :...
2011 Oct 05
2
experimenting (like Weka Experimenter)
Hi. I am not that good at R but I was wondering if there is either a tool or a strategy for testing many different models in R in a batch. I have used something in Weka called the Experimenter interface which helps with doing this kind of thing. Thank you. Andy [[alternative HTML version deleted]]
2008 Dec 09
4
Pre-model Variable Reduction
...ave information about the dependent variable, and have only the X variables as it were. In selecting variables I wish to keep, I have considered the following criteria. 1) Percentage of missing value in each column/variable 2) Variance of each variable, with a cut-off value. I recently came across Weka and found that there is an RWeka package which would allow me to make use of Weka through R. Weka provides a "Genetic search" variable reduction method, but I could not find its R code implementation in the RWeka Pdf file on CRAN. I looked for other R packages that allow me to do variabl...
2009 Jan 07
1
Question about the RWEKA package
Dear List, I´m trying to implement the functionalities from WEKA into my modeling project in R through the RWeka package. In this context I have a slightly special question about the filters implemented in WEKA. I want to convert nominal attributes with k values into k binary attributes through the NominalToBinary filter ("weka.filters.supervised.attribute....
2008 Oct 16
4
How to save/load RWeka models into/from a file?
Hi, I want to save a RWeka model into a file, in order to retrive it latter with a load function. See this example: library(RWeka) NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayes") model<-NB(formula,data=data,...) # does not run but you get the idea save(model,file="model.dat") #...
2009 Apr 23
2
RWeka: How to access AttributeEvaluators
Hi, I'm trying to use Information Gain for feature selection. There is a InfoGain implementation in Weka: *weka.attributeSelection.InfoGainAttributeEval* Is it possible to use this function with RWeka? If yes how? list_Weka_interfaces doesn't show it and there is no make function for AttributeEvaluators. Is there any other implementation of InformationGain in R? Thank you Michael Olschimke MS...
2011 Mar 15
0
Two issues: WEKA code in R // Probability Estimation Tree algorithms
Hi everyone, this email basically pursues two distinct main goals. I appreciate any help! First of all I was wondering if there is any possibility to get WEKA files (coded in Java) to run in R respectively RWeka. I first considered if it was possible with the Weka_interface implemented in RWeka but apparently it is not. Is there any way? Secondly I am looking for implementations to produce probabilities via Probability Estimation Trees. First results c...