similar to: About classifier in RWeka

Displaying 20 results from an estimated 100 matches similar to: "About classifier in RWeka"

2010 Aug 10
1
Why use numFold in evaluate_Weka_classifier of RWeka
Hi everyone, 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
2010 Aug 04
0
RWeka problem: java.lang.NoSuchMethodError
Hi, I'm trying to use RWeka and followed the following example from the RWeka manual. ============ ## Use 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),
2009 Jun 17
1
RWeka evaluate classifier on test set
Hi everyone, I have a test set with more than 1000 cases, when I use evaluate_Weka_classifier(RWeka)to evaluate my classifier on this test set, the output shows me the result of only 83 cases. I do have missing values in predictors, so I tried na.acton=na.pass, but it dosen't help. Now I confused, why RWeka ignore so many cases in my test set? Is there any setting I didn't notice in
2010 Sep 15
1
running 'make' failed during vignette creation ('R CMD build') on Windows
Hi, This is a follow-up to the problem reported here: https://stat.ethz.ch/pipermail/r-devel/2010-September/058460.html After I updated R-2.12 to 2010-09-13 r52905 on the Bioc build system, some of the packages that have a Makefile in <pkg>/inst/doc still don't build on Windows. For example, 'R\bin\R.exe CMD build adSplit' gives: * checking for file
2011 Sep 07
1
Fwd: FSelector and RWeka problem
Hi all, Although I sent the mail to Piotr, the author of FSelector, it should be better to ask here to let others know. Yanwei Begin forwarded message: From: Yanwei Song <yanwei.song@gmail.com> Date: September 7, 2011 4:41:58 PM EDT To: p.romanski@stud.elka.pw.edu.pl Subject: FSelector and RWeka problem Dear Piotr, Thanks for developing the FSelector package for us. I'm a new
2010 Oct 19
0
RWeka - Error in model.frame.default - evaluate_Weka_classifier
Hi, First of all, I'm a complete rookie to R (~2 weeks). But anyway, I'm trying to use the RWeka interface for C4.5 (J48) classification. As a proof of concept I'm using the Iris data set to create a training set of 30 instances (10 per species) and use the remaining 120 instances as my test set. This is what I do: trainingIndices <- rep(1:10, 3) + rep(0:2, each=10) * 50
2008 Nov 12
1
what does negative indexing in a matrix mean?
Hi, Does anyone know what the negative indexing of a matrix mean? I am using the RWeka and this evaluate classifier does not work on new data like this e <- evaluate_Weka_classifier(m1235,newdata=XW4, complexity = FALSE,class = FALSE) while it work with negative indexing: e <- evaluate_Weka_classifier(m1235,newdata=XW4[,-2], complexity = FALSE,class = FALSE) Although I
2008 Nov 12
1
what does negative indexing in a matrix mean?
Hi, Does anyone know what the negative indexing of a matrix mean? I am using the RWeka and this evaluate classifier does not work on new data like this e <- evaluate_Weka_classifier(m1235,newdata=XW4, complexity = FALSE,class = FALSE) while it work with negative indexing: e <- evaluate_Weka_classifier(m1235,newdata=XW4[,-2], complexity = FALSE,class = FALSE) Although I
2008 Sep 26
1
RWeka on R-2.7.2___Can't evaluate classifier on test set
Hi, Everyone, I just installed R-2.7.2 on my computer and then installed package RWeka, version 0.3-13. I noticed that when using command "evaluate_Weka_Classifier", with parameter "newdata=", it still evaluated on training data. Does anyone else noticed this? My older version of R-2.6.1 with RWeka 0.3-9 worked fine on the same computer. Bin
2009 Dec 02
0
RWeka problem with WrapperSubsetEval
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:
2010 Apr 07
1
RWeka - Error when attempting to summary() model
I'm a big fan of both Weka and R (quite new at R :) ), and jumped at the chance to use them together. Unfortunately, I'm running into what is probably a dumb error when trying to view info about my model. A Google search turned up 0 hits for the actual error I got (last line), but you all are smarter! My code is below, but basically my data frame (q) is imported via RODBC and has 1586
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(VirtReg, PhysReg); } else { // No
2011 Apr 12
0
cross-validation complex model AUC Nagelkerke R squared code
Hi there, I really tried hard to understand and find my own solution, but now I think I have to ask for your help. I already developed some script code for my problem but I doubt that it is correct. I have the following problem: Image you develop a logistic regression model with a binary outcome Y (0/1) with possible preditors (X1,X2,X3......). The development of the final model would be
2011 Nov 13
1
libary(Rweka) J48 design tree
Hello everybody I'm having some difficulties to design the decision tree algorithm J48. I am using the following code and when I run it gives me the following message plot(m1) Error in plot.Weka_tree(m1) : Plotting of trees with multi-way splits is currently not implemented. #The code library(RWeka) library(randomForest) library(party) if(require(mlbench, quietly = TRUE) &&
2007 Nov 27
1
Questions on RWeka classifiers?
Hi, I am using some classifiers in RWeka packages and met a couple problems. (1) J48 implements C45 classifier, the C45 should be able to handle missing values in both training set and test set. But I found the J48 classifier can not be evaluated on test set with missing values--it just ignore them. (2) The ensemble classifiers in RWeka such as bagging and boosting: there is a
2011 Feb 21
1
J48 / Transform from numeric to nominal
Hi everyone, I am new to field of data mining as well as particularly using R respectively RWeka for writing my master thesis. I intend to create some specific J48 classification trees with the RWeka_classifiers_tree function. When I run the source code it says ?cannot handle numeric class?. I therefore checked the arff-file and indeed there it says that the class variable is numeric although it
2010 Sep 26
4
How to update an old unsupported package
Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and will not work. How can I tweak the package so it will run on 11.1? It was a one-off product and has not been maintained. Is there a way to "unpackage" it and repackage it to work? I
2007 Nov 28
0
Questions on RWeka classifiers
Hi, I am using some classifiers in RWeka packages and met a couple problems. (1) J48 implements C45 classifier, the C45 should be able to handle missing values in both training set and test set. But I found the J48 classifier can not be evaluated on test set with missing values--it just ignore them. (2) The ensemble classifiers in RWeka such as bagging and boosting: there is a
2009 Apr 26
2
RWeka prediction
Dear All,I encountered a problem when I use RWeka for prediction. Specifically, I use the following: res=J48(X1~.,data=mydata); predict(res), #it worked fine but when I tried to use a different data set, i.e. predict(res,newdata=mynewdata); all the predictions I get is 0, which apparently is problematic. What is weird is, if I use the old data, but use the newdata option, i.e.
2008 Dec 29
2
dudas
Quer?a saber si existe alguna funci?n de R para realizar el algoritmo CHAID de ?rbol de clasificaci?n, existen de J48 por ejemplo pero no encuentro nada de este algor?tmo. Muchas gracias y un cordial saludo, Juan -- ========================================================= Juan Antonio Gil Pascual Prof. Titular de M?todos de Investigaci?n en Educaci?n correo: jgil at edu.uned.es web: