To determin which output (w.lower, w.upper) to be used by the ekm algorithm
anfis.L2.which(anfis, output.L2, output.L4.mf)
The given ANFIS model
The output of nodes in Layer 2
The linear membership grades of nodes in Layer 4
A list of matrix indicating which output (w.lower, w.upper) in layer 2 should be used by the ekm algorithm
This function is not recommended for external use, but can be used for debugging or learning.
See the source code of anfis.eval
for usage.