{"action":"created","issue":{"url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/28","repository_url":"https://api.github.com/repos/cvlabmiet/cvclasses16","labels_url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/28/comments","events_url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/28/events","html_url":"https://github.com/cvlabmiet/cvclasses16/pull/28","id":180708848,"number":28,"title":"Added demonstration of kmeans #24.","user":{"login":"atselousov","id":22117239,"avatar_url":"https://avatars.githubusercontent.com/u/22117239?v=3","gravatar_id":"","url":"https://api.github.com/users/atselousov","html_url":"https://github.com/atselousov","followers_url":"https://api.github.com/users/atselousov/followers","following_url":"https://api.github.com/users/atselousov/following{/other_user}","gists_url":"https://api.github.com/users/atselousov/gists{/gist_id}","starred_url":"https://api.github.com/users/atselousov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atselousov/subscriptions","organizations_url":"https://api.github.com/users/atselousov/orgs","repos_url":"https://api.github.com/users/atselousov/repos","events_url":"https://api.github.com/users/atselousov/events{/privacy}","received_events_url":"https://api.github.com/users/atselousov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cvlabmiet/cvclasses16/labels/lesson%202","name":"lesson 2","color":"005277"}],"state":"open","locked":false,"assignee":{"login":"rgolovanov","id":14174584,"avatar_url":"https://avatars.githubusercontent.com/u/14174584?v=3","gravatar_id":"","url":"https://api.github.com/users/rgolovanov","html_url":"https://github.com/rgolovanov","followers_url":"https://api.github.com/users/rgolovanov/followers","following_url":"https://api.github.com/users/rgolovanov/following{/other_user}","gists_url":"https://api.github.com/users/rgolovanov/gists{/gist_id}","starred_url":"https://api.github.com/users/rgolovanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgolovanov/subscriptions","organizations_url":"https://api.github.com/users/rgolovanov/orgs","repos_url":"https://api.github.com/users/rgolovanov/repos","events_url":"https://api.github.com/users/rgolovanov/events{/privacy}","received_events_url":"https://api.github.com/users/rgolovanov/received_events","type":"User","site_admin":false},"assignees":[{"login":"rgolovanov","id":14174584,"avatar_url":"https://avatars.githubusercontent.com/u/14174584?v=3","gravatar_id":"","url":"https://api.github.com/users/rgolovanov","html_url":"https://github.com/rgolovanov","followers_url":"https://api.github.com/users/rgolovanov/followers","following_url":"https://api.github.com/users/rgolovanov/following{/other_user}","gists_url":"https://api.github.com/users/rgolovanov/gists{/gist_id}","starred_url":"https://api.github.com/users/rgolovanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgolovanov/subscriptions","organizations_url":"https://api.github.com/users/rgolovanov/orgs","repos_url":"https://api.github.com/users/rgolovanov/repos","events_url":"https://api.github.com/users/rgolovanov/events{/privacy}","received_events_url":"https://api.github.com/users/rgolovanov/received_events","type":"User","site_admin":false},{"login":"whitemol","id":22376462,"avatar_url":"https://avatars.githubusercontent.com/u/22376462?v=3","gravatar_id":"","url":"https://api.github.com/users/whitemol","html_url":"https://github.com/whitemol","followers_url":"https://api.github.com/users/whitemol/followers","following_url":"https://api.github.com/users/whitemol/following{/other_user}","gists_url":"https://api.github.com/users/whitemol/gists{/gist_id}","starred_url":"https://api.github.com/users/whitemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitemol/subscriptions","organizations_url":"https://api.github.com/users/whitemol/orgs","repos_url":"https://api.github.com/users/whitemol/repos","events_url":"https://api.github.com/users/whitemol/events{/privacy}","received_events_url":"https://api.github.com/users/whitemol/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cvlabmiet/cvclasses16/milestones/2","html_url":"https://github.com/cvlabmiet/cvclasses16/milestones/Lesson%202%20-%20Image%20Segmentation","labels_url":"https://api.github.com/repos/cvlabmiet/cvclasses16/milestones/2/labels","id":2025127,"number":2,"title":"Lesson 2 - Image Segmentation","description":"","creator":{"login":"rgolovanov","id":14174584,"avatar_url":"https://avatars.githubusercontent.com/u/14174584?v=3","gravatar_id":"","url":"https://api.github.com/users/rgolovanov","html_url":"https://github.com/rgolovanov","followers_url":"https://api.github.com/users/rgolovanov/followers","following_url":"https://api.github.com/users/rgolovanov/following{/other_user}","gists_url":"https://api.github.com/users/rgolovanov/gists{/gist_id}","starred_url":"https://api.github.com/users/rgolovanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgolovanov/subscriptions","organizations_url":"https://api.github.com/users/rgolovanov/orgs","repos_url":"https://api.github.com/users/rgolovanov/repos","events_url":"https://api.github.com/users/rgolovanov/events{/privacy}","received_events_url":"https://api.github.com/users/rgolovanov/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":0,"state":"open","created_at":"2016-09-23T19:19:25Z","updated_at":"2016-10-03T18:17:20Z","due_on":"2016-10-08T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-03T18:17:20Z","updated_at":"2016-10-04T17:05:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cvlabmiet/cvclasses16/pulls/28","html_url":"https://github.com/cvlabmiet/cvclasses16/pull/28","diff_url":"https://github.com/cvlabmiet/cvclasses16/pull/28.diff","patch_url":"https://github.com/cvlabmiet/cvclasses16/pull/28.patch"},"body":"Демострация работы алгоритма k-means. На мой взгляд выполнены все требования кроме вывод гистограмм, но их не надо делать для алгоритма k-means.\r\n\r\nВыбор центров кластеров:\r\n![1](https://cloud.githubusercontent.com/assets/22117239/19048058/597e33da-89ad-11e6-9773-fb7c00982f32.png)\r\n\r\nЕсли кластеры не выбраны руками, то они задаются случайно. Количество случайно выбранных центров задаётся через входные параметры.\r\n\r\nПример сегментации (зеленым помечены центры кластеров):\r\n![kmeans_1_1](https://cloud.githubusercontent.com/assets/22117239/19048159/d1293844-89ad-11e6-9bc6-37a7ee8d0ef4.png)\r\n![kmeans_1_2](https://cloud.githubusercontent.com/assets/22117239/19048165/d5e31fbc-89ad-11e6-9f0d-0681de69cf8b.png)\r\n![kmeans_1_3](https://cloud.githubusercontent.com/assets/22117239/19048168/d8f3e966-89ad-11e6-817c-3b288eacb62c.png)\r\n![kmeans_1_4](https://cloud.githubusercontent.com/assets/22117239/19048171/dc17a7f4-89ad-11e6-9474-1788ff627372.png)\r\n![kmeans_1_5](https://cloud.githubusercontent.com/assets/22117239/19048173/decaa88e-89ad-11e6-8d4e-c5261d0c73da.png)\r\n![kmeans_1_6](https://cloud.githubusercontent.com/assets/22117239/19048176/e20e3c9a-89ad-11e6-857b-98d0f6f5c2ed.png)\r\n\r\nПример вывода информации в консоль (затраченное время):\r\n![2](https://cloud.githubusercontent.com/assets/22117239/19048189/f5d02acc-89ad-11e6-890a-d26327c24ba1.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/comments/251449486","html_url":"https://github.com/cvlabmiet/cvclasses16/pull/28#issuecomment-251449486","issue_url":"https://api.github.com/repos/cvlabmiet/cvclasses16/issues/28","id":251449486,"user":{"login":"whitemol","id":22376462,"avatar_url":"https://avatars.githubusercontent.com/u/22376462?v=3","gravatar_id":"","url":"https://api.github.com/users/whitemol","html_url":"https://github.com/whitemol","followers_url":"https://api.github.com/users/whitemol/followers","following_url":"https://api.github.com/users/whitemol/following{/other_user}","gists_url":"https://api.github.com/users/whitemol/gists{/gist_id}","starred_url":"https://api.github.com/users/whitemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitemol/subscriptions","organizations_url":"https://api.github.com/users/whitemol/orgs","repos_url":"https://api.github.com/users/whitemol/repos","events_url":"https://api.github.com/users/whitemol/events{/privacy}","received_events_url":"https://api.github.com/users/whitemol/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T17:05:02Z","updated_at":"2016-10-04T17:05:02Z","body":"@rgolovanov  Ревью сделан, замечаний нет."}}
{"actor":{"display_login":"whitemol"}}