Add enum for classifying dt survival examples.
This enum will be used in decision tree learning. For example food classification will mean that player should go for food.
This commit is contained in:
parent
c4d4d6bb52
commit
8d4cde8eb0
@ -0,0 +1,11 @@
|
|||||||
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
|
class SurvivalClassification(Enum):
|
||||||
|
"""
|
||||||
|
For example food classification means that player should go for food.
|
||||||
|
"""
|
||||||
|
|
||||||
|
FOOD = 0,
|
||||||
|
WATER = 1,
|
||||||
|
REST = 2
|
Loading…
Reference in New Issue
Block a user