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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:56:27+00:00 2026-06-07T00:56:27+00:00

I have a 2-class dataset on which I should apply a binary classification algorithm.

  • 0

I have a 2-class dataset on which I should apply a binary classification algorithm. The dataset looks like as follows:

a1, a2, a3, …… +1
……
b1, b2, b3, …….-1
…….

where each feature/attribute value is a 2-tuple. For example, a1 is (a1_1, a1_2). There is dependency between a1_1 and a1_2 (though at this point I am not sure how are related) and their order is not important. Similar case holds for negative class instances too.

I am looking for some way of classifying these instances. Please let me know if such an algorithm exists.

To start with, I tried splitting the tuples – a1_1 and a1_2 formed two separate columns for an instance, leading to twice the number of feature values per instance – and used LIBSVM (C/C++) library, but the results were not good. I suppose it is not meaningful to split the tuples and hence a search for a suitable method.

  • 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-07T00:56:30+00:00Added an answer on June 7, 2026 at 12:56 am

    All things being equal, I’d imagine that if your data actually contains pairs of things, then it would be useful to communicate that fact to the learning algorithm. Splitting your monolithic pairs into separate features gives your classification algorithm a chance to learn about any useful relationships that might exist between the two features.

    That’s just a general rule of thumb, however. There are several reasons that you might not be getting good classification results:

    1. It’s possible that there is no useful relationship between the two features of a pair. If that’s the case, then splitting into two features has made your problem a lot harder: now the classification algorithm has an additional dimension to explore.
    2. Maybe you haven’t found the right learning algorithm. Different algorithms have different strengths, and it’s possible that using multiple features is a fine idea provided that you use the proper classification algorithm. I’d suggest trying a supervised learning package like Weka, which provides a really easy way to compare a bunch of learning algorithms on a single problem. Just convert your data into .arff format and you’ll be classifying using SVNs, decision trees, neural networks, etc. in no time.
    3. You might not be providing enough features. When you split a1, a2, ... into separate features [a1_1, a1_2], [a2_1, a2_2], ..., you could also include the reversed data as well, e.g. [a1_1, a1_2], [a1_2, a1_1], [a2_1, a2_2], [a2_2, a2_1], ... For that matter, you could also use three features by including the non-split version for each datum, e.g. [a1, a1_1, a1_2], [a2, a2_1, a2_2], ... That’s kind of a “let’s throw every feature we can think of at the problem” approach.
    4. It could be that you just have a very hard classification problem. Do you have any evidence that there is actually some signal in your input that a classifier could use to divide data into two groups?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have class like this below shown. which contains the shopping items where the
I have Class and Student objects. Both have collection of another as property. Which
I have class LegacyClass which inherits OldBaseClass. I'm considering a change to introduce a
We have class lua. In lua class there is a method registerFunc() which is
I have the following model class Plugin(models.Model): name = models.CharField(max_length=50) # more fields which
Suppose I have a composite class PharmaProduct (which represents the product hierarchy of a
Consider the code below (which has been simplified). I have a service class that
I want create a DataSet class which is basically a list of samples. But
I have a class which uses both ADO.NET and LINQ to access a pair
I have a linq query to a XML dataset, which when executed is generating

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.