summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
diff options
context:
space:
mode:
Diffstat (limited to 'examples/takagi-sugeno/octave/sugeno_tip_calculator.fis')
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.fis64
1 files changed, 64 insertions, 0 deletions
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
new file mode 100644
index 0000000..3d28f10
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
@@ -0,0 +1,64 @@
+#Code automatically generated with fuzzylite 6.0.
+
+[System]
+Name='sugeno_tip_calculator'
+Type='sugeno'
+Version=6.0
+NumInputs=2
+NumOutputs=3
+NumRules=10
+AndMethod='einstein_product'
+OrMethod='max'
+ImpMethod='min'
+AggMethod='max'
+DefuzzMethod='wtaver'
+
+[Input1]
+Name='FoodQuality'
+Range=[1.000 10.000]
+NumMFs=2
+MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
+MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]
+
+[Input2]
+Name='Service'
+Range=[1.000 10.000]
+NumMFs=2
+MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
+MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]
+
+[Output1]
+Name='CheapTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Output2]
+Name='AverageTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Output3]
+Name='GenerousTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Rules]
+1.300 1.300 , 1.300 1.200 1.000 (1.000) : 1
+2.000 1.300 , 1.000 1.000 2.000 (1.000) : 1
+2.200 1.200 , 1.000 2.000 3.000 (1.000) : 1
+1.000 1.000 , 1.000 1.000 2.000 (1.000) : 1
+2.000 1.000 , 1.000 2.000 3.000 (1.000) : 1
+2.300 1.000 , 1.000 2.000 3.200 (1.000) : 1
+1.000 2.000 , 1.000 2.000 3.000 (1.000) : 1
+2.000 2.000 , 2.000 2.000 3.200 (1.000) : 1
+1.200 2.200 , 1.000 2.000 3.000 (1.000) : 1
+2.400 2.400 , 3.000 3.200 3.300 (1.000) : 1