Questions tagged [weka]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
61 views

Correct way to take a subset of a dataset?

I am attempting a binary classification problem (using Weka). My dataset has 100,000 rows, 14 attributes (1 output variable). It takes already too long just to open the dataset in excel so I just know ...
FlexMcMurphy's user avatar
0 votes
0 answers
37 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: ...
PowerSystemsDev's user avatar
0 votes
1 answer
108 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...
Encipher's user avatar
  • 359
3 votes
1 answer
171 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 ...
Encipher's user avatar
  • 359
1 vote
1 answer
39 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 ...
Sue Nile's user avatar
0 votes
1 answer
56 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 ...
Amben Uchiha's user avatar
1 vote
2 answers
418 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?
Amben Uchiha's user avatar
2 votes
2 answers
629 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 ...
David Tian's user avatar
0 votes
1 answer
352 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 ...
khair's user avatar
  • 23
2 votes
1 answer
350 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 ...
Mertkan SIMSEK's user avatar
1 vote
0 answers
56 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 ...
Marwa A.'s user avatar
2 votes
2 answers
635 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 ...
Matthew Stewart's user avatar
1 vote
1 answer
419 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 ...
Fraser Gilbert's user avatar
1 vote
1 answer
128 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 ...
SCodes's user avatar
  • 11
2 votes
1 answer
231 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 ...
Big M's user avatar
  • 55
1 vote
1 answer
1k 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. ...
Gooze_Berry's user avatar
1 vote
1 answer
699 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:...
Big M's user avatar
  • 55
1 vote
1 answer
595 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 ...
Ahmad Sarairah's user avatar
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 ...
abdnChap's user avatar
  • 165
0 votes
0 answers
498 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 ...
Ahmad Sarairah's user avatar
0 votes
1 answer
3k 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 ...
Ahmad Sarairah's user avatar
1 vote
0 answers
28 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 ...
Matvey Ryabov's user avatar
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: ...
Katie Melosto's user avatar
1 vote
2 answers
536 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 (...
Khan's user avatar
  • 63
3 votes
2 answers
223 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 ...
Ahmad Sarairah's user avatar
1 vote
1 answer
664 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 ...
Khan's user avatar
  • 63
3 votes
2 answers
185 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, ...
Khan's user avatar
  • 63
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 ...
Manasvi Duggal's user avatar
1 vote
2 answers
374 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 ...
sanjeewa dayarathne's user avatar
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. ...
JamesWat's user avatar
2 votes
1 answer
283 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 ...
Rasool Ghafari's user avatar
1 vote
0 answers
627 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 ...
Rasool Ghafari's user avatar
0 votes
1 answer
125 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 ...
andrikoulas's user avatar
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 ...
andrikoulas's user avatar
8 votes
1 answer
783 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 ...
Sagor Ali's user avatar
8 votes
2 answers
533 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 ...
Radia Karim's user avatar
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: ...
Howa Begum's user avatar
1 vote
1 answer
2k 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 ...
houda benhar's user avatar
2 votes
0 answers
283 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 ...
asmgx's user avatar
  • 549
2 votes
1 answer
158 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 ... ...
gammay's user avatar
  • 141
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. ...
Nebula's user avatar
  • 3
1 vote
0 answers
53 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 ...
user9499636's user avatar
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 ...
NewbieCoder's user avatar
2 votes
1 answer
452 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?
João P C Bertoldo's user avatar
1 vote
1 answer
120 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'...
Abdulaziz Ghalib's user avatar
0 votes
1 answer
689 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. ...
Abdulaziz Ghalib's user avatar
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 ...
Bjorn95's user avatar
  • 111
1 vote
1 answer
564 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 ...
AmirAhmad's user avatar
1 vote
1 answer
2k views

RMSE in Weka Time Series Forecasting

I am using Weka Time Series Forecasting to forecast the trend of the topic NLP in 2018. For that I used ...
J Cena's user avatar
  • 201
0 votes
1 answer
778 views

How does the seed value work in Weka for clustering?

I have recently been learning about the various clustering methods, and I decided to apply Furthest Point clustering in Weka with varying seed values. The seed value dictates the initial choice of ...
ODP's user avatar
  • 145