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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:00:38+00:00 2026-06-06T17:00:38+00:00

I want to create a classification tree in Matlab using classregtree. However, a lot

  • 0

I want to create a classification tree in Matlab using classregtree. However, a lot of data comes from wide histograms. I’ve noticed that when I add more histograms, the tree becomes worse. Is it possible to tell Matlab that it should group certain columns so it won’t threat all the values from the histogram separately, but evaluates them as one?

Edit: to clarify it a little bit more, I’ll provide an example from my current project. I have a dataset ‘A’ and a dataset ‘B’. B represents a histogram, and A represents all sorts of data. When I use A as the trainingset for the tree, and I use that set to test the tree, I get a score of 155/220 elements were correct. If I do the same for B, I get 97/220. However, if I add B to A, I get 145/220, which is less than 155/220. I think this is because classregtree doesn’t know that all the values from B actually represents a single variable.

  • 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-06T17:00:40+00:00Added an answer on June 6, 2026 at 5:00 pm

    It’s a long time ago I posted this question, but I have found the answer. It is not possible to group certain elements in a regression/classification tree, however there is a solution which provides similar result.

    Matlab can also tell you how certain it is that an answer of a tree is correct using the test and nodeerr functions. Using this information it is possible to combine multiple trees. So instead of putting all the data in one tree, you can create multiple trees. Now you can execute these trees independently, and obtain multiple, perhaps different, results. Using the error values of each result you can calculate which answer is most likely correct.

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

Sidebar

Related Questions

I want to create an instance of an IronPython class from C#, but my
I want to create a 3D visualizer of .raw volume medical datasets using marching
I have been using WEKA to do some text classification work and I want
I'm interested in data mining projects, and have always wanted to create a classification
I want to create a class in Java from a classname and an variable
I want create a excel with Apache POI in java and I must insert
i want create image animation , i have 50 images with png format now
I want create module which update list of usb devices automatically (not only mass
We want to create a widget platform for a particular website. I couldn't find
I want to create a file in the current directory (where the executable is

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.