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
One-Hot Encoding Top 10 Items (Fractional) Rest Other
Hello together,
i am searching for a smart solution for One-Hot Encoding to the Top 10 (Fractional) Items.
Currently I solve the problem by creating a new attribute for the top 10 values. For example:


For each Attribute I need to generate a new Column:
if((contains([Attri],"Example Data")) ,1,0)
Does anybody have a smart solution for this kind of issue ?
Kind regards,
ZaRRoK
i am searching for a smart solution for One-Hot Encoding to the Top 10 (Fractional) Items.
Currently I solve the problem by creating a new attribute for the top 10 values. For example:

if((contains([Attri],"Example Data")) ,1,0)
Does anybody have a smart solution for this kind of issue ?
Kind regards,
ZaRRoK
Tagged:
0
Answers
Dortmund, Germany
The top 100 groups account for about 70% of the total.
Dortmund, Germany