  {"id":319,"date":"2020-02-21T10:09:00","date_gmt":"2020-02-21T10:09:00","guid":{"rendered":"http:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/?p=319"},"modified":"2020-04-03T10:33:09","modified_gmt":"2020-04-03T10:33:09","slug":"stor-i-masterclass-professor-brendan-murphy","status":"publish","type":"post","link":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/","title":{"rendered":"STOR-i Masterclass: Professor Brendan Murphy"},"content":{"rendered":"\n<p>Last week we had the first of this years STOR-i masterclasses given by Professor Brendan Murphy from University College Dublin. He introduced us to model-based clustering and classification. I hope to give a brief insight into his interesting talks over the two days.<\/p>\n\n\n\n<p>The goal of clustering analysis is to place objects into groups that give some meaningful analysis. The idea is to get groups whose members share something in common, and different from members of other clusters.<\/p>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p> Clustering as a concept has been around for millennia. Plato was the first to formalize the thinking with his &#8216;Theory of Forms&#8221; and Aristotle classified animals into groups based on their characteristics in his &#8220;History of Animals&#8221;. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/oldguys.jpg\" alt=\"\" class=\"wp-image-320\" width=\"196\" height=\"256\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/oldguys.jpg 783w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/oldguys-229x300.jpg 229w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/oldguys-768x1004.jpg 768w\" sizes=\"auto, (max-width: 196px) 100vw, 196px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/books.jpg\" alt=\"\" class=\"wp-image-321\" width=\"175\" height=\"163\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/books.jpg 350w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/02\/books-300x279.jpg 300w\" sizes=\"auto, (max-width: 175px) 100vw, 175px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p> Much later on Linnaeus began to cluster plants into hierarchical groups in his works &#8220;Species Plantarum&#8221; and &#8220;Systema Naturae&#8221;. He used features such as if the plants had flowers, and the number of stamen to divide them up into 24 different classes.   <\/p>\n<\/div>\n<\/div>\n\n\n\n<p>Brendan then explained how more recent clustering algorithms could be coded up on a computer to distinguish between different vectors of numbers. The masterclass was finished off with a live demonstration of how we could cluster runners in the 24 Hour World Championship of running, which led into thinking about some open questions in the area of clustering and classification. <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Putting the methods into practice<\/strong><\/p>\n\n\n\n<p>I took the methods learnt in the masterclass and tried to apply them myself to cluster the pixels found in an image. If we think of a picture as the pixels with their red, green and blue co-ordinates plotted in a three dimensional grid, then we can cluster these into k groups and use this to compress the size of the image. Working in python I used this to cluster a picture of some of the mRes cohort.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-1024x768.jpg\" alt=\"\" data-id=\"386\" data-full-url=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-scaled.jpg\" data-link=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/image2\/\" class=\"wp-image-386\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-1024x768.jpg 1024w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-300x225.jpg 300w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-768x576.jpg 768w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-1536x1152.jpg 1536w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-2048x1536.jpg 2048w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/image2-1440x1080.jpg 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"blocks-gallery-item__caption\">The original image<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"346\" height=\"252\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t3.png\" alt=\"\" data-id=\"387\" data-full-url=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t3.png\" data-link=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/t3\/\" class=\"wp-image-387\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t3.png 346w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t3-300x218.png 300w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><figcaption class=\"blocks-gallery-item__caption\">Working with 5 colors<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"346\" height=\"252\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/test2.png\" alt=\"\" data-id=\"389\" data-full-url=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/test2.png\" data-link=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/test2\/\" class=\"wp-image-389\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/test2.png 346w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/test2-300x218.png 300w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><figcaption class=\"blocks-gallery-item__caption\">Working with 7 colors<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"346\" height=\"252\" src=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t4.png\" alt=\"\" data-id=\"388\" data-full-url=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t4.png\" data-link=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/t4\/\" class=\"wp-image-388\" srcset=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t4.png 346w, https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-content\/uploads\/sites\/10\/2020\/04\/t4-300x218.png 300w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><figcaption class=\"blocks-gallery-item__caption\">Working with 10 colors<\/figcaption><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>If you would like to find more out about clustering I would recommend looking at some of Brendan&#8217;s work in the field including the book:<\/p>\n\n\n\n<p> Bouveyron, Charles &amp; Celeux, Gilles &amp; Murphy, Thomas &amp; Raftery, Adrian. (2019). Model-Based Clustering and Classification for Data Science: With Applications in R. 10.1017\/9781108644181. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week we had the first of this years STOR-i masterclasses given by Professor Brendan Murphy from University College Dublin. He introduced us to model-based clustering and classification. I hope to give a brief insight into his interesting talks over the two days. The goal of clustering analysis is to place objects into groups that&hellip; <br \/> <a class=\"read-more\" href=\"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/2020\/02\/21\/stor-i-masterclass-professor-brendan-murphy\/\">Read more<\/a><\/p>\n","protected":false},"author":9,"featured_media":361,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-statistics"],"_links":{"self":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":8,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/posts\/319\/revisions\/390"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/media\/361"}],"wp:attachment":[{"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancaster.ac.uk\/stor-i-student-sites\/matthew-darlington\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}