RI.laplace: Quality indicators of RST decision rules

View source: R/RuleInduction.R

RI.laplaceR Documentation

Quality indicators of RST decision rules

Description

Functions for extracting quality indices of rules.

Usage

RI.laplace(rules, ...)
RI.support(rules, ...)
RI.confidence(rules, ...)
RI.lift(rules, ...)

Arguments

rules

a "RuleSetRST" object containing a set of decision rules. See RI.LEM2Rules.RST.

...

the other parameters (currently omitted).

Value

A numeric vector with values of the corresponding quality measure.

Author(s)

Andrzej Janusz

Examples

###########################################################
## Example : Filtering a set of decision rules
###########################################################
data(RoughSetData)
hiring.data <- RoughSetData$hiring.dt

rules <- RI.LEM2Rules.RST(hiring.data)

rules

# a vector of rules' Laplace estimate of the confidence:
RI.laplace(rules)
# a vector of rules' confidence values:
RI.confidence(rules)

# subsetting a set of rules:
rules[RI.support(rules) > 0.2]
rules[RI.lift(rules) < 1.5]


RoughSets documentation built on May 29, 2024, 7:34 a.m.