dbscan clustering error.

3 vues (au cours des 30 derniers jours)
sreelekshmi ms
sreelekshmi ms le 6 Mar 2020
Commenté : A.G. Bruno le 18 Avr 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 commentaire
A.G. Bruno
A.G. Bruno le 18 Avr 2020
Your datasets include both values and strings, could be it the problem?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by