From 1ca8c10bf19fe197dc5d644c0112b41c18c743bf Mon Sep 17 00:00:00 2001 From: Serhii Hromov Date: Mon, 11 May 2020 13:51:53 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B2=D0=B0=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D0=B6=D1=83=D0=B2=D0=B0=D1=82=D0=B8=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=B4=D0=BE=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raport.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 raport.md diff --git a/raport.md b/raport.md new file mode 100644 index 0000000..cc8620e --- /dev/null +++ b/raport.md @@ -0,0 +1,50 @@ +#Podprojekt Szi + +###Opis + +Tematem podprojektu jest rozpoznawanie posiłków. +Użyty jest algorytm genetyczny. + +###Dane + +Posiłki, ich nazwa oraz rodzaj. + +##### + + menu = Context.fromstring(''' |meat|salad|meal|drink|cold|hot | + Pork | X | | X | | | X | + Espresso | | | | X | | X | + Green Tea | | | | X | X | | + Greek Salad| | X | X | | X | | + Pizza | | | X | | | X |''') + + + +###Implementacja + +Główna część: +##### + + gen_num = 20 #generations + gen_sol = 6 #solutions + gen_par_mating = 2 #how many solutions we select + + mut_per_gen = 10 + mut_num_gen = None + + crossover = "two_points" + muta_type = "scramble" + par_keep = 1 #keep only one parent + + init_range_l = -2 #low + init_range_h = -5 #high + ... + + +###Biblioteki + +* concepts +* pygad (algorytm genetyczny) +* random +* numpy +