The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Getting the names of the attributes selected in Loop Attribute Subset"
I am using the Loop Attribute Subset and it nicely generates a collection of all combinations of the appropriate attributes.
But I would like to create an example set that says: combining A+B gives result X, combining A+C gives result Y etc. Is there a way to obtain, in the loop, a notion of what attributes are currently looked at?
Something like %{attributes} that gives me A;B. I could then add that as an attribute to my result set...
But I would like to create an example set that says: combining A+B gives result X, combining A+C gives result Y etc. Is there a way to obtain, in the loop, a notion of what attributes are currently looked at?
Something like %{attributes} that gives me A;B. I could then add that as an attribute to my result set...
Tagged:
0
Answers
this is of course possible: You could use the operator "Log" for accessing the current iteration's used attributes, the attribute count, and a performance (if available). I have uploaded a sample process to myExperiment.org:
http://www.myexperiment.org/workflows/2211.html
You can easily download the process with our Community Extension from myExperiment (search in the forum for more information about the extension).
The result will be a table containing the attribute names, the attribute count, and I calculated a performance with an inner cross validation as well and stored it also in the table. Below is the result for "Golf":
Outlook, Temperature 2.0 0.7
Outlook, Temperature, Wind 3.0 0.7
Outlook 1.0 0.65
Temperature 1.0 0.65
Outlook, Humidity 2.0 0.65
Humidity, Wind 2.0 0.65
Temperature, Humidity, Wind 3.0 0.65
Wind 1.0 0.6
Outlook, Wind 2.0 0.6
Temperature, Humidity 2.0 0.6
Temperature, Wind 2.0 0.55
Outlook, Temperature, Humidity 3.0 0.55
Outlook, Temperature, Humidity, Wind 4.0 0.55
Humidity 1.0 0.45
Outlook, Humidity, Wind 3.0 0.35
Hope that helps,
Ingo
Thanks for this. It takes a bit of a round-tour but works for me.
Kind regards,
Willem
Cheers,
Ingo