Filter löschen
Filter löschen

dbscan clustering error.

1 Ansicht (letzte 30 Tage)
sreelekshmi ms
sreelekshmi ms am 6 Mär. 2020
Kommentiert: A.G. Bruno am 18 Apr. 2020
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 Kommentar
A.G. Bruno
A.G. Bruno am 18 Apr. 2020
Your datasets include both values and strings, could be it the problem?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by