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

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

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "lionelderkrikor"
    New Altair Community Member
    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/ Execute Automodel
    3/ Open a process (when the execution is completed).
    4/ Go to Load and Process Data



    5/ GO to Preprocessing --> Define Target ?

    6/ In the Define Target (Set Role) operator set your id column as id in the parameters.

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

    Hope this helps,

    Regards,

    Lionel



    User: "dons"
    New Altair Community Member
    OP
    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
    User: "lionelderkrikor"
    New Altair Community Member
    Accepted Answer
    Hi Don,

    To be more precise : 

     - Click on the Define Target (Set Role) operator and then click on Edit List : 




    Then  :  



    Then you can run the process...


    Regards,

    Lionel
    User: "dons"
    New Altair Community Member
    OP
    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
    User: "dons"
    New Altair Community Member
    OP
    Thank you Lionel for your detailed instructions.
    Don
    User: "lionelderkrikor"
    New Altair Community Member
    You're welcome, Don.

    Regards,

    Lionel