Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Logarithmize attributes
chaosbringer
Hi,
the subject says it all. Is there an easy way to logarithmize attributes within rapid miner?
Thank you
Find more posts tagged with
AI Studio
Accepted answers
All comments
colo
Hi chaosbringer,
this should be easily possible where expressions are supported. The handling of attribute values is not the same for all operators (which sometimes is a bit irritating). The operator "Generate Attributes" uses an expression interpreter and also offers logarithmic functions. You could read the value that shall be logarithmized as macro (Extract Macro) and then create a new attribute (Generate Attributes) with a value like log(%{macro_value}).
From the operator description:
The following log and exponential functions are supported:
Natural Logarithm: ln(x)
Logarithm Base 10: log(x)
Logarithm Dualis (Base 2): ld(x)
Exponential (e^x): exp(x)
Power: pow(x,y)
Regards,
Matthias
chaosbringer
Hi Matthias,
thank you. Worked perfectly. Actually, you don't really need to extract anything. It is sufficient to do this only with the generate attributes operator.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups