Klustring av lokaler med maskininlärning: En jämförande studie av K- prototypes, DBSCAN och hierarkisk klustring
2025 (Swedish)Independent thesis Basic level (degree of Bachelor), 180 HE credits
Student thesisAlternative title
Clustering of rooms with machine learning : A comparative study on K-prototypes, DBSCAN and hierarchical clustering (English)
Abstract [sv]
Uppsatsen undersöker prestationen hos tre oövervakade maskininlärningsalgoritmer för klustring, K-prototypes, Hierarkisk Klustring och Density-Based Spatial Clustering of Applications with Noise (DBSCAN). Metoderna tillämpades på ett datamaterial med olika datanivåer bestående av kategoriska och numeriska variabler. Variablerna är de tekniska och fysiska egenskaperna av bokningsbara lokaler på Umeå universitet. Uppsatsen fokuserar på att utvärdera hur bra metoderna identifierar meningsfulla grupper av lokaler. Klusterkvalitet utvärderas med Silhouette Score, Davies-Bouldin Index (DBI), Calinski-Harabasz Index (CHI) och Adjusted Rand Index (ARI). Resultaten visar att K-prototypes uppnådde det högsta Sihouette Score (0,854) vilket tyder på väl separerade kluster som består av lokaler med liknande egenskaper. DBSCAN och Hierarkiska klustringen identifierade liknande kluster (ARI = 0,858), vilket tyder på att de identifierade liknande strukturer i datamaterialet. Uppsatsen belyser utmaningen med att hitta klustringsalgoritmer för data med olika datanivåer samt att identifiera jämförbara utvärderingsmått för centroid-, längd- och täthetsbaserade algoritmer. Resultaten ger insikter i valet av lämpliga klustringsmodeller för gruppering av lokaler baserat på data av olika datanivåer.
Abstract [en]
This thesis explores the performance of three unsupervised machine learning clustering algorithms, K-prototypes, Hierarchical Clustering and Density-Based Spatial Clustering of Applications with Noise (DBSCAN). The methods were applied to a dataset containing a mix of categorical and numerical variables describing the technical and physical features of bookable rooms at Umeå University. The focus of the study is on evaluating how well the methods identify meaningful groups of rooms. The clustering quality was evaluated using Silhouette Score, David-Bouldin Index (DBI), Calinski-Harabasz Index (CHI) and Adjusted Rand Index (ARI). The results produced showed that K-prototypes achieved the highest Silhouette Score (0,854) indicating well separated cluster with similar rooms within them. DBSCAN and Hierarchical Clustering identified more similar clusters between them (ARI = 0,858), suggesting that they identified similar structures in the data. The thesis highlights the challenges of finding clustering algorithms for data of mixed types and good evaluation methods for centroid versus density-based and distance-based algorithms. These findings offer insight into the selection of suitable clustering models for grouping rooms based on mixed data.
Place, publisher, year, edition, pages
2025.
Keywords [en]
Unsupervised learning, Clustering algorithms, K-prototypes, DBSCAN, Hierarchical clustering, Mixed data, Rooms clustering, Gower, Silhouette Score, Davies-Bouldin Index, Calinski-Harabasz Index, Adjusted Rand Index
Keywords [sv]
Oövervakad maskininlärning, Klustringsalgoritmer, K-prototypes, DBSCAN, Hierarkisk klustring, Olika datanivåer, Klustring av lokaler, Gower, Silhouette Score, Davies-Bouldin Index, Calinski-Harabasz Index, Adjusted Rand Index
National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:umu:diva-241654OAI: oai:DiVA.org:umu-241654DiVA, id: diva2:1978523
Subject / course
Statistics C: Bachelor's Thesis
Educational program
Programme in Statistics and Data Science
2025-06-272025-06-272025-06-27Bibliographically approved