from sklearn.cluster import MeanShift, estimate_bandwidth bandwith_estimation = estimate_bandwidth(scaled_dataset)