Questions tagged [weka]
Weka (Waikato Environment for Knowledge Analysis) is an open source machine learning library written in Java.
weka
3,054
questions
0
votes
1
answer
25
views
how to display the premise and consequence when the setcar is set to true
I want to get the premise and consequence for each line of generated rules after the running the apriori algorithm in Weka 3.8.6.
`apriori.setNumRules(NUMBER_OF_RULES);
apriori.setMinMetric(...
-1
votes
1
answer
16
views
Classifier not available in WEKA (Nominal)
My dataset is german_credit-arf (Updated). I tried several filters, but they didn't work. Please help.
I don't know what the problem is. I select one of the nominal class attributes as the class ...
-2
votes
0
answers
27
views
Using Weka on Mac
I can't use csv files on weka to create a model from the training set in csv format. So, I cannot test it and use it to predict.
I cannot convert the csv into arff from the weka app
Is there any ...
0
votes
0
answers
20
views
How to make predictions on un-labeled test data using j48 in weka(3.9.0)?
I have tried converting all the files (training, labeled test data and un-labeled test data) prefereably in arff format and it is working good for my labelled test data. But for unlabelled test data ...
-1
votes
1
answer
17
views
wrong number of values in weka
can any one tell me what the wrong in this file the error massege is :
wrong number of values read w, expected 1, read token [eol], line 2 problem encountered on line:2
this is the file:
https://drive....
0
votes
0
answers
19
views
In Weka, how can I change the the minimum support as required?
I was required to vary the minimum support for Apriori and the confidence 10 times as the following and report the number of rules table 1 and plot 1: (support, confidence):
(0.005, 0.8), (0.01, 0.8), ...
-1
votes
1
answer
33
views
Resample filter in weka
I have a low amount of data instances in my data set. So, I tried the "resample" filter in Weka to increase the data amount and thus enhance the model performance. Is it okay to set the ...
0
votes
1
answer
59
views
Encountering java.lang.IllegalArgumentException
I am working on a Java project which is basically a Fake News Detection Application. The dataset contains two columns Text(News Article) and Label(0:Fake/1:Genuine). This data is converted to a JSON ...
0
votes
0
answers
16
views
Integrate .model file with android studio
I have a .model file from Weka and I want to integrate it with my Android studio. I am using Kotlin for building my app. I have no idea how to begin and what steps to follow.
I have googled and ...
0
votes
0
answers
20
views
I keep getting a "NoClassDefFound" error with Weka Ai using Java. I keep getting this Error?
I'm new at weka and Ai. And, I dont understand why I keep getting the "Exception in thread "main" java.lang.NoClassDefFoundError: weka/core/converters/ConverterUtils$DataSource"? ...
0
votes
1
answer
22
views
How to treat integer attributes in WEKA i.e. number of bedrooms (cannot be float values)
Using WEKA for classification problem on dataset in arff file format.
I want to use SMOTE on my dataset since I have a class imbalance; however, whenever I do this, it generates 'impossible' attribute ...
0
votes
0
answers
17
views
Dataset not being accepted by Weka's J48 plugin (C 4.5 algorithm)
I have a "diabetes" dataset with all scalar fields I want to run the C 4.5 algorithm on. When I have it loaded in Weka, the J48 option for decision trees is not selectable. I found a "...
0
votes
1
answer
37
views
weka inital heap size memory allocated
i am currently using WEKA and i am trying to run a logistic regression on a dataset that i am currently working, on however everytime i attempt to do this WEKA shuts down and shows me this message i ...
0
votes
0
answers
29
views
Problem with Decision Tree Visualization in Weka: sorry there is no instances data for this node
I am visualizing a decision tree using Weka, but when I try to press on anywhere in the tree I get the message "Sorry, there is no instances data for this node."
The data in the tree is ...
0
votes
1
answer
43
views
How can I limit the depth of a decision tree using C4.5 in Weka?
I am trying to use Weka and the J48 classifier, specifically for the C4.5 algorithm. Specifically, I am looking to limit the depth of the decision tree produced (1 layer, 2 layers, etc.) but I do not ...