100 records

This commit is contained in:
s464923 2024-05-13 00:31:33 +02:00
parent 06e13b8f19
commit a04f4692c1
2 changed files with 24 additions and 1 deletions

View File

@ -83,3 +83,26 @@ wilgotnosc_gleby,temperatura_gleby,opady_deszczu,wiek_rosliny,proc_ekspo_na_swia
33, 20, 4, 4, 50, 12, 3, Pomidor, tak
52, 23, 1, 5, 65, 16, 4, Salata, tak
47, 24, 7, 6, 80, 10, 1, Cebula, tak
38, 25, 2, 3, 65, 10, 1, Marchew, tak
59, 21, 1, 2, 55, 15, 2, Ziemniaki, nie
33, 23, 3, 1, 70, 9, 3, Pomidor, nie
47, 22, 7, 4, 75, 11, 2, Marchew, tak
58, 20, 4, 3, 60, 16, 1, Ziemniaki, nie
32, 24, 6, 2, 70, 8, 3, Pomidor, nie
53, 23, 3, 5, 80, 15, 4, Salata, tak
45, 21, 8, 6, 75, 12, 1, Cebula, tak
55, 26, 11, 4, 70, 17, 2, Papryka, nie
36, 24, 5, 3, 60, 9, 3, Buraki, nie
67, 19, 10, 4, 85, 13, 4, Brukselka, nie
43, 22, 1, 3, 65, 14, 1, Rzepak, tak
51, 24, 9, 5, 75, 10, 2, Szpinak, tak
31, 27, 2, 2, 70, 15, 3, Marchew, tak
62, 18, 12, 3, 60, 8, 1, Ziemniaki, nie
38, 21, 6, 4, 50, 11, 2, Pomidor, tak
49, 24, 4, 5, 65, 16, 4, Salata, tak
42, 25, 7, 6, 80, 9, 3, Cebula, tak
57, 23, 4, 3, 75, 12, 1, Papryka, nie
35, 28, 9, 1, 70, 16, 2, Buraki, nie
66, 20, 11, 4, 85, 10, 3, Brukselka, tak
46, 22, 0, 3, 65, 13, 1, Rzepak, tak
50, 25, 10, 5, 75, 9, 2, Szpinak, tak

1 wilgotnosc_gleby temperatura_gleby opady_deszczu wiek_rosliny proc_ekspo_na_swiatlo pora_dnia pora_roku roslina podlac
83 33 20 4 4 50 12 3 Pomidor tak
84 52 23 1 5 65 16 4 Salata tak
85 47 24 7 6 80 10 1 Cebula tak
86 38 25 2 3 65 10 1 Marchew tak
87 59 21 1 2 55 15 2 Ziemniaki nie
88 33 23 3 1 70 9 3 Pomidor nie
89 47 22 7 4 75 11 2 Marchew tak
90 58 20 4 3 60 16 1 Ziemniaki nie
91 32 24 6 2 70 8 3 Pomidor nie
92 53 23 3 5 80 15 4 Salata tak
93 45 21 8 6 75 12 1 Cebula tak
94 55 26 11 4 70 17 2 Papryka nie
95 36 24 5 3 60 9 3 Buraki nie
96 67 19 10 4 85 13 4 Brukselka nie
97 43 22 1 3 65 14 1 Rzepak tak
98 51 24 9 5 75 10 2 Szpinak tak
99 31 27 2 2 70 15 3 Marchew tak
100 62 18 12 3 60 8 1 Ziemniaki nie
101 38 21 6 4 50 11 2 Pomidor tak
102 49 24 4 5 65 16 4 Salata tak
103 42 25 7 6 80 9 3 Cebula tak
104 57 23 4 3 75 12 1 Papryka nie
105 35 28 9 1 70 16 2 Buraki nie
106 66 20 11 4 85 10 3 Brukselka tak
107 46 22 0 3 65 13 1 Rzepak tak
108 50 25 10 5 75 9 2 Szpinak tak

View File

@ -2,7 +2,7 @@ from sklearn.model_selection import train_test_split
from sklearn.tree import DecisionTreeClassifier, plot_tree
import matplotlib.pyplot as plt
import pandas as pd
from sklearn import tree
data = pd.read_csv("dane.csv")
print(data)