{"id":237,"date":"2023-10-10T17:31:32","date_gmt":"2023-10-10T08:31:32","guid":{"rendered":"https:\/\/www.mindware-jp.com\/en\/?p=237"},"modified":"2023-10-10T17:31:34","modified_gmt":"2023-10-10T08:31:34","slug":"classification-and-clustering","status":"publish","type":"post","link":"https:\/\/www.mindware-jp.com\/en\/2023\/10\/10\/classification-and-clustering\/","title":{"rendered":"Classification and Clustering"},"content":{"rendered":"\n<p>Classification and clustering are often confused because they are similar. In machine learning, it is generally explained that classification is supervised learning, and clustering is unsupervised learning. In statistical terms, supervised is when there is an objective variable, and unsupervised is when there is no objective variable.<\/p>\n\n\n\n<p>The purpose of a classification model is relatively easy to understand. Classification models use other qualitative and quantitative variables to explain and reproduce the value of a particular qualitative variable. Note that multivariate data can include multiple quantitative and qualitative variables. Formally, any qualitative variable can be chosen as the objective variable for classification. There are as many ways to classify as there are qualitative variables.<\/p>\n\n\n\n<p>On the other hand, the purpose of clustering is a bit lofty, so misunderstandings sometimes occur. It is possible to treat the results of clustering as a new classification. Each cluster generated becomes a class in the new classification. In other words, clustering can be used to give new labels to data that do not have classification labels. But trying to do the opposite, to expect the clustering results to match a particular classification, doesn&#8217;t seem very productive. <\/p>\n\n\n\n<p>Of course, if you cluster a dataset that has been prepared for a specific classification and has already been validated, it is quite possible that the clustering results will match the classification. For example, if you cluster the explanatory variables of Fisher&#8217;s iris data, the results will closely match the variables of interest. some cases that do not match are due to inconsistencies in the original data. However, this doesn&#8217;t seem very practical.<\/p>\n\n\n\n<p>Cases like this are often introduced as examples of clustering, and the purpose of clustering may be becoming increasingly difficult to understand. An easy-to-understand example where the results of classification and clustering do not match is the classification of good and defective products in quality control. In this case, the clustering results are not limited to two classes, and defective products of multiple classes may be found. In other words, we can see that there are multiple patterns of defective products. The purpose of clustering is to discover deeper new knowledge in this way.<\/p>\n\n\n\n<p>Clustering can be interpreted as a method of creating new classifications synthesized from multiple variables. It is generally said that clustering is used when there is no prior knowledge about the object, but personally I only half agree with this idea. This is because some insight must be at work in deciding which variables to use for clustering. Even in clustering, it is always clustering from some perspective, and absolute clustering cannot exist. In practice, the clustering process should be exploratory, adjusting variable selection.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Classification and clustering are often confused because they are similar. In machine learning, it is generally explained that classification is supervised learning, and clustering is unsupervised learning. In statistical terms, supervised is when there is an objective variable, and unsupervised is when there is no objective variable. The purpose of a classification model is relatively [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-data-science"],"_links":{"self":[{"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":2,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/posts\/237\/revisions\/239"}],"wp:attachment":[{"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mindware-jp.com\/en\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}