One Rule (OneR)

sdr42016
sdr42016 New Altair Community Member
edited November 2024 in Community Q&A
Hi everyone,

is there any way to implement One Rule (OneR) algorithm in Rapid Miner? Maybe it is implemented with another name, but I can't find it in the 'Operators' section.

Best regards
Tagged:

Answers

  • varunm1
    varunm1 New Altair Community Member
    edited February 2020
    Hello @sdr42016

    I am not sure if Rapidminer has native operator for this. But, if you install Weka extension from rapidminer marketplace, then there is W-OneR operator in that.

    To install weka extension, you need to go to Extension --> Marketplace and then search for Weka.

    Hope this helps
  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Hi,

    RapidMiner calls this Decision Stump. It's among the tree based methods.

    If you want the model to be a rule, not a (minimal) tree, check out Tree to Rules.
    You can also limit the normal decision tree to maximal depth = 2, which will give you a one-rule decision, but with the positive properties of Decision Tree. (parallel processing, large number of settings, ...)
    There is also Single Rule Induction, but it's not very flexible.

    Regards,
    Balázs