Options

# how to retrieve parameter or field names for functions?

hi,

in this video https://www.youtube.com/watch?v=4q629LRYByA

bhupandra used the expression param("Decision Tree", "maximal depth") to get out the values for depth parameter of the tree...how do I know what the parameter / value names of all the parameters are, to build such functions?

is there any advanced documentation out there about building those functions, or parameters /field names of parameters to get the values?

0

## Answers

955UnicornHi!

When you use an operator like Optimize Parameters (Grid) and put the other operator inside, you'll get a list of available parameters (and possible values) in the Optimize dialog.

Regards,

Balázs

168RM Data ScientistThe operator name is generally what you see in the process view, remember you can rename the operator, or if there are multiple of the same operator you will see numbers appended to the default names.

As far as the exact parameter goes most likely they are what you see in the parameter panel with the spaces replaced by underscore.

Unfortunately there is no specific documentation on this piece at this point

344Unicornok and where can I see a list of the functions that can be applied? I didn't know param("...") exists and what the parameters of that function are.. where can I look for them?

955UnicornHi,

you'll find the definition of all available functions in the Generate Attributes operator's Edit Expression window. param() is also there, with a description and an example.

There are lots of useful functions there.

They're also available in Generate Macro and other operators that take expressions.

Regards,

Balázs

344Unicornnice, thanks