Hi, I have problem with my model in weka (j48 cross-validation) that many instances are classified wrong when it comes to the second class. Is there any way to improve it or rather not? I'm not an expert in weka. Thank you in advance. My output is above. In NaiveBayes it presents better but still TP Rate < 0.5 for the second class. NaiveByes weka
1
There are 1 best solutions below
Related Questions in WEKA
- ARFF file extension to csv binary executable
- How to cluster using kMeans in Weka?
- Difference between weka tool's correlation coefficient and scikit learn's coefficient of determination score
- How to export PCA from Weka
- scatter plot for a multiclass dataset with class imbalance and class overlapping
- Use significant attributes only, or use full set of attributes to build J48 model after checking information gain?
- Train And Use Classifier Weka In Java
- weka API import
- Prediction of sets
- Replace numbers with Boolean in r
- Weka instance.setValue arrayIndexOutOfBounsException
- How to run LibSVM Classifier with 10 fold cross validation from Weka from Linux commandline?
- Chained CostSensitiveClassifier
- How do I use custom stopwords and stemmer file in WEKA (Java)?
- Error trying to call .buildClassifier (Weka) in Java AndroidStudio
Related Questions in NAIVEBAYES
- Naive Bayes Sentiment Analysis of Facebook Post
- Gaussian Naive Bayes classification
- NaiveBayes Classifier: Do I have to concatenate all files of one class?
- NaiveBayes classifier handling different data types in python
- REXP as List does not return the output
- Naive Bayes Ticket Classification Python
- Speed difference between caret and klaR packages, for Naive Bayes
- Naive Bays classifier: output percentage is too low
- Multilabel Classification using NaiveBayes Classifier in Spark
- Bernoulli Naive Bayes error: ValueError: Unknown label type: (array([0, 0, 0, ..., 0, 0, 0], dtype=object),)
- Float is not iterable error on nltk.naivebayes classifier
- text classification predefined categories with documents with Omnicat-bayes
- Neutrality for sentiment analysis in spark
- how to run naive bayes algorithm for all the text file in a dataset instead of few text files
- Different levels of accuracy for three classes in naive bayes
Related Questions in J48
- Use significant attributes only, or use full set of attributes to build J48 model after checking information gain?
- Graphviz Visualizer in WEKA giving empty Grpahs
- How visualize j48 tree in weka
- Weka improve model TP Rate
- What does the useLaplace parameter do in the WEKA j48 algorithm?
- How to install ant package in java correctly?
- Student Performance using Decision Tree in Weka
- Extracting contents from decision tree J48
- Properties and their values out of J48 tree (RWeka)
- R Weka J48 with snowfall for parallel execution
- RWeka J48 Classification issue in R and MovieLense data sets
- Zero-R model calculation of Sensitivity and Specificity using Confusion Matrix and Statistics with Caret
- weka J48 feature selection
- how to classify using j48 weka with information gain and random attribute selection?
- ArrayIndexOutOfBoundsException in instance classification in java using weka
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It is hard to reproduce your example with the given information. However the solution is probably to turn your classifiert into a cost sensitive classifier https://weka.wikispaces.com/CostSensitiveClassifier?responseToken=019a566fb2ce3b016b9c8c791c92e8e35
What it does it assigns a higher value to misclassifications of a certain class. In your case this would be the "True" class.
You can also simulate such an algorithm by oversampling your positive examples. This is, if you have
npositive examples you samplek*npositive example, while you keep your negative examples as they are. You could also simply double positive examples.