🦉 🎤   RapidMiner Wisdom 2020 - CALL FOR SPEAKERS   🦉 🎤

We are inviting all community members to submit proposals to speak at Wisdom 2020 in Boston.


Whether it's a cool RapidMiner trick or a use case implementation, we want to see what you have.
Form link is below and deadline for submissions is November 15. See you in Boston!

CLICK HERE TO GO TO ENTRY FORM

Generic join script

BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 295   Unicorn
edited August 10 in Knowledge Base

This script implements a generic join operation that can compare on arbitrary function results, for example inequality. 

 

Input1: Example set 1

Input2: Example set 2

 

Inside the script, the join attribute names from example set 1 and 2 need to be specified, and the join operation. This can be as simple as e1 == e2 or something like abs(e1 - e2) <= 0.1 for a "fuzzy match" or e1.matches(e2) for a regular expression match. 

 

The output is a joined example set. 

 

The inputs are not allowed to contain identical attribute names, those need to be renamed before using this script.

Thomas_Ottlionelderkrikor

Comments

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 295   Unicorn
    Here's an updated version with a bugfix.
    sgenzer
Sign In or Register to comment.