Source code for pyFTS.models.multivariate.FLR
[docs]class FLR(object):
"""Multivariate Fuzzy Logical Relationship"""
def __init__(self):
"""
Creates a Fuzzy Logical Relationship
:param LHS: Left Hand Side fuzzy set
:param RHS: Right Hand Side fuzzy set
"""
self.LHS = {}
self.RHS = None
def __str__(self):
return "{} -> {}".format([self.LHS[k] for k in self.LHS.keys()], self.RHS)