HyFIS updating function

Description

This function is called by HyFIS to update the parameters within the HyFIS method.

Usage

 1 2 HyFIS.update(data.train, def, rule, names.varoutput, var.mf, miu.rule, num.labels, MF, step.size = 0.001, degree.rule) 

Arguments

 data.train a matrix (m \times n) of normalized data for the training process, where m is the number of instances and n is the number of variables; the last column is the output variable. def matrix of defuzzification results. See defuzzifier. rule fuzzy IF-THEN rules. See rulebase. names.varoutput a list of names of the output variable. var.mf a matrix of parameters of the membership functions. Please see fuzzifier. miu.rule a matrix of degree of rules which is a result of the inference. num.labels a matrix (1 \times n) whose elements represent the number of labels (or linguistic terms), where n is the number of variables. MF a matrix of parameters of the membership functions which is a result of the fuzzifier. step.size a real number, the step size of the gradient descent. degree.rule a matrix of degrees of rules. See frbs-object.

HyFIS