| frbsObjectFactory {frbs} | R Documentation |
The object factory for frbs objects
Description
This function creates objects of type frbs. Currently, its
implementation is very basic and does no argument checking, as
it is only used internally.
Usage
frbsObjectFactory(mod)
Arguments
mod |
a list containing all the attributes for the object |
Details
The members of the frbs object depend on the used learning method. The following list describes all of the members that can be present.
num.labelsthe number of linguistic terms for the variables
varout.mfa matrix to generate the shapes of the membership functions for the output variable. The first row represents the shape of the membership functions, the other rows contain the parameters that have been generated. Whether the values of parameters within the matrix are normalized to lie between 0 and 1 or not depends on the selected method.
rulethe fuzzy IF-THEN rules; In the
GFS.FR.MOGULcase, a rule refers to the parameter values of the membership function which represents the rule.rule.data.numthe fuzzy IF-THEN rules in integer format.
varinp.mfa matrix to generate the shapes of the membership functions for the input variables. The first row represents the shape of the membership functions, the other rows contain the non
NAvalues representing the parameters related with their type of membership function. For example,TRAPEZOID,TRIANGLE, andGAUSSIANhave four, three, and two values as their parameters, respectively. Whether the values of parameters within the matrix are normalized to lie between 0 and 1 or not depends on the selected method.type.modelthe type of model. Here,
MAMDANIrefers to the Mamdani model, andTSKrefers to the Takagi Sugeno Kang model on the consequence part.func.tska matrix of the Takagi Sugeno Kang model consequent part of the fuzzy IF-THEN rules.
classa matrix representing classes of
FRBCSmodelnum.labelsa number of linguistic terms on each variables/attributes.
type.defuzthe type of the defuzzification method.
type.tnormthe type of the t-norm method.
type.snormthe type of the s-norm method.
type.mfthe type of shapes of membership functions.
type.implication.functhe type of the implication function.
method.typethe type of the selected method.
namethe name given to the model.
range.data.orirange of the original data (before normalization).
clscluster centers.
Dthrthe boundary parameter of the
DENFISmethod.dthe multiplier parameters of the
DENFISmethod.r.athe neighborhood factor of
SBC.degree.rulecertainty degree of rules.
rule.data.numa matrix representing the rules in integer form.
grade.certgrade of certainty for classification problems.
alpha.heuristica parameter for the heuristic of the
FS.HGDmethod.var.mf.tunea matrix of parameters of membership function for lateral tuning.
mode.tuninga type of lateral tuning.
rule.selectiona boolean of rule selection.
colnames.varthe names of variables.
Value
an object of type frbs