Hello

SID10101998
SID10101998 New Altair Community Member
edited November 5 in Community Q&A
I have a doubt regarding One hot encoding Let say i have a table and in that table i have a column called points ranging from 1 to 5. When i separate the point column using One Hot Encoding operator i get separate column for each entity in the point column but now i want to multiply the 1's in the newly generated attributes with a multiplying factor using macros. How should i proceed?
Tagged:

Answers

  • rfuentealba
    rfuentealba New Altair Community Member
    Hello,

    Hope you found your answer. If not, you can use the "Generate Attribute" operator and generate a new attribute by using simple arithmetics. The operator itself has a few completion features that might help you. Ping me if you need more help.