Table KNIME Rule Engine
Description
Section titled “Description”The Table: KNIME Rule Engine step applies a list of KNIME Rule Engine rules that are held in a table, read when the step runs. The first rule that matches a row decides its outcome. Migrated KNIME workflows use this step for the Rule Engine (Dictionary), Rule Engine Variable (Dictionary), Rule-based Row Filter (Dictionary), and Rule-based Row Splitter (Dictionary) nodes, including PMML rule sets, when the rules come from a table that is only known when the workflow runs.
The step converts the rules it reads the same way the converter does. A rule it cannot carry, such as one that uses Java-only syntax or a flow variable, fails the step rather than writing a wrong column.
The step form has a Tables section where Use the Rules To picks the rule kind and you choose the source, output and rules tables, an Output section, a Rule Set Scoring section for PMML rule sets, and a Columns section.
Configuration
Section titled “Configuration”sourceandtarget_frame— the table to read and the table to write.source_columnsandtarget_columnsare the columns read and written; the target column named byoutput_columngets the rules’ result.rules_source— the table whose rows are the rules.rules_columnholds each rule,outcome_columnits outcome, andrules_order_column, when set, orders the rules.rule_kind—engine(default) writes the rules’ outcome tooutput_column, typed byoutput_dtype.filterandsplitterwrite the rows the rules keep:include(default true) decides whether a rule outcome of TRUE keeps or drops the row, andportis1for the rows kept or2for the rest.variablewrites the one-row table of the value the rules compute, with no source table.outcome_cell— the KNIME cell type of the outcome column, which decides how an outcome is written in a rule.knime_typesgives the KNIME cell type of zoned date-time, duration and period input columns.dollar_references— outcomes in$column$form name columns rather than text.disallow_long(default true) matches KNIME’s setting of the same name.- PMML rule sets —
default_ruleis a rule that always fires, appended last.weight_columnanddefault_weight(default 1.0) set each rule’s weight for weighted selection, where the heaviest rule is tried first.confidence_column,confidence_cell,confidence_outputanddefault_confidence_rulewrite the confidence of each rule’s result.
Related
Section titled “Related”- Table Extract — rules known when you convert become column expressions and filters
- KNIME Conversion Matrix