"R Extension - How to access an attribute with role prediction from an R script?"

jeszy
jeszy New Altair Community Member
edited November 5 in Community Q&A
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

Answers

  • land
    land New Altair Community Member
    Hi Peter,
    unfortunately in the current implementation this is just dropped. We will extend this with the next version.

    Greetings,
    Sebastian
  • jeszy
    jeszy New Altair Community Member
    Hello Sebastian,

    This is good news, thank you very much!

    Best regards,

    Peter