From 0862c7a25814b6f0720365e1d1daaac8e36f78b7 Mon Sep 17 00:00:00 2001 From: marcin-szczepanski Date: Mon, 8 Jun 2020 20:10:49 +0200 Subject: [PATCH] Update FCL --- .../polishekstraklasa/Predictions/Prediction.fcl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Back/src/main/java/com/resultprediction/polishekstraklasa/Predictions/Prediction.fcl b/Back/src/main/java/com/resultprediction/polishekstraklasa/Predictions/Prediction.fcl index 9c54312..c2939d0 100644 --- a/Back/src/main/java/com/resultprediction/polishekstraklasa/Predictions/Prediction.fcl +++ b/Back/src/main/java/com/resultprediction/polishekstraklasa/Predictions/Prediction.fcl @@ -14,7 +14,7 @@ VAR_OUTPUT END_VAR FUZZIFY team1Form - TERM bardzo_slaba := (0, 1) (25, 0) (100, 0); + TERM bardzo_slaba := (0, 1) (20, 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); @@ -22,7 +22,7 @@ FUZZIFY team1Form END_FUZZIFY FUZZIFY team2Form - TERM bardzo_slaba := (0, 1) (25, 0) (100, 0); + TERM bardzo_slaba := (0, 1) (20, 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); @@ -120,8 +120,6 @@ RULEBLOCK No1 RULE 42: IF team1GoalsLostAverage IS srednio AND team2GoalsLostAverage is duzo THEN prediction is team1; RULE 43: IF team1GoalsLostAverage IS duzo AND team2GoalsLostAverage is duzo THEN prediction is remis; - - RULE 44: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is duzo THEN prediction is remis; RULE 45: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is srednio THEN prediction is team2; RULE 46: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is malo THEN prediction is team2; @@ -134,7 +132,6 @@ RULEBLOCK No1 RULE 51: IF team1GoalsLostAverage IS malo AND team2GoalsAverage is srednio THEN prediction is team1; RULE 52: IF team1GoalsLostAverage IS malo AND team2GoalsAverage is malo THEN prediction is team1; - RULE 53: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is duzo THEN prediction is remis; RULE 54: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is srednio THEN prediction is team1; RULE 55: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is malo THEN prediction is team1; @@ -146,8 +143,6 @@ RULEBLOCK No1 RULE 59: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is duzo THEN prediction is team2; RULE 60: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is srednio THEN prediction is team2; RULE 61: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is malo THEN prediction is remis; - - END_RULEBLOCK END_FUNCTION_BLOCK \ No newline at end of file