From 479137ce740a4e317ae7c2fda8e171b61f0a35e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sat, 23 May 2020 17:14:06 +0200 Subject: [PATCH] Add enum for player stats amount This enum will be used in decision tree learning when creating examples. --- .../projectSpecificClasses/PlayerStatsValue.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/AI/DecisionTrees/projectSpecificClasses/PlayerStatsValue.py diff --git a/src/AI/DecisionTrees/projectSpecificClasses/PlayerStatsValue.py b/src/AI/DecisionTrees/projectSpecificClasses/PlayerStatsValue.py new file mode 100644 index 0000000..70600f5 --- /dev/null +++ b/src/AI/DecisionTrees/projectSpecificClasses/PlayerStatsValue.py @@ -0,0 +1,8 @@ +from enum import Enum + + +class PlayerStatsValue(Enum): + ZERO_TO_QUARTER = 0, + QUARTER_TO_HALF = 1, + HALF_TO_THREE_QUARTERS = 2, + THREE_QUARTERS_TO_FULL = 3