similar to: Weka on command line c.f. using RWeka

Displaying 20 results from an estimated 100 matches similar to: "Weka on command line c.f. using RWeka"

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, : scan() expected 'a real', got '2281}'/ *My ARFF
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
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 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
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
2005 Jul 20
0
writing matrices (no subject)
Simply gooling for "writing ARFF file in R" gave the following as first hit, which is right on the WEKA page: Miscellaneous code [...] Function for reading ARFF files into the R statistical package (kindly provided by Dr Craig Struble). Function for writing ARFF files from the R statistical package (kindly provided by Nigel Sim).
2008 Apr 21
1
R-2.7.0 RC (2008-04-20 r45403) fails fullcheck
A strange thing happened. After installing the most recent RC version of 2.7 (2008-04-20 r45403) I compiled it as usual with no errors. After installing it I ran "make fullcheck". I got as far as testing recommended packages and I got the following: ... -------- Testing package foreign -------- Running examples in 'foreign-Ex.R' ... Comparing `foreign-Ex.Rout' to
2009 Jun 05
0
RWeka write.arff: set @relation
Dear all, I am using the RWeka package to append several arff files. Although it works the resulting arff files always have "@relation R_data_frame", and I have to change this manually to my desired relation name. Can the package accomplish this for me instead? Thank you, Wil Koetsier
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.
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 == "")
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 Mar 08
2
Regarding randomForest regression
Sir, This query is related to randomForest regression using R. I have a dataset called qsar.arff which I use as my training set and then I run the following function - rf=randomForest(x=train,y=trainy,xtest=train,ytest=trainy,ntree=500) where train is a matrix of predictors without the column to be predicted(the target column), trainy is the target column.I feed the same data
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 Jan 04
0
Rattle 2.4.0 (Data Mining GUI using R)
Version 2.4.0 of Rattle has been released to CRAN. The rattle package (http://rattle.togaware.com) is a multi platform (GNU/Linux, Mac/OSX, MS/Windows) GTK based GUI for data mining (for exploring data and building descriptive and predictive models). It has undergone a lot of development over the past year. A companion book introducing data mining using Rattle is under development, with a draft
2009 Jan 04
0
Rattle 2.4.0 (Data Mining GUI using R)
Version 2.4.0 of Rattle has been released to CRAN. The rattle package (http://rattle.togaware.com) is a multi platform (GNU/Linux, Mac/OSX, MS/Windows) GTK based GUI for data mining (for exploring data and building descriptive and predictive models). It has undergone a lot of development over the past year. A companion book introducing data mining using Rattle is under development, with a draft
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" :
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
2006 Feb 02
0
crossvalidation in svm regression in e1071 gives incorre ct results (PR#8554)
1. This is _not_ a bug in R itself. Please don't use R's bug reporting system for contributed packages. 2. This is _not_ a bug in svm() in `e1071'. I believe you forgot to take sqrt. 3. You really should use the `tot.MSE' component rather than the mean of the `MSE' component, but this is only a very small difference. So, instead of spread[i] <- mean(mysvm$MSE), you
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