From c0c5d3adcd57cb9836d25e1691d498debbc60601 Mon Sep 17 00:00:00 2001 From: Jakub Chmielecki Date: Mon, 22 May 2023 15:46:58 +0200 Subject: [PATCH] Zaktualizuj 'main.py' --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 368a82cc..2b85c194 100644 --- a/main.py +++ b/main.py @@ -20,10 +20,10 @@ examples = [ attributes = ['typ_gleby', 'wilgotność', 'zawartość_składników', 'kolor'] # Tworzenie obiektu TreeLearn i nauka drzewa decyzyjnego -tree_learner = TreeLearn() -default_class = 'nieznane' +# tree_learner = TreeLearn() +# default_class = 'nieznane' -tree_learner.train(examples, attributes, default_class) +# tree_learner.train(examples, attributes, default_class) class TreeLearn: def __init__(self):