248 CHAPTER 7. FUZZY-NEURAL AND NEURAL-FUZZY CONTROL
-1 -2
2 1
-2
(^12)
0
1
2
3
4
z
ANFIS info:
Number of nodes: 21
Number of linear parameters: 12
Number of nonlinear parameters: 8
Total number of parameters: 20
Number of training data pairs: 1681
Number of checking data pairs: 0
Number of fuzzy rules: 4
The four rules:
Ifx 1 isA 1 andx 2 isB 1 thenyisC 1
Ifx 1 isA 1 andx 2 isB 2 thenyisC 2
Ifx 1 isA 2 andx 2 isB 1 thenyisC 3
Ifx 1 isA 2 andx 2 isB 2 thenyisC 4