Add Attribute class

This class will be used in decision trees.
This commit is contained in:
Michał Czekański 2020-05-21 16:50:46 +02:00
parent 38ce217db4
commit ad791a299e

View File

@ -0,0 +1,7 @@
from src.AI.DecisionTrees.AttributeDefinition import AttributeDefinition
class Attribute:
def __init__(self, attributeDefinition: AttributeDefinition, value):
self.attributeDefinition = attributeDefinition
self.value = value