Learn R Programming

SDR (version 0.7.0.0)

Pop.fuzzyReasoningMethod: Calcultes the Fuzzy Reasoning Method for all examples for a given rule population

Description

Calcultes the Fuzzy Reasoning Method for all examples for a given rule population

Usage

Pop.fuzzyReasoningMethod(pop, dataset, examplesNoClass, frm, categorical, numerical, t_norm)

Arguments

pop
A list with all rule object that define the population
dataset
the keel object with the dataset information.
examplesNoClass
matrix with all examples of the dataset without the class attribute. One examples per column.
frm
An integer specifing the tipo of fuzzy reasoning method to use. 0 for Winning Rule, 1 for Normalized Sum and 2 for Arithmetic Mean.
categorical
Logical vector indicating which attributes of the dataset are categorical.
numerical
Logical vector indicating which attributes of the dataset are numerical.
t_norm
The t_norm to use. 0 for minimum t-norm. 1 for product t-norm.

Value

a vector indicating the class predicted for each example.