Questions tagged [weka]
WEKA is a GUI based data mining suite written in Java, developed at the University of Waikato
72
questions
0
votes
0
answers
9
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
0
answers
10
views
How do I deal with missing values when running/training a model based on past information?
I am trying to train a classification model with one of the features being a vector of the objective function values for the last 8 iterations of a hyper-heuristic search.
However, the problem I am ...
0
votes
0
answers
229
views
unsuccessful installation of python-weka-wrapper3
I just want to install python-weka-wrapper3 package and I get the following error message (I also tried some other installations but still did not work):
...
0
votes
0
answers
23
views
Attribute selection using Weka produce different arrangement for training and test set
My question is related to attribute selection using Weka. The method that I used to select the attributes is Infogain filter which is available in Weka. I selected top 30 attributes from my dataset ...
0
votes
1
answer
79
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
136
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
0
answers
32
views
How can I increase the correct predictions of one class using Weka?
I need to predict events (true or false) from a dataset, it has True and False samples. I'm just trying to predict as many "trues" as I can. Missing out some is no problem at all.
The ...
1
vote
1
answer
35
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 ...
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 ...
1
vote
2
answers
301
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?
2
votes
2
answers
522
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
262
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 ...
2
votes
1
answer
260
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
40
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 ...
2
votes
1
answer
590
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 ...
1
vote
1
answer
374
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 ...
1
vote
1
answer
102
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
215
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
908
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
1
answer
524
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:...
1
vote
1
answer
563
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 ...
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 ...
0
votes
0
answers
435
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 ...
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
0
answers
23
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 ...
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
2
answers
504
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 (...
3
votes
2
answers
187
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
610
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 ...
3
votes
2
answers
178
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, ...
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 ...
1
vote
2
answers
331
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 ...
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. ...
2
votes
1
answer
222
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
...
1
vote
0
answers
602
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 ...
0
votes
1
answer
122
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 ...
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 ...
8
votes
1
answer
742
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 ...
8
votes
2
answers
522
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 ...
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
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 ...
2
votes
0
answers
255
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 ...
2
votes
1
answer
150
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
...
...
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
38
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 ...
2
votes
1
answer
436
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?
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
1
answer
635
views
How can I transpose a high dimensional dataset?
I have a (.csv) file with more than 35,000 rows and 100 columns, where the rows represent the attributes and columns represent the instances. In Excel the maximum number of columns is 16,384. ...
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 ...