Bagging optmization reduced performance

ravtal
ravtal New Altair Community Member
edited November 2024 in Community Q&A
Hi,

I am running an attached dataset to measure the performance of the model. Decision tree gave me a good accuracy value, however, when I used a bagging operator to increase the performance of the model, the output reduced the performance accuracy.
Could anyone help me with what changes I need to make in the model so that accuracy is optimized?

Note: dataset has no attribute tables, uncheck "first row as names" and column operator value to "," while importing the dataset.

Regards,
RT

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi @ravtal,
    this sounds like you overtrained your decision tree. Did you check for it?

    Best,
    Martin
  • ravtal
    ravtal New Altair Community Member
    You mean I should reduce the depth?
  • varunm1
    varunm1 New Altair Community Member
    Hello @ravtal

    As @mschmitz said, it might be due to overfitting. DId you try hyperparameter optimization using "optimize parameter grid operator"? You can search for the best hyperparameters for your algorithm and reduce overfitting. 
  • ravtal
    ravtal New Altair Community Member
    @varunm1 Ok, but do you think model design is good?