Questions tagged [rweka]

RWeka - R package which makes Weka functions accessible

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics. Weka is an open source machine learning library written in Java. RWeka is a package for R that provides an interface to most Weka functions so that they are accessible in R.

104 questions
1
vote
0 answers

J48 running in parallel

library(foreach) library(doParallel) data (iris) ### 18 sub datasets N<-18 iris_dataset<-list() for (i in 1:N) {iris_dataset[[i]]<-iris[sample(1:10, 1):sample(75:150, 1),]} j48_c.models <-list() cl<-makeCluster(8) …
Avi
  • 2,247
  • 4
  • 30
  • 52
1
vote
1 answer

Unable to use FSelector package in R on mac OS X El Capitan

I'm using OS X El Capitan Version 10.11.3 now. When I tried to use library(FSelector) in R, errors pop out saying: JavaVM: requested Java version ((null)) not available. Using Java at "" instead. JavaVM: Failed to load JVM:…
Yan
  • 499
  • 6
  • 20
1
vote
1 answer

RWeka J48 Classification issue in R and MovieLense data sets

I wanna classify Movielense users table demographic data but the result of J48 is weird, I classify my data with C5.0 and every thing was fine But I must work on this algorithm (j48) structure of my data is like below $ user_id : int 1 2 3 4 5 6…
Amir Fahmideh
  • 255
  • 2
  • 11
1
vote
0 answers

What is the interpretation of the plot boxes of Logistic Model Tree (LMT) outcome in the RWeka package in r?

Im working on a user classification with 5 known groups (observations approximatly equally divided over groups). I have information about these users (like age, living area ...) and try to find the characteristics that identify the users in each…
1
vote
2 answers

Java Application not running on OS X Yosemite

After installing OS X Yosemite, one of my Java Applications stopped running. The message was that I needed JAVA SE 6 Runtime. Exactly as in Eclipse Kepler for OS X Mavericks request Java SE 6 I did as user Nikolas suggested and apparently had the…
Bicudo
  • 113
  • 2
  • 9
1
vote
0 answers

RWeka IBk (KNN) CV Evaluation output missing

I have a dataset Auto, whose class label is called mpg01, which is a binary variable. I'm using the following code to train and cross validate the model: classifier <- IBk(Auto$mpg01 ~ Auto$displacement + Auto$horsepower + …
J Freebird
  • 3,664
  • 7
  • 46
  • 81
0
votes
0 answers

Yearly Forecasting in WEKA ,

I am doing timeseries forecasting on energy consumption dataset. i have data in yearly format for 6 years. i have converted my file to csv and installed Forecast package in weka. When i am trying to forecast my Energy column by selecting timestamp…
Sidra Khan
  • 11
  • 2
0
votes
1 answer

R Session Aborted while loading RWeka

I cannot load RWeka library in Rstudio session while I have got it installed without problems. The library(RWeka) command is simply interrupted by a "R Session Aborted" error and R is restarted. I'm currently working with Windows 10 RStudio…
0
votes
2 answers

CSV file not recognized as csv, reason nominal value not declared in header

I am trying to load a dataset in weka, I have tried many solutions such as arff format, comas etc. but it was all a failure. Could any of you give me a working solution or load this dataset according to the format. Here is a link to dataset
Arsh
  • 1
  • 4
0
votes
0 answers

make_Weka_classifier("weka/classifiers/bayes/naiveBayes") and J48 not working on my R?

I tried googling around but can't find any answer to this problem. Currently trying to use Naive Bayes on R using Weka but am getting this error and I also tried using J48 to visualize a decision tree but that's not working out either. Error in…
0
votes
1 answer

Weka exception: Can't open file iris.arrf

I am trying to run a script from command line for Weka classification task, it is working perfectly for training CSV data. But for Arrf file it is not working. Command: java -cp "C:\Program Files\Weka-3-8-5\weka.jar" weka.classifiers.trees.J48 -t…
wasif khan
  • 27
  • 6
0
votes
0 answers

Running CatBoost in Weka

Is there any way to run CatBoost in Weka? Perhaps there is something similar to the implementation of XGBoost: with the R-Pluging (MLR) or any unofficial package... Weka is a wonderful tool, runnig Catboost on it could be great!
0
votes
0 answers

Not able to install RWeka

I am facing issues while installing the RWeka package. I tried installing rJava but even that is not being installed, can someone help here with the issue? You can follow the code for the error message > install.packages("RWeka") WARNING: Rtools is…
0
votes
2 answers

How to save the result of feature selection in Weka?

I’m trying to use InfoGainAttributeEval in Weka for feature selection, how to save the result? I try to save it but seems like my weka just save my input data, not the result of feature selection.
Iyam
  • 1
0
votes
1 answer

How to get classification values in RWeka?

can anybody explain how I get the results of each leave in a decision tree made by J48 from the RWeka package? So for example we have this iris dataset in R: library(RWeka) m1 <- J48(Species ~ ., data = iris) m1 In prediction I want to use the…
T. Beige
  • 177
  • 12