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 6249947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:19:55+00:00 2026-05-24T13:19:55+00:00

I am using weka data mining tool. In weka I am trying to use

  • 0

I am using weka data mining tool. In weka I am trying to use metacost classifier to classify my data. But while executing it, there is a error popup saying “On-demand cost file doesn’t exist”.

Anyone know how to create on-demand cost file?

  • 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-24T13:19:56+00:00Added an answer on May 24, 2026 at 1:19 pm

    If you are using GUI,
    You need to create a cost matrix first. Use “use explicit cost matrix” option, create a cost matrix from “cost matrix” option. You can simply use this option to train your base classifier.

    If you want cost file on demand option, save this cost file as “relation name of the training data(arff file) “.cost” file.

    When you select “Load matrix on demand” in Weka GUI, provide it with a directory path on “onDemand Directory” for the path where you have saved the cost file.

    Remember that your name of the cost file must be “relation name of the training data plus “.cost”. Now you can train your base classifier with on-demand cost.

    Edit :For more details: http://weka.sourceforge.net/doc/weka/classifiers/meta/MetaCost.html

    Its similar in weka API too.

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

Sidebar

Related Questions

Weka is a standard, widely using data mining suite mainly used in Java. I
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters
I'm trying to train a set of ~30,000 instances using an SMO classifier with
Hi, I am using weka.classifier.meta. Vote. I am combining three classifiers, one of them
I am using Majority voting combination rule in weka. There are 4 classifiers in
I'm trying to create a new string Attribute using Weka's Java API... Reading through
I'm trying to filter a dataset using weka's java API. I've successfully filtered the
I have had a great deal of success using Weka for data exploration and
I am an absolute beginner. Never made a classifier or anything in weka using
I want to classify a new instance using serialized classifier. I found this class

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.