How to include an id# in auto model predict result without it contributing to input.
dons
New Altair Community Member
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:
0
Best 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,
Lionel1
Answers
-
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
0 -
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. Don0 -
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,
Lionel1 -
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 output0
-
Thank you Lionel for your detailed instructions.
Don1 -
You're welcome, Don.
Regards,
Lionel0