{"id":165281,"date":"2013-01-10T08:46:03","date_gmt":"2013-01-10T04:46:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=165281"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=165281","title":{"rendered":"<span class=\"post_title\">Data Mining: \u041f\u0435\u0440\u0432\u0438\u0447\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0421\u0423\u0411\u0414. \u0427\u0430\u0441\u0442\u044c 2<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041a\u0430\u0436\u0434\u044b\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0441 \u043a\u0440\u0438\u0447\u0430\u0449\u0438\u043c \u043b\u043e\u0437\u0443\u043d\u0433\u043e\u043c <i><b>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u00ab\u043d\u043e\u0432\u0430\u044f \u043d\u0435\u0444\u0442\u044c\u00bb!<\/b><\/i>. \u041f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u043a\u0430 \u0434\u043b\u044f \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u043e\u0432\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0414\u0430\u043d\u043d\u044b\u0435 = \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u041d\u0435\u0444\u0442\u044c = \u041f\u0440\u043e\u0444\u0438\u0442. \u041e\u0442\u043a\u0443\u0434\u0430 \u0432\u0437\u044f\u043b\u043e\u0441\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u044b\u0439\u0434\u0435\u043c \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0448\u0442\u0430\u043c\u043f\u0430 \u0438 \u043a\u043e\u043f\u043d\u0435\u043c \u0447\u0443\u0442\u044c \u0433\u043b\u0443\u0431\u0436\u0435:<br \/>  \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u0435\u0433\u043e \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u043b \u041c\u0430\u0439\u043a\u043b \u041f\u0430\u043b\u043c\u0435\u0440[<a href=\"http:\/\/ana.blogs.com\/maestros\/2006\/11\/data_is_the_new.html\">1<\/a>] \u0435\u0449\u0435 \u0432 2006 \u0433\u043e\u0434\u0443:  <\/p>\n<blockquote><p>\u0414\u0430\u043d\u043d\u044b\u0435 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u044b\u0440\u0430\u044f \u043d\u0435\u0444\u0442\u044c. \u041e\u043d\u0430 \u0446\u0435\u043d\u043d\u0430, \u043d\u043e \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043d\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430. \u041e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0430 \u0432 \u0433\u0430\u0437, \u043f\u043b\u0430\u0441\u0442\u0438\u043a, \u0445\u0438\u043c\u0438\u043a\u0430\u0442\u044b, \u0438 \u0442.\u0434., \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u0432\u043b\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0441\u0442\u044c; \u0442\u0430\u043a \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u00ab\u0440\u0430\u0441\u043a\u0443\u0441\u0438\u0442\u044c\u00bb, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0441\u0442\u0430\u043b\u0438 \u0446\u0435\u043d\u043d\u044b\u043c\u0438.  <\/p><\/blockquote>\n<p>  \u0422\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0442\u0440\u0435\u043d\u0434\u043e\u0432\u043e\u0433\u043e \u00ab\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u043d\u043e\u0432\u0430\u044f \u043d\u0435\u0444\u0442\u044c!\u00bb \u0431\u043b\u0438\u0436\u0435 \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0447\u0435\u043c \u043a \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u0443. \u0418 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0432\u044b\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u0414\u0438\u0437\u0440\u0430\u0435\u043b\u0438:<br \/>  <i>\u00ab\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0442\u0440\u0438 \u0432\u0438\u0434\u0430 \u043b\u0436\u0438: \u0415\u0441\u0442\u044c \u043b\u043e\u0436\u044c, \u043d\u0430\u0433\u043b\u0430\u044f \u043b\u043e\u0436\u044c \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430\u00bb<\/i>.<br \/>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u043f\u0438\u043a\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/165001\/\">Data Mining: \u041f\u0435\u0440\u0432\u0438\u0447\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0421\u0423\u0411\u0414. \u0427\u0430\u0441\u0442\u044c 1<\/a> <br \/>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0434\u043e\u0431\u044b\u0447\u0443!<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/8f1\/1d0\/2ff\/8f11d02ff24631c62f9d1d59028122c3.jpg\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0434\u0432\u043e\u0439\u043d\u0438\u043a\u043e\u0432<\/h5>\n<p>  \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u044b\u043b \u0434\u0430\u043d \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043e\u0442 \u00ab\u0434\u0432\u043e\u0439\u043d\u0438\u043a\u043e\u0432\u00bb. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u043c \u0436\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438. \u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438:  <\/p>\n<pre><code class=\"sql\">--\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0440\u0430\u043d\u0435\u0435  --\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c select nextval('titanik_train_seq') as id, a.*  into titanik_test_pk from titanik_test a;  --\u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0431\u0438\u043b\u0435\u0442\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0443 \u0441 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 select id,pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, m[1] as ticket_type, m[2] as ticket_number into titanik_test_1 from   (select id,pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked,    regexp_matches(ticket, '^\\s*?(.*?)\\s*?(\\d*?)$') as m     from titanik_test_pk  ) as a; <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u043e\u0434\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043b\u0435\u0433\u0447\u0435 \u0431\u044b\u043b\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u0442\u043e\u043c. \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u043b\u0435\u0442\u0430 \u043d\u0430 \u0442\u0435\u043a\u0441\u0442 \u0438 \u0441\u0435\u0440\u0438\u044e \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0436\u0435.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043a \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435(\u043f\u043b\u044e\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0435\u0449\u0435 \u0434\u0432\u0430, \u0432 \u043a\u043e\u043d\u0446\u0435, \u0434\u043b\u044f \u0437\u0430\u043c\u0435\u043d\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435):  <\/p>\n<pre><code class=\"sql\">update  titanik_test_1 set ticket_type='A.5.' where ticket_type = 'A.\/5.'; update  titanik_test_1 set ticket_type='A.5.' where ticket_type = 'A\/5'; update  titanik_test_1 set ticket_type='A.5.' where ticket_type = 'A\/5.'; update  titanik_test_1 set ticket_type='A.5.' where ticket_type = 'A\/S'; update  titanik_test_1 set ticket_type='A\/4' where ticket_type = 'A\/4.'; update  titanik_test_1 set ticket_type='A\/4' where ticket_type = 'A4.'; update  titanik_test_1 set ticket_type='C.A.' where ticket_type = 'CA'; update  titanik_test_1 set ticket_type='C.A.' where ticket_type = 'CA.'; update  titanik_test_1 set ticket_type='SW\/PP' where ticket_type = 'S.W.\/PP'; update  titanik_test_1 set ticket_type='SC\/PARIS' where ticket_type = 'SC\/Paris'; update  titanik_test_1 set ticket_type='SOTON\/O.Q.' where ticket_type = 'SOTON\/OQ'; update  titanik_test_1 set ticket_type='SOTON\/O2' where ticket_type = 'STON\/O 2.'; update  titanik_test_1 set ticket_type='SOTON\/O2' where ticket_type = 'STON\/O2.'; update  titanik_test_1 set ticket_type='W\/C' where ticket_type = 'W.\/C.'; update  titanik_test_1 set ticket_type='W.E.P.' where ticket_type = 'WE\/P'; update  titanik_test_1 set ticket_type='SOTON\/O.Q.' where ticket_type = 'STON\/OQ.'; update  titanik_test_1 set ticket_type='SC\/PARIS' where ticket_type = 'S.C.\/PARIS'; <\/code><\/pre>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0435 \u043e \u0431\u0438\u043b\u0435\u0442\u0430\u0445 \u2014 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0436\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<br \/>  \u041f\u043e\u043b(sex) \u2014 \u0434\u0432\u043e\u0439\u043d\u0438\u043a\u043e\u0432 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f:  <\/p>\n<pre><code class=\"sql\">select sex, count(sex) from titanik_train_1 group by 1 order by 1 asc; <\/code><\/pre>\n<p>  <\/p>\n<table>\n<tr>\n<th>sex<\/th>\n<th>count<\/th>\n<\/tr>\n<tr>\n<td>female<\/td>\n<td>314<\/td>\n<\/tr>\n<tr>\n<td>male<\/td>\n<td>577<\/td>\n<\/tr>\n<\/table>\n<p>  <\/p>\n<pre><code class=\"sql\">select sex, count(sex) from titanik_test_1 group by 1 order by 1 asc; <\/code><\/pre>\n<p>  <\/p>\n<table>\n<tr>\n<th>sex<\/th>\n<th>count<\/th>\n<\/tr>\n<tr>\n<td>female<\/td>\n<td>152<\/td>\n<\/tr>\n<tr>\n<td>male<\/td>\n<td>266<\/td>\n<\/tr>\n<\/table>\n<p>  \u041a\u0430\u044e\u0442\u044b(cabin) \u2014 \u0437\u0434\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435:  <\/p>\n<pre><code class=\"sql\">--\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441! -- select cabin, count(cabin) from titanik_train_1 group by 1 order by 1 asc; select cabin, count(id) from titanik_train_1 group by 1 order by 1 asc; <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441(\u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439), \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2014 0 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043a\u0430\u044e\u0442\u0430. \u042d\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439. \u041d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0410 \u043f\u043e\u0442\u043e\u043c\u0443, \u043f\u0438\u0448\u0435\u043c <b>count(id)<\/b>. \u0418 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: 687 \u043f\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u043e\u0432 \u0441 \u043d\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043a\u0430\u044e\u0442\u043e\u0439. \u041c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u00ab\u043e\u0431\u0449\u0438\u0439\u00bb \u043e\u0442\u0441\u0435\u043a. \u0418 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043a\u043b\u0430\u0441\u0441 \u0431\u0438\u043b\u0435\u0442\u0430.<br \/>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043d\u0430\u0448\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435:  <\/p>\n<pre><code class=\"sql\">select id, cabin, ticket_type from titanik_train_1 where cabin ISNULL; select id, cabin, ticket_type from titanik_train_1 where cabin NOTNULL; <\/code><\/pre>\n<p>  \u041d\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u043e\u0441\u044c. \u0412\u044b\u0432\u0435\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u043a, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f \u0431\u0438\u043b\u0435\u0442\u0430. \u0410 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442(\u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u043e\u043c\u0435\u0440 2)? \u0422\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u043e\u0441\u044c. \u0414\u0435\u043b\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e \u043b\u0438\u0431\u043e \u0441\u0435\u0440\u0438\u044f \u0431\u0438\u043b\u0435\u0442\u0430 \u0443\u0442\u0435\u0440\u044f\u043d\u0430 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043b\u044e\u0434\u0435\u0439, \u043b\u0438\u0431\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435, \u0430 \u043d\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0432 \u043a\u0430\u044e\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442. \u0422\u043e \u0435\u0441\u0442\u044c, \u043d\u0435\u0441\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0443.<br \/>  \u0412 \u0432\u044b\u0432\u043e\u0434\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u043e \u043a\u0430\u0431\u0438\u043d\u0430\u043c \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0441 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u043e\u0439, \u0435\u0441\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:  <\/p>\n<table>\n<tr>\n<th>cabin<\/th>\n<th>count<\/th>\n<\/tr>\n<tr>\n<td>C23 C25 C27<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>C30<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>F G73<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>T<\/td>\n<td>1<\/td>\n<\/tr>\n<\/table>\n<p>  \u0412\u043e \u043f\u0435\u0440\u0432\u044b\u0445 \u2014 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u0438\u043f\u0435 \u043a\u0430\u044e\u0442\u044b(\u043f\u0435\u0440\u0432\u0430\u044f \u0431\u0443\u043a\u0432\u0430 \u043f\u0435\u0440\u0435\u0434 \u0446\u0438\u0444\u0440\u0430\u043c\u0438).<br \/>  \u0412\u043e \u0432\u0442\u043e\u0440\u044b\u0445, \u043d\u0430 \u043e\u0434\u0438\u043d \u0431\u0438\u043b\u0435\u0442 \u2014 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u044e\u0442. \u0418 \u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0432 \u043e\u0434\u043d\u043e\u0439 \u043a\u0430\u044e\u0442\u0435 \u0441 \u0431\u0438\u043b\u0435\u0442\u0430\u043c\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u044e\u0442(\u0447\u0438\u0442\u0430\u0439 \u043c\u0435\u0441\u0442). \u042d\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u044d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u043e\u0432, \u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0440\u0443\u0437\u0435\u0439 \u0438\u043b\u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0445, \u0438\u043b\u0438 \u043a\u043e\u043b\u043b\u0435\u0433 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u2014 \u0442.\u0435. \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0445 \u043b\u044e\u0434\u0435\u0439, \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443. \u0422\u0430\u043a\u0436\u0435, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0431\u044b\u043b\u043e \u0432 \u043a\u0430\u044e\u0442\u0435.<br \/>  \u0412\u044b\u0432\u043e\u0434 \u2014 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0435 \u0442\u0438\u043f \u043a\u0430\u0431\u0438\u043d\u044b. \u0418 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u044e\u0442 \u0432 \u0431\u0438\u043b\u0435\u0442\u0435. \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043e\u043b\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0432 \u043a\u0430\u044e\u0442\u0430\u0445.<br \/>  \u0422.\u0435. \u0441\u0435\u043c\u044c\u044f \u0438\u0437 4\u0445 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 2 \u043a\u0430\u044e\u0442\u044b. \u0418\u043b\u0438 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442 \u043e\u0434\u043d\u0443 \u043a\u0430\u044e\u0442\u0443. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u0441\u0442\u0435\u0442!<br \/>  \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 PREG \u0432 PostgreSQL.<br \/>  \u041c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u043d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438. \u0427\u0430\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u0438\u043f \u043a\u0430\u044e\u0442\u044b \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u044e\u0442 \u043d\u0430 \u0431\u0438\u043b\u0435\u0442, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0441 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043a\u0430\u044e\u0442\u043e\u0439(\u043d\u0430\u0431\u043e\u0440\u043e\u043c \u043a\u0430\u044e\u0442) \u0432 \u0431\u0438\u043b\u0435\u0442\u0435.  <\/p>\n<pre><code class=\"sql\">select id,survived,pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, cnt as cabin_cnt, cabin_type, ticket_type, ticket_number into titanik_train_2 from ( select id, survived, pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?.*?$') as m, 4 as cnt,  substring(cabin, 1, 1) as cabin_type from titanik_train_1 UNION select id, survived, pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?$') as m, 3 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_train_1 UNION select id, survived, pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?$') as m, 2 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_train_1 UNION select id, survived, pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?$') as m, 1 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_train_1 UNION select id, survived, pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, NULL as m, 0 as cnt, NULL as cabin_type from titanik_train_1 where cabin ISNULL) as a; <\/code><\/pre>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0434\u0435\u0441\u044c \u2014 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u041a\u0430\u043a \u044f \u0435\u0433\u043e \u0441\u0442\u0440\u043e\u0438\u043b:<br \/>  F \u042182 \u042145 \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0445\u0432\u0430\u0442\u0438\u0442\u044c. \u042d\u0442\u043e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430:<br \/>  <b>([A-Z]\\d*)<\/b> \u2014 [A-Z] \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0445\u043e\u0442\u044c \u043e\u0434\u0438\u043d, \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b, \\d* \u2014 \u043b\u044e\u0431\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e 0\u2026 \u0446\u0438\u0444\u0440.<\/p>\n<p>  \u0418 \u0432\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u044e\u0434\u0435\u0439 \u0432 \u043a\u0430\u044e\u0442\u0430\u0445.  <\/p>\n<pre><code class=\"sql\">select a.*, b.cnt as cabin_people_cnt into  titanik_train_3 from  titanik_train_2 a, ( select cabin as cabid, count(id) as cnt from titanik_train_1 group by 1) as b where  a.cabin = b.cabid OR (a.cabin ISNULL AND b.cabid ISNULL); --\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c. \u0415\u0441\u043b\u0438 \u043a\u0430\u0431\u0438\u043d \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 - \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u043d\u043e\u043b\u044c \u0432\u043c\u0435\u0441\u0442\u043e 687. update titanik_train_3 set cabin_people_cnt=0 where cabin ISNULL; <\/code><\/pre>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0440\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044f: \u0442\u0438\u043f \u043a\u0430\u044e\u0442\u044b, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u044e\u0442 \u043d\u0430 \u0431\u0438\u043b\u0435\u0442 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u044e\u0434\u0435\u0439 \u0432 \u043a\u0430\u044e\u0442\u0435.<\/p>\n<p>  \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445:  <\/p>\n<pre><code class=\"sql\">select id,pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, cnt as cabin_cnt, cabin_type, ticket_type, ticket_number into titanik_test_2 from ( select id,  pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?.*?$') as m, 4 as cnt,  substring(cabin, 1, 1) as cabin_type from titanik_test_1 UNION select id,  pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?$') as m, 3 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_test_1 UNION select id,  pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?([A-Z]\\d*)\\s*?$') as m, 2 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_test_1 UNION select id,  pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, regexp_matches(cabin, '^\\s*?([A-Z]\\d*)\\s*?$') as m, 1 as cnt, substring(cabin, 1, 1) as cabin_type from titanik_test_1 UNION select id,  pclass,&quot;name&quot;,sex,age,sibsp,parch,ticket,fare,cabin,embarked, ticket_type, ticket_number, NULL as m, 0 as cnt, NULL as cabin_type from titanik_test_1 where cabin ISNULL) as a; <\/code><\/pre>\n<p>  \u0438 \u0432\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c:  <\/p>\n<pre><code class=\"sql\">select a.*, b.cnt as cabin_people_cnt into  titanik_test_3 from  titanik_test_2 a, ( select cabin as cabid, count(id) as cnt from titanik_test_1 group by 1) as b where  a.cabin = b.cabid OR (a.cabin ISNULL AND b.cabid ISNULL); <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043e\u0434\u043d\u043e \u043f\u043e\u043b\u0435: \u043f\u043e\u0440\u0442 \u043f\u043e\u0441\u0430\u0434\u043a\u0438 (embarked):  <\/p>\n<pre><code class=\"sql\">select embarked, count(id) from titanik_train_3 group by 1 order by 1 asc; select embarked, count(id) from titanik_test_3 group by 1 order by 1 asc; <\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0430\u043a\u043e\u0439 \u2014 \u0434\u0432\u043e\u0439\u043d\u0438\u043a\u043e\u0432 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f:  <\/p>\n<table>\n<tr>\n<th>embarked<\/th>\n<th>count<\/th>\n<\/tr>\n<tr>\n<td>C<\/td>\n<td>168<\/td>\n<\/tr>\n<tr>\n<td>Q<\/td>\n<td>77<\/td>\n<\/tr>\n<tr>\n<td>S<\/td>\n<td>644<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>2<\/td>\n<\/tr>\n<\/table>\n<p>  \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0434\u0432\u0443\u043c\u044f \u0437\u0430\u043f\u0438\u0441\u044f\u043c\u0438 \u0433\u0434\u0435 \u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445? \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438, \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0431\u0440\u043e\u0441\u0438\u0442\u044c, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0440\u0435\u0434\u043d\u0435\u0435. \u041d\u0430 \u0432\u044b\u0431\u043e\u0440.<\/p>\n<h5>\u0412\u044b\u0432\u043e\u0434\u044b<\/h5>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043c\u044b \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u043e\u0439 \u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435. \u041f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0434\u0430\u043d\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0437\u0430\u043d\u044f\u043b\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0442\u0440\u0435\u0445 \u0447\u0430\u0441\u043e\u0432. \u041e\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 \u0434\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430. <\/p>\n<p>  \u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u043e \u043e\u0431\u044a\u0435\u043c\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0441\u0442\u0435. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0441\u0442\u0435 \u043c\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0443\u0436\u0435 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445. \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043a\u0442\u043e \u0440\u0435\u0448\u0438\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0441\u043e \u043c\u043d\u043e\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0443 \u2014 \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u043e\u0442\u0432\u0435\u0447\u0443 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. \u0416\u0434\u0443 \u043a\u0440\u0438\u0442\u0438\u043a\u0438.    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/165281\/\"> http:\/\/habrahabr.ru\/post\/165281\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041a\u0430\u0436\u0434\u044b\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0441 \u043a\u0440\u0438\u0447\u0430\u0449\u0438\u043c \u043b\u043e\u0437\u0443\u043d\u0433\u043e\u043c <i><b>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u00ab\u043d\u043e\u0432\u0430\u044f \u043d\u0435\u0444\u0442\u044c\u00bb!<\/b><\/i>. \u041f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u043a\u0430 \u0434\u043b\u044f \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u043e\u0432\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0414\u0430\u043d\u043d\u044b\u0435 = \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u041d\u0435\u0444\u0442\u044c = \u041f\u0440\u043e\u0444\u0438\u0442. \u041e\u0442\u043a\u0443\u0434\u0430 \u0432\u0437\u044f\u043b\u043e\u0441\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u044b\u0439\u0434\u0435\u043c \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0448\u0442\u0430\u043c\u043f\u0430 \u0438 \u043a\u043e\u043f\u043d\u0435\u043c \u0447\u0443\u0442\u044c \u0433\u043b\u0443\u0431\u0436\u0435:<br \/>  \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u0435\u0433\u043e \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u043b \u041c\u0430\u0439\u043a\u043b \u041f\u0430\u043b\u043c\u0435\u0440[<a href=\"http:\/\/ana.blogs.com\/maestros\/2006\/11\/data_is_the_new.html\">1<\/a>] \u0435\u0449\u0435 \u0432 2006 \u0433\u043e\u0434\u0443:  <\/p>\n<blockquote><p>\u0414\u0430\u043d\u043d\u044b\u0435 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u044b\u0440\u0430\u044f \u043d\u0435\u0444\u0442\u044c. \u041e\u043d\u0430 \u0446\u0435\u043d\u043d\u0430, \u043d\u043e \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043d\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430. \u041e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0430 \u0432 \u0433\u0430\u0437, \u043f\u043b\u0430\u0441\u0442\u0438\u043a, \u0445\u0438\u043c\u0438\u043a\u0430\u0442\u044b, \u0438 \u0442.\u0434., \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u0432\u043b\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0441\u0442\u044c; \u0442\u0430\u043a \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u00ab\u0440\u0430\u0441\u043a\u0443\u0441\u0438\u0442\u044c\u00bb, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0441\u0442\u0430\u043b\u0438 \u0446\u0435\u043d\u043d\u044b\u043c\u0438.  <\/p><\/blockquote>\n<p>  \u0422\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0442\u0440\u0435\u043d\u0434\u043e\u0432\u043e\u0433\u043e \u00ab\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u043d\u043e\u0432\u0430\u044f \u043d\u0435\u0444\u0442\u044c!\u00bb \u0431\u043b\u0438\u0436\u0435 \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0447\u0435\u043c \u043a \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u0443. \u0418 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0432\u044b\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u0414\u0438\u0437\u0440\u0430\u0435\u043b\u0438:<br \/>  <i>\u00ab\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0442\u0440\u0438 \u0432\u0438\u0434\u0430 \u043b\u0436\u0438: \u0415\u0441\u0442\u044c \u043b\u043e\u0436\u044c, \u043d\u0430\u0433\u043b\u0430\u044f \u043b\u043e\u0436\u044c \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430\u00bb<\/i>.<br \/>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u043f\u0438\u043a\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/165001\/\">Data Mining: \u041f\u0435\u0440\u0432\u0438\u0447\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0421\u0423\u0411\u0414. \u0427\u0430\u0441\u0442\u044c 1<\/a> <br \/>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0434\u043e\u0431\u044b\u0447\u0443!<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/8f1\/1d0\/2ff\/8f11d02ff24631c62f9d1d59028122c3.jpg\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-165281","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/165281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165281"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/165281\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}