def __init__(self, fis, defuzzification='centroid', **kwargs):
    self.fis = fis
    self.defuzzification = defuzzification
    for (parameter, value) in _get_vars(fis):
        setattr(self, parameter, kwargs.get(parameter, value))
def __init__(self, fis, defuzzification='centroid', **kwargs):
    self.fis = fis
    self.defuzzification = defuzzification
    for (parameter, value) in _get_vars(fis):
        setattr(self, parameter, kwargs.get(parameter, value))