From 4020cc71d93c11f47c2aba1057a30bd1a6c0a255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szuszert?= Date: Thu, 12 May 2022 14:30:39 +0200 Subject: [PATCH] drzewo decyzyjne --- data.xlsx | Bin 15005 -> 15026 bytes dishes.json | 4 +- tiles.py | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 139 insertions(+), 4 deletions(-) diff --git a/data.xlsx b/data.xlsx index 810f6a73d65e3217f41c764e9b69bbcc2db321ee..aede1fd03306a9884447f65184b6164d5c189299 100644 GIT binary patch delta 6344 zcmYLuc{r4B^uBc(W@79!C~IM4FN05*#+r*LywB`=0xpbD#U1>v^;NEB(uR0Jv&1=3_}(DyqL1sHm8! zsHg%xqyoHs-R-@--6aD(J@QQry|bhtAvx7&p~rd^3`2Bjdbfd=A8TS8%7SA|>gU)$ zgud|1G#NcT8i0%xz9=kJi-`~J>Iw*$eUYO7tFru6hKaQai=Y0J~s_>~PTOQ?%W;C#K!TVyPCZLZJ_p zMxJc4twAbN!goWMnAEm-yI<9nke{c4zjwnY?dhfL=*|$_)UF>b83Z0}sBhO!Tl+n( z{6YU|CEtCxftX)VViHyw4p;82bG{pqfDtqEa8Z-r%_q}a*yPly{dnoMcr)FM^t@VZ z=LWDoDhf9M3{U>WqYoj~4e6ShRFxE8U&gXcoVk^CzWPbS?qyTKcQGBz4ceivXwx1| z`u+7MSwegpGxP*Wa4pf2_OAk;8Dj z4pZC5VZZCU%9ME%ZJrQ(=Ht5*fb;uYbV5(1IjV;bG^qhfsLQEO2K{bLG)2yplfQ!E za{?cHbq51y6-r*_oKoGkg1m4yrPDt zK>|+oM@vTCX@%?c6>eviZy5Ff0&AUz+?urSJwrEr)7&ouX5$Z0nl~cbr(V{2#wK4; z+Xg&(o?H`gq9!I`G}QFMvWum4{c~XXM-}si>|4IPpV7x;I%dtX-&ceylx5rY99aWv z_(TkDuRVxb4G@L=Ac`}&pPvpT;`qv*m`0D9FGt2TI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