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
"R Extension - How to access an attribute with role prediction from an R script?"
Hello,
I would like to pass a "labelled data" ExampleSet produced by the Apply
Model operator to the Execute Script operator. The ExampleSet contains
a special attribute with role "prediction". It seems to me that this special
attribute is not available in the script, ie. it is removed from the data
frame passed to the script as input. I can change the role of the attribute
from "prediction" to "regular" using the Set Role operator as a workaround.
Is there any other way to access this attribute in the script?
Best regards,
Peter
I would like to pass a "labelled data" ExampleSet produced by the Apply
Model operator to the Execute Script operator. The ExampleSet contains
a special attribute with role "prediction". It seems to me that this special
attribute is not available in the script, ie. it is removed from the data
frame passed to the script as input. I can change the role of the attribute
from "prediction" to "regular" using the Set Role operator as a workaround.
Is there any other way to access this attribute in the script?
Best regards,
Peter
Tagged:
0
Answers
unfortunately in the current implementation this is just dropped. We will extend this with the next version.
Greetings,
Sebastian
This is good news, thank you very much!
Best regards,
Peter