Learn R Programming

GeoFIS (version 1.1.1)

NewFisFusion: Create object of class "Fis" to be used in data fusion

Description

Function to create object of class FisPro::Fis to be used in AggregFis

Usage

NewFisFusion(
  fis_name,
  input_names,
  input_granularities,
  output_name,
  output_conclusions
)

Value

FisPro::Fis object

Arguments

fis_name

character vector, The name of the Fis

input_names

character vector, The Fis inputs names

input_granularities

integer vector, The granularity (number of membership functions) for each Fis input (granularity must be in range [2, 5])

output_name

character vector, The name of the Fis output

output_conclusions

numeric or character vector, The conclusions of the rules in the Fis
the rules are generated according to the granularity of each input, in the lexicographic order of inputs Mfs
(prod(input_granularities) rules are generated)
if numeric vector, a crisp output FisPro::FisOutCrisp will be added to the Fis (all output conclusions must be be in range [0, 1])
if character vector, a fuzzy output FisPro::FisOutFuzzy will be added to the Fis, the output_conclusions contains the labels of Mfs in the fuzzy output (labels defined on FusionLabel)
the length of output_conclusions must be equal to the number of generated rules.

See Also