Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Logging current value of iterator(s)
keith
I'm using ValueSubgroupIterator to process an example set in different chunks based on the value of an attribute. For each group, I'm creating a model. How can I log the current value of the grouping attribute, so I know in what order the values have been processed? I tried ProcessLog, but it doesn't appear to let me log the value of the macro variable, only the name of the variable itself.
To clarify, I realize that the value of one subgroup is included in the models and data tables created inside the loop. My situation is that I am iterating over three different variables nested inside one another, and need to know the values of all three, not just the outermost loop, which is what is currently embedded in the tab names of the resulting objects.
Find more posts tagged with
AI Studio
Accepted answers
All comments
IngoRM
Hi Keith,
the new version 4.3 (about to be released) will provide an operator "ValueIterator" which provides a macro for the current value. Together with the new operator "Macro2Log" you can then log this value. And an inner ExampleFilter (also using this macro) can be used to filter out the correct examples (like in the ValueSubgroupIterator).
Cheers,
Ingo
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups