Options

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

jeszyjeszy Member Posts: 13 Contributor II
edited May 2019 in Help
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
Tagged:

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Peter,
    unfortunately in the current implementation this is just dropped. We will extend this with the next version.

    Greetings,
    Sebastian
  • Options
    jeszyjeszy Member Posts: 13 Contributor II
    Hello Sebastian,

    This is good news, thank you very much!

    Best regards,

    Peter
Sign In or Register to comment.