首页 > > 详细

代写COMP5318/COMP4318 Machine Learning and Data Mining Week 10代写C/C++编程

项目预算:   开发周期:  发布时间:   要求地区:

COMP5318/COMP4318 Machine Learning and Data Mining

s1 2025

Week 10 Tutorial exercises

Clustering 2

Exercise 1. DBSCAN clustering

Use the DBSCAN algorithm to cluster the items A1, A2, …, A8. The distance matrix is given below. Assume that Eps=2 and MinPts=2.

Exercise 2. Evaluating clustering quality using the silhouette coefficient

Given are 4 items P1, P2, P3 and P4. They were clustered using a clustering algorithm. The cluster labels and the distance matrix are shown below. Evaluate the quality of the clustering by computing the silhouette coefficient for each point, each of the 2 clusters and the overall clustering.

Distance matrix:

Cluster labels:

Exercise 3. Evaluating clustering quality using correlation

For the data from the previous exercise, evaluate the clustering quality using the correlation between the similarity matrix derived from the distance matrix (given below) and the similarity matrix derived from the clustering results (i.e. the matrix whose ij entry is 1 if two objects belong to the same cluster and 0 otherwise).

The similarity matrix derived from the distance matrix is given below. It was computed from the distance matrix as s =1 - (d - dmin)/(dmax - dmin), where dmin and dmax are the minimum and maximum distances in the matrix: dmin=0.1 and dmax=0.7.

Similarity matrix:



软件开发、广告设计客服
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 9951568
© 2021 www.rj363.com
软件定制开发网!