Add AttributeDefinition class

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

View File

@ -0,0 +1,14 @@
from typing import List
class AttributeDefinition:
def __init__(self, id, name: str, values: List):
"""
:param id:
:param name: Attribute name
:param values: Possible values
"""
self.id = id
self.name = name
self.values = values