Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

how to make all possible combination for data given

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited January 2021 in Help
Hello,
Parameter
DIR=PURCHASE;SALE
DIR=INWARD;OUTWARD
DIR=PURCHASE;SALE;INWARD;OUTWARD
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
FPRODUCT=REMITTANCE;FCY

want column like this
ParameterCombination

DIR=PURCHASE;SALE|
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=PURCHASE;SALE|FPRODUCT=REMITTANCE;FCY

DIR=INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY

DIR=PURCHASE;SALE;INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
DIR=PURCHASE;SALE;INWARD;OUTWARD|FPRODUCT=REMITTANCE;FCY

DIR=PURCHASE;SALE
DIR=INWARD;OUTWARD
DIR=PURCHASE;SALE;INWARD;OUTWARD
FPRODUCT=REMITTANCE;FCY;BILL PAYMENT;CREDIT CARD COLLECTION;FAWRI;TRAVEL CARD
FPRODUCT=REMITTANCE;FCY



Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi!

    Creating all combinations between two tables is usually done with the Cartesian Product operator. You can always self join two copies your data using Multiply and possibly cleaning up duplicates. After that you would use Generate Attributes to concatenate the two columns. If I interpret your output correctly, you would also Append the original table at the end.

    Regards,
    Balázs
Sign In or Register to comment.