kenoma / KerasFuzzy

This is an attempt to implement neuro-fuzzy system on keras
27 stars 5 forks source link

Defining rules in the hidden layer #1

Closed sreejith3534 closed 5 years ago

sreejith3534 commented 5 years ago

Hi, How can i specify rules into the hidden layer? also where are this antecedent and consequent ?

kenoma commented 5 years ago

Hi!

How can i specify rules into the hidden layer?

You can specify rules for fuzzy layer via initializer_centers and initializer_sigmas (see case5_iris_dataset.py for details). I have no problems with setting FuzzyLayer as hidden layer.

also where are this antecedent and consequent ?

FuzzyLayer class provide antecedent part of fuzzy inference pipeline, you should combine it with DefuzzyLayer to get consequence according to common fis approach.