Limit sample size in silhouette function

1 vue (au cours des 30 derniers jours)
MARIA RODRIGUEZ SANZ
MARIA RODRIGUEZ SANZ le 31 Juil 2018
Does anyone have an idea of how can I limit the number of samples taken into account by silhouette function?:
[s,h] = silhouette(X,clust)
I have large sample size and my computer is calculating for a too long time... I know taht this is possible for example in python:
sil = metrics.silhouette_score(data, cluster-labels, metric='euclidean', sample_size=300)
I dont want to select a number of cases by myself because I suppose that this should by by chance...
Thank you in advance!
Maria.

Réponses (0)

Catégories

En savoir plus sur Circuit Envelope Simulation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by