To calculate the derivatives of output.L3 with respect to output.L2.
anfis.dO3.dO2(anfis, output.L2, output.L2.which)
The given ANFIS model
The output of nodes in Layer 2
A list of matrix indicating which output (w.lower, w.upper) in layer 2 should be used by the ekm algorithm
The derivatives of output.L3 with respect to output.L2. do3.left[j].do2[i] <- do3.do2[[i]][[1]][[j]]
This function is not recommended for external use, but can be used for debugging or learning.