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:
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:
 For each Attribute I need to generate a new Column:
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
           Tagged:
          
          
           0
           
          
         
 
          
 Newbie
Newbie
Answers
Dortmund, Germany
The top 100 groups account for about 70% of the total.
Dortmund, Germany