summaryrefslogtreecommitdiff
path: root/examples/mamdani/octave/investment_portfolio.fll
blob: 4bb14e160dfb5f5b667b4f44bb6b9a84eb30d334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Engine: Investment-Portfolio
InputVariable: Age
  enabled: true
  range: 20.000 100.000
  term: Young ZShape 30.000 90.000
  term: Old SShape 30.000 90.000
InputVariable: RiskTolerance
  enabled: true
  range: 0.000 10.000
  term: Low ZShape 2.000 8.000
  term: High SShape 2.000 8.000
OutputVariable: PercentageInStocks
  enabled: true
  range: 0.000 100.000
  accumulation: EinsteinSum
  defuzzifier: Centroid 200
  default: nan
  lock-previous: false
  lock-range: false
  term: AboutFifteen Gaussian 15.000 10.000
  term: AboutFifty Gaussian 50.000 10.000
  term: AboutEightyFive Gaussian 85.000 10.000
RuleBlock: 
  enabled: true
  conjunction: EinsteinProduct
  disjunction: EinsteinSum
  activation: EinsteinProduct
  rule: if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive
  rule: if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen
  rule: if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500
  rule: if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500