J48 is an open source Java implementation of the C4.5 algorithm in the Weka data mining tool.
Questions tagged [j48]
68 questions
1
vote
0 answers
Access rules from java Weka PART rules
I'm trying to access rules generated from PART rules algorithm.
I understand PART in turn converts nodes from J48 decision tree. I need to access each rule separately and display the same.
PART part1=new PART();
Instances instance1= new…

Harsha
- 33
- 9
1
vote
0 answers
Extracting contents from decision tree J48
I have the following decision tree (created by JWEKA package - by the command J48(NSP~., data=training) ):
[[1]]
J48 pruned tree …

Avi
- 2,247
- 4
- 30
- 52
1
vote
1 answer
Use significant attributes only, or use full set of attributes to build J48 model after checking information gain?
Weka's J48 allows one to check information gain on a full set of attributes, should I use those significant attributes to build my model? Or should I use the full set of attributes?

Guanhua Lee
- 156
- 1
- 12
1
vote
1 answer
WEKA J48 decision tree with non linearly separable data
Does Weka J48 Decision Tree classifier support classification for a problem with intrinsically non linearly separable data? In short, is J48 either a linear or a non linear classifier?

Johan
- 3,561
- 9
- 29
- 45
1
vote
2 answers
weka J48 feature selection
I am using Weka and applying J48 to build my classifier. I have 40 features with 2000 instances (700 class a and 1300 class b).
The J48 decision tree is just using 2 features out of 40! Is there anyway to allow J48 to use all features or is there…

Ahmad Azab
- 73
- 2
- 10
0
votes
1 answer
Weka j48 output
I have confusion about the numbers at the end of the branches of a J48 tree. For example, using the weather.nominal data the tree looks the same, whether the Test options are set to Use training set or Cross-validation or Percentage split.
This is…

onyourmark
- 65
- 1
- 7
0
votes
0 answers
How to install ant package in java correctly?
jdk version: 17
I'm trying to use j48 in weka for study it, but I got two problems.
First, I run the Run.java, and the complier throw a error: complier can not find java_cup package. So I follow this tutor to install java_cup package, it's…

hua
- 169
- 9
0
votes
1 answer
Using WEKA Filters in Java - Oversampling and Undersampling
I'm having an issue with finding out how to use WEKA filters in the java code. I've looked up help but it seems a little dated as I'm using WEKA 3.8.5 . I'm doing 3 test. Test 1: No Filter, Test 2: weka.filters.supervised.instance.SpreadSubsample…

Damon Green
- 49
- 8
0
votes
0 answers
make_Weka_classifier("weka/classifiers/bayes/naiveBayes") and J48 not working on my R?
I tried googling around but can't find any answer to this problem.
Currently trying to use Naive Bayes on R using Weka but am getting this error and I also tried using J48 to visualize a decision tree but that's not working out either.
Error in…
0
votes
1 answer
Weka 3.8 - the decision tree J48 seem to have correct tree to predicate data but fail on the testing
The decision tree J48 generated a tree structure as below.
J48 pruned tree
petalwidth <= 0.6: Iris-setosa (50.0)
petalwidth > 0.6
| petalwidth <= 1.7
| | petallength <= 4.9: Iris-versicolor (48.0/1.0)
| | petallength > 4.9
| | | …

John
- 63
- 1
- 1
- 7
0
votes
1 answer
J48 Analysis With WEKA
I want to analyze my dataset with WEKA.
csv file
There are 60 apk files. Permission scores are calculated(1 point for neutral, 2-3-4 points for dangerous permissions) for each apk. I would like to create a threshold for (total dangerous…

Arthur Dent
- 1
- 1
0
votes
1 answer
Weka - How can I improve J48 performance?
I'm working on a data mining project when I need to be able to predict chances of success on a Kickstarter project funding.
I've used a kickstarter dataset which i've found on Kaggle, and i've cleaned all the noisy data, deleted irrelevant…

Snir
- 53
- 4
0
votes
1 answer
How to get classification values in RWeka?
can anybody explain how I get the results of each leave in a decision tree made by J48 from the RWeka package?
So for example we have this iris dataset in R:
library(RWeka)
m1 <- J48(Species ~ ., data = iris)
m1
In prediction I want to use the…

T. Beige
- 177
- 12
0
votes
1 answer
What is the meaning of leaf node of J48 tree classifier
I am unable to understand the meaning of leaf node attribute of decision tree.
I am a new machine learner and after classifying the dataset by using J48 algo.I got a tree and now I'm unable to understand which attribute's value is related with…

Ashish Verma
- 31
- 2
0
votes
0 answers
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 bigger value means that I believe more my…

happysadek
- 11
- 1
- 5