clc;clear;data=xlsread('Pimaxl.xlsx');minpts=4; epsilon=2;ticidx=dbscan(asc,epsilon,minpts);eucD = pdist(idx,'euclidean');Z = linkage(eucD,'average');toc
How can I show the number of output clusters of dbscan and linkage? Please help me.
count of clusters
clc;clear;data=xlsread('Pimaxl.xlsx');minpts=4; epsilon=2;ticidx=dbscan(asc,epsilon,minpts);eucD = pdist(idx,'euclidean');Z = linkage(eucD,'average');toc
Best Answer