Questions tagged [weka]
WEKA is a GUI based data mining suite written in Java, developed at the University of Waikato
68
questions
2
votes
1
answer
153
views
Color name prediction
Given data:
R G B Color
0 0 0 Black
255 255 255 White
255 0 0 Red
0 255 0 Lime
0 0 255 Blue
255 255 0 Yellow
0 255 255 Cyan_Aqua
...
...
1
vote
2
answers
342
views
Multivariate analysis
Can we use weka for multivariate data analysis? When we have more than one variable as the dependent variable... ( without using factor analysis to reduce the number of variables associated with the ...
1
vote
1
answer
964
views
Increasing minNumObj increasing accuracy in decision tree
I have been using a J48 classifier in weka and have noticed that increasing
minNumObj -- The minimum number of instances per leaf leads to a small accuracy increase.
...
1
vote
2
answers
348
views
Is my model overfitting? Weka Random Forest
I have the following result from weka. As I observed the result I have noticed the ROC area is above 90 and the correctly classified instances is 85% Is this a sign of overfitting?
1
vote
1
answer
114
views
How do I simultaneously select multiple values for k-means in WEKA?
I have tried WEKA's Experimenter. However, it's for classification.
I'm looking for a way to apply the k-means algorithm on the same dataset but with multiple 'k' values. Is there any option in WEKA'...
0
votes
0
answers
17
views
Weka "Cannot handle unary class" error when generating predictions from command line
I'm trying to automate a train/evaluate workflow from a Python script, so I need to be able to run Weka from the command line. I'm able to train my model successfully using this:
...
0
votes
1
answer
82
views
Select the best feature selection method for classification
I am trying to make predictions (using Weka) on a tabular dataset. It is a categorical dataset which is encoded by label encoder...
3
votes
1
answer
146
views
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 ...
0
votes
1
answer
2k
views
What does random seed value mean in Weka?
I am using Weka to make a dataset classification, but there is an option in the classifier evaluation (random seed for XVAL/% split). What does this option mean and what is the seed value? Also, what ...
1
vote
1
answer
36
views
Text classification with Weka (unlimited dependent variable values)
In our dataset we have 2 attributes, citizen and nric. The rule is if citizen is US, then the result should be the nric value, otherwise Non-US.
Could you please suggest which algorithm in Weka I ...
3
votes
1
answer
2k
views
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 ...
3
votes
0
answers
76
views
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 ...
0
votes
1
answer
52
views
Is my model difference between Training accuracy and cross validation accuracy considered as overfit?
So I used weka to determine my training accuracy and cross-validation accuracy. It has showed me that my training accuracy is 84.9167 % and my Cross validation accuracy is 83.9167 %
I also tried to ...
2
votes
2
answers
571
views
The Differences Between Weka Random Forest and Scikit-Learn Random Forest
I have used both weka random forest and sklearn random forest in my research, but I have realised that they use different methods to combine the predictions of the base learners i.e. decision trees to ...
0
votes
1
answer
292
views
Interpreting evaluation metrics with threshold/cutoff
I was doing churn prediction for a company. I've got the following results by applying 3 classifier.
Model
Accuracy
AUC
Logistic Regression
0.671
0.736
Decision Tree (pruned)
0.681
0.665
Decision ...
1
vote
1
answer
60
views
Attribute selection from dataset
I work on a dataset with numeric values.The class labels has also numeric values.I made the 6 numeric class labels into one witch contain values like e.g happy_pleased. I want to insert the new .arff ...
1
vote
2
answers
516
views
Parameters optimization algorithms in Weka
In Weka, I used the Grid and Random search parameters tuning algorithms but unfortunately, their performance (in terms of better prediction accuracy) is observed worst when we use the ML algorithms (...
1
vote
1
answer
117
views
Analysis of Alternating Decision Tree on Weka
I am applying the AD Tree algorithm & this is the tree visualization of the output:
I can't understand the values in the decision nodes (-0.4,0.541,-0.882...), How are these calculated? & how ...
2
votes
1
answer
301
views
Optimum minimum number of instances in weka's j48 [closed]
There is a parameter named minnumobj in the options of the j48 tree algorithm in weka. This ...
1
vote
0
answers
46
views
I need help in PCA results using WEKA Tool [closed]
I'm working on an experiment using KDD'99 cupset I have 42 features. the paper I 'm comparing with concludes that 3 features with precision ..% ok are the best subset to identify the attack X.
In my ...
1
vote
1
answer
1k
views
opening Weka from command line
I'm very new to computer coding and data science in general. I'm trying to open Weka and use it on a practice csv data set called weather.arff. The manual I have says to type this into command line:
...
1
vote
1
answer
401
views
How to interpret PCA rankings in Weka
I am struggling to understand what the rankings in Weka are representing. I.e. the coefficients for each attribute in the rank. What is the output in the Weka program for PCA telling me with these ...
3
votes
2
answers
179
views
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, ...
2
votes
2
answers
1k
views
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 ...
2
votes
1
answer
608
views
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 ...
2
votes
0
answers
319
views
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 ...
2
votes
1
answer
222
views
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 ...
1
vote
1
answer
609
views
Weka: Implementation of Random Forest
I am wondering how random forests are exactly implemented in Weka. This paper is very specific about RFs in Weka, but the description of its learning process in chapter 2 seems strange to me.
They say:...
2
votes
1
answer
237
views
How to discretize a numerival value with predefined ranges in Weka?
I have imported a csv file into Weka. One of the features has a value with minimum 0 and maximum 160. Now, I want to discretise that value into three ranges as you can see below:
Less than 6 > L
...
3
votes
2
answers
200
views
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 ...
1
vote
1
answer
572
views
How do I get the values of y_true and y_pred in the confusion matrix?
I am using the weka program and i want to know the values of y_true and y_pred through confusion matrix that appeared in the classification results , because I want to calculate the balanced ...
0
votes
0
answers
466
views
What is the effect of changing the seed value on the classification results?
I used weka program to make a classification, first I used a dataset using the explorer and the seed value was equal to one, then I used the experimenter for the same dataset and the seed value was ...
1
vote
0
answers
26
views
Weka Character Level CNN
I am wanting to use a character level CNN to classify a heap of documents based on the century which they are from. I am having difficulties finding any resources on how to do character level ...
10
votes
2
answers
1k
views
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:
...
1
vote
1
answer
630
views
Repeated training and testing in Weka?
I am using one file for training (e.g train.arff) and another for testing (e.g test.atff) with the 70-30 ratio in Weka. I want to ask how can I use the repeated training/testing in Weka when I have ...
1
vote
1
answer
1k
views
Setting attribute weights in Weka
I'm working on feature weighting techniques (chi-square, relief..) for classification tasks using Weka. Can I add these weights to the dataset's attributes? If yes, how? Do the classification ...
1
vote
1
answer
1k
views
What does Make Density Based Clusterer in Weka do?
In Weka, there is a clustering algorithm with the name as Make Density Based Clusterer. When going through its properties, it takes a clusterer as base clusterer(I took it as K-means with k=3).
It ...
0
votes
1
answer
123
views
Change values from nominal to numeric
I want to change the values of the class labels from nominal into numeric.
e.g if the values of a class are {iris-setosa,iris-virginica,iris-versicolor} i want to make them {0,1,2} so the instances ...
2
votes
1
answer
1k
views
WEKA Random Forest J48 Attribute Importance
I have been using WEKA to classify very long duration audio recordings. The best performing classifiers have been Random Forest and J48. The attributes used to classify the audio are acoustic indices. ...
1
vote
0
answers
617
views
Remove attributes with missing values exceeding a given threshold in WEKA
I imported csv file into WEKA, i have features that have missing value that has missing value percentage of 70% or above, i want to remove these features by weka or also sort that features by missing ...
8
votes
2
answers
527
views
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 ...
8
votes
1
answer
757
views
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 ...
1
vote
1
answer
563
views
different results with MEKA vs Scikit-learn!
I have a multilabel data which I've trained using different classifiers with MEKA (multilabel version of WEKA) and the evaluation results (e.g. accuracy) that MEKA gives me are different from those I ...
2
votes
0
answers
268
views
Can not run Auto WEKA [closed]
I have downloaded Auto WEKA into my computer
and installed Java Runtime Environment
and I have WIndows 10
I am trying to run the Auto WEKA by double clicking on ...
1
vote
1
answer
3k
views
ZeroR Classifier
I've got a program that analyses some data based on a bunch of values then spits out a true/false value if it was correct or not. I'm using the Weka software to graph this all up and I just want to ...
0
votes
1
answer
98
views
Implementation of a distributed data mining paper
I have a project about distributed data mining and I need to do some implementations, So I've searched and found this paper. The address of dataset is mentioned in the paper and I've downloaded it. ...
1
vote
0
answers
46
views
Processed data cannot build Naive Bayes Classifier model
Having preprocessed data using weka supervised cfssubseteval forward and backward selection, the decision tree model builds and makes prediction well, but naive Bayes do not recognize the same Arff ...
0
votes
1
answer
2k
views
WEKA Multilayer Perceptron with large dataset [closed]
I'm new to data mining using WEKA.
I was trying out datasets with a large dataset (2000+ attributes with 90 instances) and left the default parameters as it is.
Why is Multilayer Perceptron running ...
1
vote
1
answer
2k
views
SVM with polynomial kernel: strange results with high degree?
Currently I'm working in WEKA, using the SMO classifier (an implementation of SVM).
For an assignment I am requested to use a polynomial kernel, and report the results for degrees varying from 1 up to ...
2
votes
1
answer
445
views
Is there t-SNE in WEKA?
I want to use t-SNE in WEKA just for visualization purposes. I tried to look at the package manager but could not find any implementation of it.
Is there anything that I can do to achieve it?