🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

User: "jeszy"
New Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "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
    User: "jeszy"
    New Altair Community Member
    OP
    Hello Sebastian,

    This is good news, thank you very much!

    Best regards,

    Peter