The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Id attribute
Hi,
what is the purpose of a id attribute? There's no documentation in the Attributes source file. As far as I understand it can be used by operators which create example sets and which want to assign a unique value to each example to identify an example later by another operator. Id attributes (and "special" attributes in general) are not used by Learners and Models, right?
Thanks
what is the purpose of a id attribute? There's no documentation in the Attributes source file. As far as I understand it can be used by operators which create example sets and which want to assign a unique value to each example to identify an example later by another operator. Id attributes (and "special" attributes in general) are not used by Learners and Models, right?
Thanks
0
Answers
the Id attribute is indeed not used by learners to build a model since this generally not intended. Hence, the Id attribute is ignored by the learners. On the contrary other special attributes have to be used by learners. The most important special attributes which has to be used by learners (if they implement supervised learning schemes) is the label. Some learners additionally use the potentially present weight attribute (which is also special) to make use of example weights.
Regards,
Tobias
Regards,
Thomas
You can use "Set Role" to change the role of an attribute but only one id is allowed at a time. If you want multiple ids, you could set the roles of the ones you want to be id1, id2, id3 and so on. Here's an example regards
Andrew