Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
bitwise or?
wasperen
Does RapidMiner have a bitwise OR function?
Find more posts tagged with
AI Studio
Accepted answers
All comments
IngoRM
Hi,
( don't write too much or bother with greetings or anything else...
)
since the amount of information is enormous I don't even know where to start. Hence: it depends. If the bits are stored via examples or attributes (each bit one), this should be possible by wise aggregations. However, if you mean that you would like to calculate a bitwise OR between two attributes and store the result in a third one I am afraid the answer is no. But you always can of course the operator "Execute Script" in cases like this...
Cheers,
Ingo
wasperen
thought to keep it short and sweet
But. Hi everyone. And thanks to the ever relentless Ingo!
Yes, I exactly meant att3 = att1 bitwise-or att2.
I've never had any need for the script operator -- maybe this is the first time!
Thanks,
Willem
IngoRM
Hi,
you could indeed try the script operator. Or - if you are familiar with programming and are able to build RapidMiner yourself - you could download and build the latest developer version. I just have added four new functions bit_and(x,y), bit_or(x,y), bit_xor(x,y), and bit_not(x) for integer values x and y to the expression parser which is used for the operator "Generate Attributes". If you are an enterprise customer, just contact your sales representative and he or she will make sure that you will get an update before the next official release.
Cheers,
Ingo
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups