community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
#SANTALYTICS

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More
We will be upgrading the Gallery to our 2019.4 release this Saturday, December 7th beginning at 9:00am MT. We expect the outage to take last approx. 2.5 hours.
SOLVED

Iterative Batch Macro for Forest Model

Meteoroid

Hi,

 

I want to create an iterative forest model which changes the input parameter (number of variables to be used in each split) on the go using a text input object and run iteratively till the number of items come to an end in the text input. As a result of this iteration we should get the best model on the basis of some model assessment done by us.

 

Is there a possibility to do this in Alteryx, just like we create a for loop in R and change the parameters for each iternation.

 

Sid

Alteryx
Alteryx

Hi @sidjain1112

 

Attached is an example of where you can feed in the list of values to iterate through. 

 

Best,

 

Jordan Barker

Solutions Consultant

Meteoroid

Hi Jordan,

 

Thanks for your reply. I looked at your example and it seems that you have provided the input parameter value "max depth" into the tree model by using the control input parameter.

 

Now I am confused because when i run this model then i get 2 identical tree outputs. This is because the tree always takes the value of max depth=10 and it is getting repeated with number of values. So can you please check it and let me know how to update it so that the model takes the parameter value from the input field.

 

Sid

Meteoroid

Hi,

 

I updated it and its working fine now. Thanks a lot for your reply again. Appreciate your help.

 

Sid

Labels