plot.SDEFSR_Rules: Plot a rule set generated by a SDEFSR algorithm

Description Usage Arguments Details Value Examples

View source: R/exportedFunctions.R

Description

This function plots the rule set by means of a bar graph that shows TPR vs FPR quality measure of each rule

Usage

1
2
## S3 method for class 'SDEFSR_Rules'
plot(x, ...)

Arguments

x

an SDEFSR_Rules object generated by a subgroup discovery algorithm of the SDEFSR package

...

additional arguments passed to the plot

Details

This function works depending on the package ggplot2 that allow to generate such graph. If the package ggplot2 is not installed, the this function ask the user to install it. After install, load the package and show the graph.

A TPR vs FPR graph show the precision of a rule. Quality rules has big TPR values and small FPR values. Big values of both quality measures indicates that the rule is too much general and it is too obvious. Small values of both indicates that the rule is too much specific and it would be an invalid rule.

Value

A TPR vs FPR graph generated by ggplot2

Examples

1

SDEFSR documentation built on April 30, 2021, 9:10 a.m.