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
[SOLVED] attribute_value
== Short Version ==
I used "Generate Attribute" to generate a new attribute which I am comparing with a label.
The problem is that the attribute has the type attribute_value, I would like to convert it to (poly)nominal. How can I do it?
== Long Version ==
I am doing an integer classification task, but the predictions of some classificators aren't integer. (I'm fine with this and this is what I intend).
For evaluation purposes, I which to use a specific tolerance parameter in order to assert the accuracy of the prediction. I tried to achieve this using the Generate Attribute class and an if clause, but the resulting attribute isn't comparable.
Is this the best approach?
Thank you for your help.
I used "Generate Attribute" to generate a new attribute which I am comparing with a label.
The problem is that the attribute has the type attribute_value, I would like to convert it to (poly)nominal. How can I do it?
== Long Version ==
I am doing an integer classification task, but the predictions of some classificators aren't integer. (I'm fine with this and this is what I intend).
For evaluation purposes, I which to use a specific tolerance parameter in order to assert the accuracy of the prediction. I tried to achieve this using the Generate Attribute class and an if clause, but the resulting attribute isn't comparable.
Is this the best approach?
Thank you for your help.
0
Answers
have you tried the 'Guess Type' operator? Maybe it can help you to change it to the correct type.
If the operator does not help, can you please post the expression you use to generate your attributes?
Regards,
Nils
One of the attributes was being interpreted as a nominal and I was manipulating it mathematically.