FormulaIDInfo
- class hybrid_learning.experimentation.fuzzy_exp.fuzzy_exp_helpers.FormulaIDInfo(obj, spec, pretty_spec, id, hash, dir)[source]
Bases:
tuplePublic Data Attributes:
The (parsed) formula object.
The string specification of the formula object.
The pretty string specification of the formula object.
A unique ID for the formula object taking into account the formula spec, logic, and constants.
The hash of the
id.A unique experiment directory path based on the
idand itshash.Public Methods:
Inherited from : py: class:tuple
index(value[, start, stop])Return first index of value.
count(value, /)Return number of occurrences of value.
Special Methods:
__repr__()Return a nicely formatted representation string
Return self as a plain tuple.
Inherited from : py: class:tuple
__repr__()Return a nicely formatted representation string
__hash__()Return hash(self).
__getattribute__(name, /)Return getattr(self, name).
__lt__(value, /)Return self<value.
__le__(value, /)Return self<=value.
__eq__(value, /)Return self==value.
__ne__(value, /)Return self!=value.
__gt__(value, /)Return self>value.
__ge__(value, /)Return self>=value.
__iter__()Implement iter(self).
__len__()Return len(self).
__getitem__(key, /)Return self[key].
__add__(value, /)Return self+value.
__mul__(value, /)Return self*value.
__rmul__(value, /)Return value*self.
__contains__(key, /)Return key in self.
__new__(_cls, obj, spec, pretty_spec, id, ...)Create new instance of FormulaIDInfo(obj, spec, pretty_spec, id, hash, dir)
Return self as a plain tuple.
- __getnewargs__()
Return self as a plain tuple. Used by copy and pickle.
- __repr__()
Return a nicely formatted representation string
- __slots__ = ()