Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
[SOLVED] Binominal to Numerical
cliftonarms
I need to use a classification prediction result value that is a binominal in a calculation, but it does not function in calculations and I cannot find a "Binominal to Numerical" operator.
Im trying to do the following
prediction(binominal) x attribute(real)
The prediction variable is 1 or -1
I have tried "generate attribute" with an "if" statement to convert the binominal, but that does not work either.
Any ideas.
Find more posts tagged with
AI Studio
Accepted answers
All comments
cliftonarms
After half a bottle of red I had inspiration.
By treating the binomial value as a string i.e. enclosing it in quotes, you can then test its value correctly and create a real variable via "generate attribute"
Andrew2
Hello,
You could probably use polynominal to numerical - binominals are just frustrated polynominals after all.
Cheers
Andrew
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups