It looks like you're new here. Sign in or register to get started.
sqrt(pow((attr1-attr2), 2))
sgn(a-b)*(a-b)
Answers
because there is no explicit function to get absolute values at the moment, I'd suggest the following: Edit: I concede! See Marius' answer below
Regards,
Marco
Dortmund, Germany
why not simply use your subject line?
abs(attr1-attr2) will also work perfectly in Generate Attributes
~Marius
Thanks very much for the answers! :-) I got now more solutions. But I think, if rapidminer can put the abs() also in the function list, will be better. Because abs() will be often used.