"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