Rdocumentation
powered by
Learn R Programming
SDR (version 0.7.0.0)
createNewRule: Creates a random general rule
Description
It creates a random general rule for a provided dataset with, at most, 50
Usage
createNewRule(dataset, tnorm, tconorm, rule_weight, clase = NULL)
Arguments
dataset
The keel dataset where getting the data
tnorm
The T-norm to use: 0 -> minimum T-norm, 1 -> product T-norm
tconorm
The T-conorm to use: 0 -> maximum T-conorm, 1 -> Probabilistic sum t-conorm
rule_weight
The Rule Weighting method: 0 -> Wining Rule, 1 -> Normalized sum, 2 -> Arithmetic mean
clase
Integer specifying the creation of a rule for the given class number. By default
'NULL'
, makes a rule with a random class in the consecuent.
Value
A new
'Rule'
object