Questions tagged [weka]

Weka (Waikato Environment for Knowledge Analysis) is a collection of machine learning algorithms for data mining tasks.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

What is the correct way to apply a feature selection method to an imbalanced dataset?

I am new to data science & machine learning, so I'll write my question in detail. I have an imbalanced dataset (binary classification dataset), and I want to apply these methods by using Weka ...
Muneera's user avatar
  • 11
1 vote
0 answers
15 views

Problem with missing values and decision rule classification in Weka

Validated community, I have a large dataset of three classes and 22 variables from which I would like to create a decision rule/decision tree-based classification in Weka 3.8.6. The dataset is a ...
DanielT's user avatar
  • 11
0 votes
1 answer
506 views

How to handle missing values NaiveBayes Scikit Learn

I am working with a dataset which has 34 features (numerical, nominal) and the target class. Several of the columns have missing values, especially one column has approximately 50% missing values. I ...
Panos's user avatar
  • 1
3 votes
1 answer
161 views

What is TN rate in Weka results?

I have a question about classifications model in Weka. Which parameters in the result from weka is the TN rate(specificity)?
AAumAim's user avatar
  • 31
1 vote
0 answers
66 views

How do you interpret the matrix confusion in this Naïve Bayes output?

Why are my correctly classified instances lower than incorrectly classified? This was tested using Naive Bayes with option testing Cross-Validation set at 10 folds. Here is the image of the results: ...
Mark's user avatar
  • 11
0 votes
1 answer
667 views

Why is there a ZeroR and OneR classifier but no TwoR classifier?

I am using WEKA, and I noticed that there is a ZeroR classifier and a OneR classifier. The ZeroR classifier always predicts the majority class, while the OneR classifier bases its predictions on only ...
Flux's user avatar
  • 145
2 votes
2 answers
117 views

Numeric variable with outliers as a categories

I'm working with a dataset that has a few variables that I'm having difficulty trying to preprocess. So one of them is called MENTHLTH where it is a numeric variable. The point of the variable is to ...
CD'A's user avatar
  • 43
2 votes
1 answer
309 views

Difference between One Rule Classifier and Decision Stump in WEKA

WEKA Explorer seems to come up with two different models for OneR (rules) and Decision stump (trees). Is has to be the underlying measure of "best split" that is different. But for a single ...
Laksan Nathan's user avatar
1 vote
0 answers
54 views

Cross-validation giving better results than separate test test

I am using J48 in Weka. The accuracy results of the cross-validation is about 99.9% but when I provide a separate test set the accuracy drops to about 65% or less. So the question is why there is a ...
Ziad's user avatar
  • 11
1 vote
0 answers
30 views

Calculating three average precisions and a single value for ROC from raw predicted class outputs

I'm not a statistician or mathematician so I apologize if I use any terms incorrectly. Please do point out any errors in my use of terminology. The four values I need are the equivalent of Weka's ROC ...
Doc Octal's user avatar
  • 131
2 votes
1 answer
2k views

Calculating Specificity from Weka output

In short I need to know or calculate the sensitivity and specificity from Weka 3.8.4 output. ...
Doc Octal's user avatar
  • 131
0 votes
1 answer
1k views

Leave-One-Out CrossValidation with Weka

I have a dataset consisting of 5 subjects (5 different virus names and 5 benign program names). The programs belong to the class "benign" and the viruses to the class "infected". There are 1000 ...
Mr.R.'s user avatar
  • 1
0 votes
1 answer
823 views

Interpret the clustering results of Weka to measure the performance [closed]

I'm having the Boston dataset, where it's class variable in the housing price. So I think regression is more suitable for this dataset, so we can predictions. I'm using Weka for this. I used several ...
Hiru's user avatar
  • 155
1 vote
0 answers
314 views

How to create a test set in stacking when doing cross validation

I am using Weka to implement stacking with k-fold cross validation. As I understand, we first divide our dataset in to k folds, then we use k-1 folds for training and 1 fold for testing. This ...
mary's user avatar
  • 11
1 vote
0 answers
2k views

Cross validation or percentage split

I got a data-set with 50 different classes. Around 40000 instances and 48 features(attributes), features are statistical values. I am using weka tool to train and test a model that can perform ...
Hasa's user avatar
  • 11
1 vote
1 answer
535 views

Can we apply SMOTE on data with k-fold CV

The SMOTE for the imbalance should be applied for the training data only, right? Can we still do it (perform SMOTE on training data) while we select the k-fold CV and does not go for splitting the ...
Khan's user avatar
  • 35
