Learn R Programming

SDR (version 0.7.0.0)

Rule.toCANVectorRepresentation: Converts a rule antecedent to a CANONICA vector representation

Description

The function converts a rule into a CANONICA vector representation for ease the evaluation. The evaluation of a rule with a vetor representation can be evaluated througth functions of evaluation of rule (.fit13 or .fitnessMESDIF) that are available inside the package SDR

Usage

Rule.toCANVectorRepresentation(rule, dataset)

Arguments

rule
The rule that we want to evaluate.
dataset
The keel dataset which rule refers to.

Value

a matrix with one column to use easily with fitness functions of this package