フィルターのクリア

dbscan clustering error.

1 回表示 (過去 30 日間)
sreelekshmi ms
sreelekshmi ms 2020 年 3 月 6 日
コメント済み: A.G. Bruno 2020 年 4 月 18 日
I have a data set Liverxl I attached here. I apply dbscan to this dataset but it didn't give any cluster output, only a value -1. What is the problem with it? Please help me.
clc;
clear;
data=xlsread('Liverxl.xlsx');
asc=sort(data);
minpts=6;
epsilon=4;
[idx, corepts] = dbscan(asc,epsilon,minpts);
gscatter(asc(:,1),asc(:,2),idx);
  1 件のコメント
A.G. Bruno
A.G. Bruno 2020 年 4 月 18 日
Your datasets include both values and strings, could be it the problem?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by