Forum Discussion

FICO's avatar
FICO
Community Manager
6 years ago

Question regarding Modes of execution

can someone please explain me the modes of execution relating them to

  • When to use?
  • What to use?(For decision tables, rulesets,functions.....and so on)

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hello,

    you can go through the documents

  • FICO's avatar
    FICO
    Community Manager

    Default/RETE algorithm - this mode is best to use when you have rules where the action of the rule can change the data and you would then want to re-evaluate which rules apply. It also works very well in situations when a very small percentage of the rules will trigger and fire, it is very efficient at finding that one or two rules out of hundreds that could apply.

    Optimized Inference - this is the RETE 3 algorithm, similar to default in its ability to re-evaluate automatically when data changes, and it gains performance speed by requiring you to add some additional code such as when adding a new variable as part of a rule.

    Sequential mode - if you do not need the ability to re-evaluate the rules, then this is frequently the faster performing mode for a ruleset, it will evaluate each rule in order.

    Compiled sequential - this takes the sequential mode and compiles the resulting code into byte code for maximum performance. This mode is only available within Blaze Advisor at additional cost, and it is the default mode used in Blaze Advisor on the cloud (Decision Modeler).

    This is explained at length in the Reference.pdf in the documentation, including which modes are available for functions, decision flows, and so on.