Fuzzy Logic Toolbox    
genfis2

Generate an FIS structure from data using subtractive clustering.

Syntax

Description

Given separate sets of input and output data, genfis2 generates an FIS using fuzzy subtractive clustering. When there is only one output, genfis2 may be used to generate an initial FIS for anfis training by first implementing subtractive clustering on the data. genfis2 accomplishes this by extracting a set of rules that models the data behavior. The rule extraction method first uses the subclust function to determine the number of rules and antecedent membership functions and then uses linear least squares estimation to determine each rule's consequent equations. This function returns an FIS structure that contains a set of fuzzy rules to cover the feature space.

The arguments for genfis2 are as follows:

Examples

This is the minimum number of arguments needed to use this function. Here a range of influence of 0.5 is specified for all data dimensions.

This assumes the combined data dimension is 3. Suppose Xin has two columns and Xout has one column, then 0.5 and 0.25 are the ranges of influence for each of the Xin data dimensions, and 0.3 is the range of influence for the Xout data dimension.

This specifies how to normalize the data in Xin and Xout into values in the range [0 1] for processing. Suppose Xin has two columns and Xout has one column, then the data in the first column of Xin are scaled from [-10 +10], the data in the second column of Xin are scaled from [-5 +5], and the data in Xout are scaled from [0 20].

See Also

subclust


  genfis1 gensurf