Options

Cube Root and Cube

scooter7scooter7 Member Posts: 8 Contributor II
Hi,

When trying to generate attributes, I know how to use the built-in functions for log transforms, etc. However, i do not know how to generate the cube root of a variable. Similarly, i also want to know how to generate the cube of a variable. Can someone please help me with these transformations?

Thanks,
James

Answers

  • Options
    awchisholmawchisholm RapidMiner Certified Expert, Member Posts: 458 Unicorn
    Hello James

    Within the Generate Attributes operator you can use the function pow() - so for an attribute called att1, the cube would be pow(att1,3) and the cube root would be pow(att1,1/3)

    regards

    Andrew
  • Options
    scooter7scooter7 Member Posts: 8 Contributor II
    Thanks!
Sign In or Register to comment.