Update FCL

This commit is contained in:
marcin-szczepanski 2020-06-08 19:33:19 +02:00
parent a5abfad8bf
commit e9c4fcc828

View File

@ -14,50 +14,50 @@ VAR_OUTPUT
END_VAR
FUZZIFY team1Form
TERM bardzo_slaba := (0, 1) (25, 0);
TERM slaba := (20, 0) (25,1) (30,0);
TERM srednia := (25, 0) (40, 1) (55, 0);
TERM dobra := (50, 0) (60, 1) (70, 1);
TERM bardzo_dobra := (65, 0) (70, 1) (100, 1);
TERM bardzo_slaba := (0, 1) (25, 0) (100, 0);
TERM slaba := (0, 0) (20, 0) (25,1) (30,0) (100, 0);
TERM srednia := (0, 0) (25, 0) (40, 1) (55, 0) (100, 0);
TERM dobra := (0, 0) (50, 0) (60, 1) (70, 1) (100, 0);
TERM bardzo_dobra := (0, 0) (65, 0) (80, 1) (100, 1);
END_FUZZIFY
FUZZIFY team2Form
TERM bardzo_slaba := (0, 1) (25, 0);
TERM slaba := (20, 0) (25,1) (30,0);
TERM srednia := (25, 0) (40, 1) (55, 0);
TERM dobra := (50, 0) (60, 1) (70, 1);
TERM bardzo_dobra := (65, 0) (70, 1) (100, 1);
TERM bardzo_slaba := (0, 1) (25, 0) (100, 0);
TERM slaba := (0, 0) (20, 0) (25,1) (30,0) (100, 0);
TERM srednia := (0, 0) (25, 0) (40, 1) (55, 0) (100, 0);
TERM dobra := (0, 0) (50, 0) (60, 1) (70, 1) (100, 0);
TERM bardzo_dobra := (0, 0) (65, 0) (80, 1) (100, 1);
END_FUZZIFY
FUZZIFY team1GoalsAverage
TERM malo := (0, 1) (1, 0);
TERM srednio := (1, 0) (1.5,1) (2,0);
TERM duzo := (2, 0) (3, 1) (10, 1);
TERM malo := (0, 1) (1, 0) (10, 0);
TERM srednio := (0, 0) (1, 0) (1.5, 1) (2, 0) (10, 0);
TERM duzo := (0, 0) (2, 0) (3, 1) (10, 1);
END_FUZZIFY
FUZZIFY team2GoalsAverage
TERM malo := (0, 1) (1, 0);
TERM srednio := (1, 0) (1.5,1) (2,0);
TERM duzo := (2, 0) (3, 1) (10, 1);
TERM malo := (0, 1) (1, 0) (10, 0);
TERM srednio := (0, 0) (1, 0) (1.5, 1) (2, 0) (10, 0);
TERM duzo := (0, 0) (2, 0) (3, 1) (10, 1);
END_FUZZIFY
FUZZIFY team1GoalsLostAverage
TERM malo := (0, 1) (1, 0);
TERM srednio := (1, 0) (1.5,1) (2,0);
TERM duzo := (2, 0) (3, 1) (10, 1);
TERM malo := (0, 1) (1, 0) (10, 0);
TERM srednio := (0, 0) (1, 0) (1.5, 1) (2, 0) (10, 0);
TERM duzo := (0, 0) (2, 0) (3, 1) (10, 1);
END_FUZZIFY
FUZZIFY team2GoalsLostAverage
TERM malo := (0, 1) (1, 0);
TERM srednio := (1, 0) (1.5,1) (2,0);
TERM duzo := (2, 0) (3, 1) (10, 1);
TERM malo := (0, 1) (1, 0) (10, 0);
TERM srednio := (0, 0) (1, 0) (1.5, 1) (2, 0) (10, 0);
TERM duzo := (0, 0) (2, 0) (3, 1) (10, 1);
END_FUZZIFY
DEFUZZIFY prediction
TERM team1 := (-100,1) (-20, 1) (-20,0);
TERM remis := (-15,0) (0,1) (15,0);
TERM team2 := (20,0) (20, 1) (100,1);
TERM team1 := (-100, 1) (-25, 1) (-10, 0) (100, 0);
TERM remis := (-100, 0) (-25, 0) (-2, 1) (0, 1) (2, 1) (25, 0) (100, 0);
TERM team2 := (-100, 0) (10, 0) (25, 1) (100, 1);
DEFAULT := 0;
END_DEFUZZIFY