1#Code automatically generated with fuzzylite 6.0.
2
3[System]
4Name='investment_portfolio'
5Type='mamdani'
6Version=6.0
7NumInputs=2
8NumOutputs=1
9NumRules=4
10AndMethod='einstein_product'
11OrMethod='einstein_sum'
12ImpMethod='einstein_product'
13AggMethod='einstein_sum'
14DefuzzMethod='centroid'
15
16[Input1]
17Name='Age'
18Range=[20.000 100.000]
19NumMFs=2
20MF1='Young':'zmf',[30.000 90.000]
21MF2='Old':'smf',[30.000 90.000]
22
23[Input2]
24Name='RiskTolerance'
25Range=[0.000 10.000]
26NumMFs=2
27MF1='Low':'zmf',[2.000 8.000]
28MF2='High':'smf',[2.000 8.000]
29
30[Output1]
31Name='PercentageInStocks'
32Range=[0.000 100.000]
33NumMFs=3
34MF1='AboutFifteen':'gaussmf',[10.000 15.000]
35MF2='AboutFifty':'gaussmf',[10.000 50.000]
36MF3='AboutEightyFive':'gaussmf',[10.000 85.000]
37
38[Rules]
391.000 2.000 , 3.000 (1.000) : 2
402.000 1.000 , 1.000 (1.000) : 2
41-2.300 -1.300 , 2.000 (0.500) : 1
42-1.300 -2.300 , 2.000 (0.500) : 1
43