Questions tagged [weka]

WEKA is a GUI based data mining suite written in Java, developed at the University of Waikato

72 questions
10
votes
2 answers

How do i calculate prediction probability of a class in Java Weka Api?

I am developing a prediction model using Java Weka api. I can predict class for the new instance using the following code: double predictClass = classifer.classifyInstance(instance) However, I need class probability instead of class value. Thanks…
Howa Begum
  • 348
  • 1
  • 6
8
votes
1 answer

How to use SMOTE in Java Weka API?

I am trying to build classification model using Java Weka API. My training dataset have class imbalance problems. For this reason, I want to use SMOTE to reduce class imbalance problem. But, I do not know how to use it in Java Weka API.
Sagor Ali
  • 83
  • 3
8
votes
2 answers

How do I use a custom stopwords filter in the Java Weka API?

I am using the Java Weka API to build a classification model. I can use the builtin stopwords filter. However, I need to use a custom filter for my problem. I do not know how to use a custom stopwords filter in the Java Weka API.
Radia Karim
  • 158
  • 4
6
votes
2 answers

Which feature selection I should trust?

I use Python and Weka to run feature selection on my dataset (91 predictor variables). I can see a huge difference (feature ranking) from different algorithms. And these results are still quite different from that derived from random forest or…
LUSAQX
  • 783
  • 2
  • 10
  • 24
3
votes
2 answers

What is the best option to test the data set of images using weka?

I have two hundred and fifty images, and extracted the features from them and put them in an Excel file, how to use the weka program so that the first 200 images for training and the remaining fifty images for testing. Do I put the data for two…
3
votes
0 answers

Various algorithms performance in a problem and what can be deduced about data and problem?

HI I am currently trying to apply various algorithms to a classification problem to assess which could be better and then try to fine tune the bests of the first approach. I am a beginner so I use Weka for now. I have basic ML concept understanding…
3
votes
1 answer

In Weka, how to draw learning curve evaluated on both test and training set?

This is just for finding overfitting gap. After initial research, I can only find method to draw learning curve using evaluation of test set. However, I could not evaluate on training set and over the two learning curves.
modeller
  • 183
  • 5
3
votes
2 answers

SMOTE on training data

The SMOTE could only be performed on the training data, so how can we do it using Weka? It means we have to put the training and test data in two separate files and run the SMOTE on the training file, so how can we load two datasets to Weka and…
Khan
  • 63
  • 6
3
votes
1 answer

Official page of Weka for SVM java code

I am using Weka to train a model from few days. I know Weka use Java code to implement a classifier. I also heard that Weka has some github pages to describe the java code for the classifiers. I like to know the SVM java code which is used in WEKA.…
Encipher
  • 359
  • 1
  • 9
3
votes
1 answer

Making fake result in data mining using weka j48 algorithm

I have 130 records in one CSV dataset and I'm using j48 decision tree. I used the whole training set for testing, and the result was 79 correctly classified and 51 incorrectly classified records. Now! I want a result between 95% - 100% and don't…
2
votes
1 answer

Optimum minimum number of instances in weka's j48

There is a parameter named minnumobj in the options of the j48 tree algorithm in weka. This parameter indicates the minimum number of participants to be in a leaf. Does this parameter have an optimum value regarding the instances or attributes? Or…
2
votes
0 answers

Method of finding threshold in Decision tree for continuous data

I am using decision tree in Weka and I have some continuous data, so when I use Weka it automatically find the threshold for me but for some reason I want to implement Decision Tree by myself so I need to know what approach to use to find the…
Hani
  • 73
  • 1
  • 4
2
votes
1 answer

What can weka do that python and sklearn can't?

I would like to build a variety of classification and regression decision trees. My use case focuses on extraction and communication of decision rules. Previously weka was used in my organisation for decision tree learning. What can weka do that…
2
votes
1 answer

WEKA Random Forest and numerical attributes

I am working with Random Forests in Weka. I thought the ID3 algorithm is used to find the best split attribute at each level. But after reading a bit I noticed that ID3 can not handle numerical attributes (one needs for instance C4.5 for that).…
Big M
  • 55
  • 4
2
votes
2 answers

Where are WEKA installed packages stored

I would like to use the WEKA library in a Java program but I can't seem to find the methods I installed using WEKA's package manager. Does anyone know where the installed methods are stored? For clarification, I installed WEKA, installed the extra…
abdnChap
  • 165
  • 10
1
2 3 4 5