sztuczna_inteligencja_2023_.../machine_learning/trainingData.py

7 lines
224 B
Python
Raw Normal View History

2023-05-27 11:34:26 +02:00
class TrainingData:
attributes: list[list[str]]
classes: list[str]
def __init__(self, attributes: list[list[str]], classes: list[str]) -> None:
self.attributes = attributes
self.classes = classes