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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:34:35+00:00 2026-06-11T03:34:35+00:00

How do I combine few weak learners into a strong classifier? I know the

  • 0

How do I combine few weak learners into a strong classifier? I know the formula, but the problem is that in every paper about AdaBoost that I’ve read there are only formulas without any example. I mean – I got weak learners and their weights, so I can do what the formula tells me to do (multiply learner by its weight and add another one multiplied by its weight and another one etc.) but how exactly do I do that? My weak learners are decision stumps. They got attribute and treshold, so what do I multiply?

  • 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-11T03:34:37+00:00Added an answer on June 11, 2026 at 3:34 am

    If I understand your question correctly, you have a great explanation on how boosting ensambles the weak classifiers into a strong classifier with a lot of images in these lecture notes:

    http://www.csc.kth.se/utbildning/kth/kurser/DD2427/bik12/DownloadMaterial/Lectures/Lecture8.pdf

    Basically you are by taking the weighted combination of the separating hyperplanes creating a more complex decision surface (great plots showing this in the lecture notes)

    Hope this helps.

    EDIT

    To do it practically:

    in page 42 you see the formulae for alpha_t = 1/2*ln((1-e_t)/e_t) which easily can be calculated in a for loop, or if you are using some numeric library (I’m using numpy which is really great) directly by vector operations. The alpha_t is calculated inside of the adaboost so I assume you already have these.

    You have the mathematical formulae at page 38, the big sigma stands for sum over all.
    h_t is the weak classifier function and it returns either -1 (no) or 1 (yes).
    alpha_t is basically how good the weak classifier is and thus how much it has to say in the final decision of the strong classifier (not very democratic).

    I don’t really use forloops never, but I’ll be easier to understand and more language independent (this is pythonish pseudocode):

    strongclassifier(x):
        response=0
        for t in T: #over all weakclassifiers indices
            response += alpha[t]*h[t](x)
        return sign(response)
    

    This is mathematically called the dot product between the weights and the weak-responses (basically: strong(x) = alpha*weak(x)).

    http://en.wikipedia.org/wiki/Dot_product

    EDIT2

    This is what is happening inside strongclassifier(x):
    Separating hyperplane is basically decided in the function weak(x), so all x’s which has weak(x)=1 is on one side of the hyperplane while weak(x)=-1 is on the other side of the hyperplane. If you think about it has lines on a plane you have a plane separating the plane into two parts (always), one side is (-) and the other one is (+). If you now have 3 infinite lines in the shape of a triangle with their negative side faced outwards, you will get 3 (+)’s inside the triangle and 1 or 2 (-)’s outside which results (in the strong classifier) into a triangle region which is positive and the rest negative. It’s an over simplification but the point is still there and it works totally analogous in higher dimensions.

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

Sidebar

Related Questions

I've read a few topics about programs that combine Windows Forms and console applications,
I'd like to combine several queries into as few as possible. This is for
If you've seen my last few questions you'd know by now that I've been
I've got a few projects Im trying to combine into one and Ive already
I've read on few places already, that it's possible to combine XNA and WPF.
I'm trying to combine a few similar functions into a single functions, which need
Is there a know algorithm to factor an integer into as few factors as
i'm trying to use json_decode to combine a few json objects and then re-encode
To combine stderr and stdout into the stdout stream, we append this to a
I'm try to combine a checkbox values with a text field into one variable,

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.