The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Rapid Miner _ Many-to-many
![dennis_enkelman](https://us.v-cdn.net/6030995/uploads/defaultavatar/nCCNNSPK1YM69.jpg)
![](https://s3.amazonaws.com/rapidminer.community/vanilla-rank-images/learner-16x16.png )
in Help
Hi everyone,
I am new here and I just started using rapidminer.
I want to use it for my research in chemistry but I have already a few problems how to set up my data right for rapidminer, since my dataset does not really look like the examples I find out there.
To make things easier lets just say I am searching for matching substance pairs:
->I have around 60 substances.
->Theoretically every substance can match every other substance.
->Practically a few are known to match, others are known not to match and some are a " maybe" .
->Every substance has a lot of different properties (> 10), which I know all (for example color, smell, molecular weight,...).
When I now want to create a dataset, I have a " n: m " problem, which would be solved in a classical database with tables where the individual matches are linked by IDs.
Is there a way in rapidminer to link my matches from two identical tables? Or should I think about a way to express the many-to-many relationship in one table? If so, any Ideas how to do that ?
Thanks for your help in advance!
Cheers,
Dennis
I am new here and I just started using rapidminer.
I want to use it for my research in chemistry but I have already a few problems how to set up my data right for rapidminer, since my dataset does not really look like the examples I find out there.
To make things easier lets just say I am searching for matching substance pairs:
->I have around 60 substances.
->Theoretically every substance can match every other substance.
->Practically a few are known to match, others are known not to match and some are a " maybe" .
->Every substance has a lot of different properties (> 10), which I know all (for example color, smell, molecular weight,...).
When I now want to create a dataset, I have a " n: m " problem, which would be solved in a classical database with tables where the individual matches are linked by IDs.
Is there a way in rapidminer to link my matches from two identical tables? Or should I think about a way to express the many-to-many relationship in one table? If so, any Ideas how to do that ?
![:D :D](https://rapidminer.vanillacommunities.com/resources/emoji/lol.png)
Thanks for your help in advance!
Cheers,
Dennis
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533
RM Data Scientist
Hi,i am not sure what you ultimativly want to do?Don't start with too much of a data base thinking. While in databases you want to go for your star schema, in data mining you need to generate a "one line per recpipe/customer.." representation to start mining.Best,Martin- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany5
Answers
it feels like you just want to use a join operator?
BR,
Martin
Dortmund, Germany
Im not sure if I am right, but I understood the join operator as "merging" two tables to one.
What I want to do is to include the information of couples into rapidminer. In the following the software should learn to predict if two different substances fit together or not.
I would understand how to use "join" in a one-to-many relationship, but in my case I can't
Attached you find an example dataset of two data tables and one table combining the primary keys of the couples. Lets say there is a missing couple between 4 and 3. If rapid miner would learn the (hypothetical) connections of color and molar weight it could predict the missing couple. (Dont think about the content here, I just try to keep it simple)
Thanks!
Dennis
In databases its so easy to link such relationships via a many to many function. I was hoping there is something similar in RM.
Cheers,
Dennis
I will try that! Thanks for your advice
Cheers,
Dennis