How to include an id# in auto model predict result without it contributing to input.

donsdons MemberPosts:4Newbie
edited November 2019 inHelp
I've tried making it an id or label. It doesn't appear in the result column unless I make it an input, in which case it contributes to the input which I don' want.
Tagged:

Best Answer

Answers

  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn
    Hi@dons,

    I'm not sure to understand.
    But if we take example on the Iris dataset :
    1/ Check the Id column in order the id is taken into account



    2/ ExecuteAutomodel
    3/ Open a process (when the execution is completed).
    4/ Go toLoad and Process Data



    5/ GO toPreprocessing-->Define Target ?

    6/ In theDefine Target (Set Role)operator set your id column asidin the parameters.

    This way, your id column/attribute will appear as "id" in the results tables.

    Hope this helps,

    Regards,

    Lionel



  • donsdons MemberPosts:4Newbie
    Thank you Lionel. After Predict runs, I click on General, Data, and Open Process. Then as you indicated, Preprocessing, and Define Target. Then Set Role example set output.
    I highlight the out circle on the far right and click on the id#. The Role box is blank, and I don't see a way to set it to id. Don
  • donsdons MemberPosts:4Newbie
    Thank you Lionel. Please check this, After Predict runs, I clicked on General, Data, and Open Process. Then as you showed, Load and Process Data, Preprocessing, Define Target. In the upper right Actions is picked. On the far right, I click on Set Role examples set output
  • donsdons MemberPosts:4Newbie
    Thank you Lionel for your detailed instructions.
    Don
    lionelderkrikor
  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn
    You're welcome, Don.

    Regards,

    Lionel
Sign InorRegisterto comment.