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.

Uploading own Association Rules (not creating them in rapid miner)

JetBlueJetBlue Member Posts: 1 Learner I
edited August 2019 in Help

I have an example list with text information which I want to classify according to content (not sentiment).

Now I have a secound list with set rules - like a dictionary - e.g. if word A,B or C accure it's definitalycategory 1. So the list has the two columns category and words that are 100% related to this categrory.

My question is now how can I uplad this information to my rapid miner model? I can create rules from an example set and apply them, but how do I add an excel list as set of rules?

Answers

  • kypexinkypexin RapidMiner Certified Analyst, Member Posts: 291 Unicorn

    Hi @JetBlue

     

    Generally, there's no way to add static ruleset as a part of any predictive model. Possible solutions depend on your real setup and how exactly are you going to use the rules / model.

     

    On a very general level, if you need to use both rules and model prediction in a real-world production system, this is usually done in a sequence, so first you apply static rules which can potentially filter out some examples which trigger the rules, then you just skip these examples from the model prediction. If you want just to apply a model in RM studio, the same principle applies, you should first filter the examples that can potentially trigger any static rule you have, and exclude those from modelling.    

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    @kypexin love your WTF site. 

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,528 RM Data Scientist

    Hi @JetBlue,

    you would need to use coding for this. probably an easy groovy script can do this.

     

    Best,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn

    @JetBlue you could also create a predictive model and then implement some manual overrides after the fact using Generate Attributes.  @kypexin talked about how to do that in advance, before going into predictive modeling, but it can also be done afterwards.  But there isn't really a way to seamlessly integrate both manual and machine-learning generated rules into the same "model" object.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.