The role of this function is to update the parameters of the fuzzy inference rules by descent method (FIR.DM).
This function is called by the main function of the FIR.DM method, `FIR.DM`

.

1 2 | ```
DM.update(data.train, rule.data.num, miu.rule, func.tsk, varinp.mf,
step.size = 0.01, def)
``` |

`data.train` |
a matrix ( |

`rule.data.num` |
a matrix containing the rulebase. Its elements are integers, see |

`miu.rule` |
a matrix with the degrees of rules which is a result of the |

`func.tsk` |
a matrix of parameters of the functions on the consequent part of the Takagi Sugeno Kang model. |

`varinp.mf` |
a matrix of parameters of the membership functions of the input variables. |

`step.size` |
the step size of the descent method, between 0 and 1. |

`def` |
a matrix which is obtained from the defuzzification. Please have a look at |

`frbs.learn`

, `predict`

, and `FIR.DM`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.