XGBoost regression with poor accuracy

Hi @beginner
Which node provides the class weights approach?

That would be SMOTE, but I would recommend to start with something simple :slight_smile:

1 Like

Hi @zizoo,

the XGBoost nodes in KNIME allow to use weights in the binary classification setup. See discussion about a caveat here: xgboost: Scale positive weight. This will not directly apply to your original regression problem, but once you re-formulate in a binary classification context.

Alternatively, you can use

https://hub.knime.com/knime/extensions/org.knime.features.ext.h2o/latest/org.knime.ext.h2o.nodes.learner.drf.regression.H2ODRFRegressionLearnerNodeFactory3

that allows to use a column of weights. Other H2O models might have this option as well- you would need to have a look but you can start with Random Forest or GBM.

Best regards,
Mischa

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.