similar to: RWeka write.arff: set @relation

Displaying 20 results from an estimated 10000 matches similar to: "RWeka write.arff: set @relation"

2011 May 01
1
FileNotFoundException en RWeka
Saludos colegas. Estoy intentando cargar un archivo arff con el paquete RWeka pero me lanza el error FileNotFoundException cuando intento ejecutar la instrucción en R. Este es el código: datos<- read.arff(system.file("arff","cereals.arff", package = "RWeka")) El archivo cereals.arff y el script con el código R están en el mismo directorio, sin embargo, no me
2011 Dec 31
1
Reading large sparse arff files into R
Hi, I am trying to read in a large and highly sparse ARFF file into R which was produced by WEKA. However the package 'RWeka' just chokes on this file. The data set has about 40k observations and about 20k dimensions. Even after 1hr read.arff method of RWeka is still trying to read in the file, whereas WEKA is able to read it in in less than 20seconds. What are my options at this
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),
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 , but the
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 === === Confusion Matrix === a b <-- classified as 3512 603 | a = NoSpray
2011 Nov 20
0
write.arff function in package foreign can't handle Date time
Hi, x1 <- c(as.Date("20110101","%Y%m%d"),as.Date("2012-01-01","%Y-%m-%d")); x2 <- c("1","2"); ddf <- data.frame(x=x1,y=x2); ddf[["y"]] <- as.factor(ddf[["y"]]) write.arff(ddf, file="D:/ddf.arff") Content of ddf.arff is @relation ddf @attribute x numeric @attribute y
2006 Nov 22
0
Problem with RWeka-rJava packages
Hello: I´m trying to execute Apriori(file.arff) command of RWeka package. I´m working with: Operating System: Windows XP home R-2.4.0 RWeka_0.2-11 rJava_0.4-11 classpath= .;C:\Archivos de programa\Java\jdk1.5.0\lib;C:\Archivos de programa\R\R- 2.4.0\library\RWeka\jar An error occurs when .jnew command is executed, on class "weka/core/Instances" :
2008 Aug 20
1
Improvements to write.arff (PR#12574)
Full_Name: Martin C. Martin Version: 2.7.1 OS: Ubuntu Submission from: (NULL) (75.150.115.86) The function write.arff, in the foreign library: - Can produce relation names with invalid characters - Doesn't use colnames() for attribute names when writing a matrix. Here's a better version: write.arff <- function (x, file, eol = "\n") { if (file == "")
2015 Oct 22
0
alternative read.arff function for the package foreign
?Hello everyone, I guess this is really directed to the R Core Team, but I understand that this is the best channel to submit this (please correct me if I'm wrong!). I would like to submit a function to consideration, as an upgrade for the current read.arff in package foreign. Code in github: https://raw.githubusercontent.com/jumanbar/misc/master/R/read.arff.R This function is a modified
2010 Jul 30
0
help for creating arff file..i have the codes??
I need to create an arff file.i have the necesaary codes as two parts and i need to combine them..if there is anyone who can help i'll send the codes..thank you. -- View this message in context: http://r.789695.n4.nabble.com/help-for-creating-arff-file-i-have-the-codes-tp2308039p2308039.html Sent from the R help mailing list archive at Nabble.com.
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 thread "main"
2006 Mar 05
2
RWeka
Hi, I downloaded RWeka successfully. (At least I do not see, where I could have made a mistake.) Then I tried to load it by the library-command. To my surprise this did not work. Result: library(RWeka) Fehler in .jinit(c(system.file("jar", "weka.jar", package = "RWeka"), system.file("jar", : Cannot create Java Virtual Machine Fehler: .onLoad in
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
2009 Aug 15
1
Error in running RWeka Clusteres
Hi, I have a question about using RWeka Clusterers.If you could supply answer or insight, I would really appreciate it. When I run a simple code which uses a clusterer from RWeka I get an error. the sample codes and errors are mentioned below Code: library(RWeka) Cobweb(iris[,-5],control=NULL) Error: Error in names(class_ids) <- nms : 'names' attribute [150] must be the same
2010 Jun 16
1
Problems loading RWeka and rJava under R 2.10.1
Dear R-users, I am running R 2.10.1 under Windows XP Professional. Moreover, I run Java 5.0 and the RWeka package 0.4-1 and rJava 0.8-4. are successfully installed. I get two error messages while loading both packages. library(RWeka) Error in get(Info[i, 1], envir = env) : internal error -3 in R_decompress1 Error: package/namespace load failed for 'RWeka' 2:
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
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
2009 May 14
0
I can't install RWeka
If I want to install RWeka I get an error: > library("RWeka") Error occurred during initialization of VM java.lang.OutOfMemoryError: unable to create new native thread Could you have any idea to help me? -- View this message in context: http://www.nabble.com/I-can%27t-install-RWeka-tp23542141p23542141.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 18
0
RWeka memory problem
Hello, i get some memory problems using RWeka and i'm wondering because i have only ~ 400MB in RObjects without a high memory consuming operation when a crash occur. Look into hs_err_pid.log , it seems that the VM max heap size is only 512 mb. VM Arguments: jvm_args: -Xmx512m vfprintf exit java_command: <unknown> Launcher Type: generic I try to change with
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