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

  • SEARCH
  • Home
  • 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 7839195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:22:04+00:00 2026-06-02T15:22:04+00:00

in Weka there is a filter called ReplaceMissingValues that permit to replace all missing

  • 0

in Weka there is a filter called “ReplaceMissingValues” that permit to replace all missing values in a dataset using the mean of each attribute. I’d like to replace missing values, for a certain attribute, using the mean of values that belong to a certain class. For example in a binary dataset I think that is more correct to replace a missing value for an attribute in record that belong to the positive class using the mean calculated with only the records that belong to the positive class. So how is possible to realized it? How can we replace values only for record that belong to a certain class?

  • 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-06-02T15:22:06+00:00Added an answer on June 2, 2026 at 3:22 pm

    If you want to replace missing values of Class A by taking the mean calculated from the training instances of that particular class A, then you are “bias”ing your dataset. To avoid bias (which eventually will overfit your trained model), it is wise to use the default “replace missing values” function- i.e., to consider mean and mode of all training instances rather than of just that particular class.

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

Sidebar

Related Questions

I'm trying to filter a dataset using weka's java API. I've successfully filtered the
I am using an open source java library called Weka in an Eclipse Indigo
I am using Majority voting combination rule in weka. There are 4 classifiers in
Let's say I have a dataset, which can be neatly classified using weka's J48
I'm using Weka to develop a classifier for a medical problem. This dataset has
I've a question about weka as this person: Hi all: I felt really strange
I am trying to open Weka from cmd line, using C#. This is the
I'm generating a power model using Multilayer Perceptron on Weka which is a statistic
Weka is a standard, widely using data mining suite mainly used in Java. I
Hi, I am using weka.classifier.meta. Vote. I am combining three classifiers, one of them

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.