r/learnmachinelearning • • Mar 07 '26

Stacking in Ml

Hi everyone. Recently, I am working on one regression project. I changed the way to stacking (I mean I am using ridge, random forest,xgboost and ridge again as meta learner), but the mae didn’t drop. I try a lot of ways like that but nothing changes a lot. The Mae is nearly same with when I was using simple Ridge. What you recommend? Btw this is a local ml competition (house prices) at uni. I need to boost my model:

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/SometimesObsessed Mar 12 '26

Looks ok. What I mean is that instead of the stacking method, you'd just choose weights for each model. Like say 0.5 for model 1, 0.3 for model 2, and 0.2 for model 3. Then final pred is those weights times the model pred summed

1

u/Worried_Mud_5224 Mar 12 '26

Aa blending? I did it but actually it doesn’t seem reasonable to me. And also stacking model also give coefficients. At that point I am confused

1

u/SometimesObsessed Mar 15 '26

What doesn't seem reasonable? Stacking is just a different approach to ensembling but in practice doesn't add much over blending usually