Content deleted Content added
No edit summary |
Iridescent (talk | contribs) m →FML Syntax: Cleanup and typo fixing, typo(s) fixed: hasn’t → hasn't (3) |
||
Line 131:
</source>
Now, let us see a Takagi-Sugeno-Kang system that regulates the same issue. The most important difference with Mamdani system is the definition of a different output variable ''tip''. The <code><TSKVariable></code> tag is used to define an output variable that can be used in a rule of a Tsk system. This tag has the same attributes of a Mamdani output variable except for the ''domainleft'' and ''domainright'' attribute because a variable of this kind (called tsk-variable)
<source lang="xml">
Line 158:
</source>
The FML definition of rule base component in a Tsk system
As example, consider a tsk rule composed by ''(food is rancid) OR (service is very poor)'' as antecedent and, as consequent, ''tip=1.9+5.6*food+6.0*service'' that can be written as ''tip is cheap'' in an implicitly way. So the rule can be written in this way:
|