-2 votes
1 answer
136 views

What does this ROC value mean? [duplicate]

What does this roc value mean? How do I interpret it? Are there values which help in inferring it like in case of kappa?
Megh's user avatar
  • 1
1 vote
2 answers
1k views

How to binarize data for FP Growth in Weka?

I have a CSV file where all comlumns contains numerical values except for the quality column which contains nominal values. I want to use FP Growth Weka algorithm ...
Yos's user avatar
  • 83
2 votes
1 answer
2k views

K-means calculate MSE in Weka

I am doing some clustering analysis with Weka and decided to apply the k-means algorithm (the clusterer SimpleKMeans). On my first analysis I ran the algorithm with 2 clusters. Then, after finding ...
Gonçalo Peres's user avatar
1 vote
0 answers
589 views

Meaning of confidence factor in J48

I try to use J48 classifier from RWeka library in R (C4.5 algorithm). I can parametrize this classifier with C parameter which means 'confidence factor'. What does this value exactly mean? I know that ...
Łukasz's user avatar
  • 11
0 votes
2 answers
681 views

SVM and correlation

Can anyone guide me about the feature selection based on correlation using SVM? RBF kernel check the correlation too or not? I am using weka and matlab. Any help would be appreciated.
Arooj's user avatar
  • 1
0 votes
0 answers
855 views

How to deal with a negative Kappa in classification?

I have a dataset with one binary class to be predicted, with 18 binary predictors and 17400 rows. Here I used a stratified split, with approximately 85% (14648 rows) for training and 15% (2752) for ...
Bruno's user avatar
  • 11
2 votes
1 answer
547 views

TF-IDF String to Vector Weka bias

For example, let's say I have a text dataset like: "words text etc",label "words text etc",label "words text etc",label If I ...
Mansueli's user avatar
0 votes
0 answers
349 views

What is the meaning of AUC being high when accuracy is not? [duplicate]

I'm testing several classifiers in Weka Experimenter. Some of them have — at the same time — low accuracy (Percent_correct statistic) and high AUC. How should the quality of such ...
Franco's user avatar
  • 393
0 votes
1 answer
65 views

SVM decision non linear

As I understand, to perform a decision in a non linear case (using a kernel) I use the following: $f(x) = sgn(\sum_{i=1}^{n} y_{i} \alpha_{i} \boldsymbol{k}(x,x_{i})+b)$ Where i=1,..n are the ...
jessica's user avatar
  • 83
0 votes
1 answer
54 views

Performance measures in Predictive models

I developed predictive models and I reported G-mean ,F-measure, Sensitivity, and Specificity which are very low. i wonder if anyone has a reference for the threshold of these measures ? I want to ...
Benn's user avatar
  • 127
1 vote
2 answers
760 views

WEKA Visualization: getting class percentages

I've just started out trying on ML. In WEKA, when I try to visualize a data set I find it hard to tell the class ratio for a certain nominal attribute value due to the differing amount of instances, ...
Nattfrosten's user avatar
1 vote
0 answers
287 views

What is a good percentage value for SMOTE in Weka

I am using the oversampling technique named as SMOTE to balance my dataset in Weka. To balance my dataset I needed to use 1300 as my -p (percentage) value. The default -p (percentage) value is 100. ...
J Cena's user avatar
  • 11
1 vote
1 answer
152 views

Standardize a sample dataset

I created a model with J48. Before creating the model, data were standardized. Now I want to test this model with a sample dataset. Before applying data to the model, I believe data should be ...
KittyKotte's user avatar
4 votes
1 answer
4k views

Random forest parameters

I'm trying to make decisions regarding Random forest parameters for classification. My dataset contains 26 features and 6300 instances. How can I decide the values of (the number of trees, number of ...
User505's user avatar
  • 43
1 vote
0 answers
810 views

Interpreting results from WEKA

I am trying my to built a model that predicts whether or not customers will churn, using a dataset with 7000 instances (rows) and 20 features. I am using WEKA and experimenting with a J48 Decision ...
Mads Hjorth's user avatar
-1 votes
2 answers
684 views

How to tweak a Weka model? [closed]

I know how to run a Weka model, but I'd like to tune some parameters. How do I do that? Thanks, a newb
Nathan majicvr.com's user avatar
1 vote
0 answers
316 views

Should classes be balanced before or after splitting into sets?

I've split my data and performed pre-processing. I ran some basic classifiers on it and got accuracies within 70-80%, which to me seems fairly low. One thing I didn't do was balance my classes before ...
Mateusz J's user avatar
0 votes
1 answer
1k views

