how we can transform data in categorie?

goldengriffsgoldengriffs Member Posts: 1 Contributor I
edited November 2018 in Help

hi dears,

i hava student performance dataset that must be categories in good,bad and average class.

how i can do it? which operators?

if value attribute <=10 then "bad"

if value attribute >=10 and <=15 then "average"

if value attribute >=15and <=20then "good"

for example,

rock=7

james=12

andesron= 17

rose=5

result:

rock= bad

james= average

anderson= good

rose=bad

 thanks

Best Answer

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
    Solution Accepted

    Looks like you'll need the Generate Attributes operator to do your expression evaluations. Just create a new column called "label" and then do a few if-then statements 

Sign In or Register to comment.