rapid miner read arrff

kiran2004
kiran2004 New Altair Community Member
edited November 2024 in Community Q&A
i am trying to figure out how to use read arf file operator to set role in dataset, i cant see any attribute in set role while selecting it from operator.
Tagged:

Best Answer

  • RolandJones
    RolandJones
    Altair Employee
    Answer ✓
    Hi @kiran2004,

    This sounds like the metadata hasn't caught up with the process yet (basically the headers can't pass through because it hasn't read the file yet). What I would do is set up the following, with the Read ARFF operator followed by a Set Role with a breakpoint in between.


    Also in the Process menu in the top-right, turn on the option "Synchronize Meta Data with Real Data".  You should then find that when you run the Read ARFF operator, you now have the attributes available in Set Role.

    Also note that you can manually type in the operators at any time into Set Role, even if it doesn't appear in the drop down.

    Hope this helps.

    Best,
    Roland

Answers

  • RolandJones
    RolandJones
    Altair Employee
    Answer ✓
    Hi @kiran2004,

    This sounds like the metadata hasn't caught up with the process yet (basically the headers can't pass through because it hasn't read the file yet). What I would do is set up the following, with the Read ARFF operator followed by a Set Role with a breakpoint in between.


    Also in the Process menu in the top-right, turn on the option "Synchronize Meta Data with Real Data".  You should then find that when you run the Read ARFF operator, you now have the attributes available in Set Role.

    Also note that you can manually type in the operators at any time into Set Role, even if it doesn't appear in the drop down.

    Hope this helps.

    Best,
    Roland