Displaying 20 results from an estimated 300 matches similar to: "FileNotFoundException en RWeka"
2011 Apr 11
2
R en la web
Saludos colegas. Soy nuevo en R y me gustaría saber si es posible embeber código HTML en funciones R para hacer interfaces web. Es decir, lo que quiero hacer es una aplicación web que utilice R para el procesamiento estadístico de los datos y que me los grafique en la web. ¿Es posible hacer esto? . Saludos.
--
2011 May 19
2
Error en Rattle
Saludos colegas. Estoy utilizando el entorno rattle para probar algunas
tareas de minería de datos sobre un dataset. Sucede que desde hace unos
días cuando intento utilizar rattle me lanza el siguiente error:
*> rattle()
Error en ret[i, ] <- c(pkgs[i], lib, desc) :
número de items para para sustituir no es un múltiplo de la longitud
del reemplazo*
Llevo algún tiempo intentando
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
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
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 == "")
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
2005 Apr 15
1
Factor Analysis Biplot
Dear R help
I am having difficulty doing a biplot of the first two factors of a factor
analysis. I presume it is because the values in factor 2 for Milk and NUTS
are not displayed in the component loadings.
Loadings:
Factor1 Factor2
RedMeat 0.561 -0.112
WhiteMeat 0.593 -0.432
Eggs 0.839 -0.195
Milk 0.679
Fish 0.300 0.951
Cereals -0.902 -0.267
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
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 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
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).
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.
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),
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
2010 Oct 12
6
Rpart query
Hi,
Being a novice this is my first usage of R.
I am trying to use rpart for building a decision tree in R. And I have the
following dataframe
Outlook Temp Humidity Windy Class
Sunny 75 70 Yes Play
Sunny 80 90 Yes Don't Play
Sunny 85 85 No Don't Play
Sunny 72 95 No Don't Play
Sunny 69 70 No Play
Overcast 72 90 Yes Play
Overcast 83 78 No Play
Overcast 64 65 Yes Play
Overcast 81 75
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
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
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
2009 Jan 22
4
dimnames in pkg "ipred"
Hello List,
I`m trying to make prediction using a bagged tree with the package ipred. I tried to follow the manual but I`m getting an error message. Also browsing through the list-archive I didn`t find any hint.
Maybe someone can help me?
selbag <- bagging(SOIL_UNIT ~., data=traindat.bin, coob=TRUE)
Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :