필터 지우기
필터 지우기

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 CenterFile Exchange에서 Statistics 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