estimate_bandwidth
- sklearn.cluster.estimate_bandwidth(X, *, quantile=0.3, n_samples=None, random_state=0, n_jobs=None)
Estimate the bandwidth to use with the mean-shift algorithm.
This function takes time at least quadratic in
. For large datasets, it is wise to subsample by setting . Alternatively, the parameter can be set to a small value without estimating it.