scikit-learn-contrib/hdbscan

Introduce sample weighting in HDBSCAN

Aperta

#148 aperta il 5 dic 2017

 (18 commenti) (10 reazioni) (0 assegnatari)Jupyter Notebook (535 fork)github user discovery
help wantednew feature

Metriche repository

Star
 (3137 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Like for DBSCAN it would be very useful to also have the possibility to use a "sample_weight" parameter when performing HDBSCAN clustering trough the fit method. This to take into account possible presence of data containing element duplicates.

DBSCAN is just using sample_weight in the following way:

n_neighbors = np.array([np.sum(sample_weight[neighbors]) for neighbors in neighborhoods])

do you know if this is already planned at same time or not?

Guida contributor