Tree Depth as flow variable

Hi

I’m trying to make tree depth as a flow variable for training decision tree learner. But when I add it the decision tree learner it is not in the drop-down options. The only parameters that are available are max and current iterations. How can I solve this problem?

Hi @Nilou -

The maxLevels flow variable input in the Simple Regression Tree Learner requires an integer as input. So, in the Parameter Optimization Loop Start node, you should check the Integer checkbox for the flow variable you create, to make sure it’s a match.

2 Likes

Thanks for your reply!

It is already checked as integer. But the tree depth flow variable does not show in any of the drop-downs.

In that case, can you upload a snippet of your workflow itself instead of just the screenshot? When I briefly tried to recreate the issue on Thursday, everything was working fine for me.

1 Like

When I removed the X-partitioner and X-aggregator and replaced it by a simple partitioning node it started working. How can I make the model working with X-practitioner and X-aggregator?

Can you upload the original workflow please, with some dummy data? That will help determine if there is a bug here, or just a different configuration is needed.

1 Like

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