diff --git a/decisiontree.md b/decisiontree.md index 6036691..8a86b3a 100644 --- a/decisiontree.md +++ b/decisiontree.md @@ -20,14 +20,14 @@ Kolejne cyfry odpowiadają za: nawodnienie pola, obecność chwastów, czy pole ``` training_data = [[0, 0, 1, 0, "Zasadzic"], - [0, 1, 1, 0, "Odchwascic"], - [0, 0, 0, 0, "Podlac"], - [0, 1, 0, 0, "Odchwascic"], - [1, 0, 1, 0, "Zasadzic"], - [1, 1, 1, 0, "Odchwascic"], - [1, 0, 0, 0, "Czekac"], - [1, 1, 0, 0, "Odchwascic"], - [0, 0, 0, 1, "Zebrac"]] + [0, 1, 1, 0, "Odchwascic"], + [0, 0, 0, 0, "Podlac"], + [0, 1, 0, 0, "Odchwascic"], + [1, 0, 1, 0, "Zasadzic"], + [1, 1, 1, 0, "Odchwascic"], + [1, 0, 0, 0, "Czekac"], + [1, 1, 0, 0, "Odchwascic"], + [0, 0, 0, 1, "Zebrac"]] self.tree = build_tree(training_data) print_tree(self.tree) ```