Priors parameter in Decision Tree configuration page

Is there a way to help set Priors or Misclassification Costs when using the Decision Tree Learner node? I’ve learned about these concepts in a course but am not sure how to adjust for them using the DTL node. Thanks!

Hi, first at all welcome to Knime community hope you will enjoy the Knime experience.

I am pretty sure that the decision tree learner node does not have such option. So, in case that you want to balance your dataset and assign the same weight to all the observations (if I understand well), the SMOTE node can help.

In case that you need to set the costs you may need the R + Knime,

Cheers

Mau

3 Likes

Thank you! The SMOTE node is perfect. Much appreciated and thank you for answering so quickly.
m

2 Likes

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