Clustering of 1d array data set

Respuestas (1)

Aditya Patil
Aditya Patil el 8 de Abr. de 2021
You can use dbscan on 1d array, as below
X = rand(100,1);
dbscan(X, 0.1, 5)
However, it might not be the most appropriate one. Depending on your requirements, kmeans/kmedoids might work better.

1 comentario

Abhishek Mani Shukla
Abhishek Mani Shukla el 8 de Abr. de 2021
In our case for 1d array using dbscan gives only single cluster while the data set is mixing of two cluster.

Iniciar sesión para comentar.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 5 de Abr. de 2021

Comentada:

el 8 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by