Log-Likelihood in EM Cluster

I am doing clustering in Weka for a school project. I am trying to compare two Weka outputs with log-likelihood: Number of clusters selected by cross validation: 6 ...
J Doe's user avatar
  • 121
2 votes
3 answers
2k views

Cross-validation with unbalanced-classes

I'm a little confused on how to manage my data set with WEKA.(for data mining) I have a Dat set including 11377 record classified as follows: 11111 records have class YES 266 records have class NO ...
IvanComp's user avatar
0 votes
1 answer
1k views

Negative feature value

I use a logistic regression model for reranking some documents where a normalized features of some candidates may have negative real value so that its predicted value may get lower score(low ...
qualia universe's user avatar
0 votes
1 answer
623 views

How to interpret coefficients of nominal independent variables in Weka?

I'm struggling a bit with interpreting the output of a linear regression in Weka. This is my model: ...
Habas's user avatar
  • 1
0 votes
1 answer
143 views

Weka - only care about "top" instances

I'm trying to classify instances between 2 classes ("good" and "bad"). My ultimate goal is to be able to predict good instances, but I don't need to identify all good instances. For example, say I ...
nickb's user avatar
  • 103
0 votes
1 answer
60 views

I need to see the incidences in my data set in WEKA

I have a dataset that contains 44804 instances, each with the attributes: diagnoses, age and quantities (same diagnoses includes). I want to see which diagnosis is most seen for a given age. For ...
Metin Turşu's user avatar
0 votes
1 answer
253 views

Is value of correlation matrix enough criteria to delete an attibute?

I need to do some clustering with my data set. I have 200 attributes and 18 tuples only. So I am trying to do some data cleaning. I deleted all attributes that has 0 as data and reached till 165. Now ...
Presha's user avatar
  • 1
1 vote
1 answer
2k views

guide for text classification using weka

I have a set of 2000 small texts (each less than 500 words) that I manually categorized. All the texts are in the same main subject, and I want to separate them into distinct groups based on their ...
Sarah's user avatar
  • 11
1 vote
1 answer
931 views

MultiBoost vs Gradient Boosted Decision Trees

Why isn't there an implementation of GBDT in Weka? (Java ML library) Instead the recommendation is to use the MultiBoost algorithm with J48 (Java implementation of Decision Trees - C4.5 algorithm). ...
Nithish Inpursuit Ofhappiness's user avatar
0 votes
0 answers
334 views

Decision tree: Perfect classification with (a dicotomic) class noise at 100%, but almost null prediction with noise at 99%. (Tried 2 alg in R). Why?

I am using a dataset with a dicotomic class and testing how noise affects the decision tree j48 - from Rweka, using R - performance. I´m adding noise, and using confindence factors from 0.01 to 0.5 ...
Luis's user avatar
  • 525
2 votes
2 answers
3k views

Weka clustering methods greyed out

I generated a csv file with 167 attributes and around 5000 entries. One is a nominal attribute, two are dates and the rest is numerical. I can import the file into the weka explorer without problems. ...
Anita219's user avatar
0 votes
0 answers
825 views

How does a decision tree split on a categorical variable? [duplicate]

Some implementations of decision trees (eg cran/tree) can split on categorical variables where the split separates the variable into 2 groups: ...
Max Flander's user avatar
0 votes
0 answers
720 views

Goodness-of-fit vs maximum likelihood for logistic regression?

From what I understand, maximum likelihood is used to estimate a parameter alpha in a way that maximizes the probability P(Y=|x,alpha) for example. It is used for logistic regression in order to get ...
engineering student's user avatar
1 vote
0 answers
201 views

How to predict the error accuracy using these values from weka and how to intepret the output?

Classifier Model Linear Regression Model bug = ...
D R Mano Gabriella's user avatar
2 votes
1 answer
2k views

J48 decision trees in weka

I am using J48 decision tree classifier in weka. In the testing option I am using percentage split as my preferred method. The split use is 70% train and 30% test. My understanding is that when I use ...
Shalin Parikh's user avatar
1 vote
1 answer
3k views

How do weka classifiers deal with missing values? [closed]

I tried using a training set that has missing values. I applied filters (like replace missing data) and then after there were no more missing data I applied naive bayes, trees etc... I thought this ...
engineering student's user avatar
0 votes
1 answer
3k views

Classification and mixed categorical and numeric variables

I've been working a little with weka and so far I haven't made my own database to apply a classifier but I've tried to look at the already existing files and from what I've seen there is absolutely no ...
engineering student's user avatar