Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1052839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:09:33+00:00 2026-05-16T17:09:33+00:00

I start using NaiveBayes/Simple classifier for classification (Weka), however I have some problems to

  • 0

I start using NaiveBayes/Simple classifier for classification (Weka), however I have some problems to understand while training the data. The data set I’m using is weather.nominal.arff.

alt text

While I use use training test from the options, the classifier result is:

Correctly Classified Instances 13  -  92.8571 %    
Incorrectly Classified Instances 1 - 7.1429 %   

a b classified as  
9 0  a =yes
1 4  b = no

My first question what should I understand from the incorrect classified instances? Why such a problem occurred? which attribute collection is classified incorrect? is there a way to understand this?

Secondly, when I try the 10 fold cross validation, why I get different (less) correctly classified instances?

The results are:

Correctly Classified Instances           8               57.1429 %
Incorrectly Classified Instances         6               42.8571 %

 a b   <-- classified as
 7 2 | a = yes
 4 1 | b = no
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:09:34+00:00Added an answer on May 16, 2026 at 5:09 pm

    You can get the individual predictions for each instance by choosing this option from:

    More Options… > Output predictions > PlainText

    Which will give you in addition to the evaluation metrics, the following:

    === Predictions on training set ===
    
     inst#     actual  predicted error prediction
         1       2:no       2:no       0.704 
         2       2:no       2:no       0.847 
         3      1:yes      1:yes       0.737 
         4      1:yes      1:yes       0.554 
         5      1:yes      1:yes       0.867 
         6       2:no      1:yes   +   0.737 
         7      1:yes      1:yes       0.913 
         8       2:no       2:no       0.588 
         9      1:yes      1:yes       0.786 
        10      1:yes      1:yes       0.845 
        11      1:yes      1:yes       0.568 
        12      1:yes      1:yes       0.667 
        13      1:yes      1:yes       0.925 
        14       2:no       2:no       0.652 
    

    which indicates that the 6th instances was misclassified. Note that even if you train and test on the same instances, misclassifications can occur due to inconsistencies in the data (the simplest example is having two instances with the same features but with different class label).

    Keep in mind that the above way of testing is biased (its somewhat cheating since it can see the answers to the questions). Thus we are usually interested in getting a more realistic estimate of the model error on unseen data. Cross-validation is one such technique, where it partition the data into 10 stratified folds, performing the testing on one fold, while training on the other nine, finally it reports the average accuracy across the ten runs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am ready to start using SVN, but I have NO (as in the
Recently thanks to rails' popularity, many people start using activerecord as model. however, before
I have decided to start using Team City as my continuous integration software and
I decided to start using removeAllObjects so that I could re-use some of my
I have just start using git and i can't get it to remember my
I want to start using Python for small projects but the fact that a
I want to start using .NET 3.5 features in an app that is currently
I'm trying to start using LINQ and specifically LINQ to SQL but I'm having
I want to start using Nunit (finally), I am using Visual Studio 2008. Is
I've been using PHP & MySQL for ages and am about to start using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.