Learn R Programming

SDR (version 0.7.0.0)

modifyFuzzyCrispIntervals: Modifiy the number of Fuzzy Labels of the dataset.

Description

This function change the number of fuzzy labels defined in the current KEEL dataset.

Usage

modifyFuzzyCrispIntervals(dataset, nLabels)

Arguments

dataset
The dataset to modify their fuzzy labels definitions. Must be a keel class.
nLabels
The new number of fuzzy labels. An integer greater than zero.

Value

This function returns the same dataset with their fuzzy definitions modified.

Details

The fuzzy definitions used in the keel class are triangular. Because you can only specify the number of fuzzy definitions, all those definitions has the same width. With this function you can re-calculate this triangular fuzzy sets.

Examples

Run this code
## Not run: 
#     modifyFuzzyCrispIntervals(habermanTra, 2)
#     modifyFuzzyCrispIntervals(habermanTra, 15)
# ## End(Not run)

Run the code above in your browser using DataLab