You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DistanceMetric class was moved from sklearn.neighbors to sklearn.metrics
Import DistanceMetric from sklearn.metrics
from sklearn.metrics import DistanceMetric
Change code to:
from sklearn.metrics import silhouette_score, adjusted_mutual_info_score, adjusted_rand_score, calinski_harabasz_score, davies_bouldin_score from sklearn.metrics import DistanceMetric # Import from sklearn.metrics instead from sklearn.decomposition import PCA from sklearn.cluster import KMeans from sklearn.manifold import TSNE from sklearn import preprocessing
The text was updated successfully, but these errors were encountered:
DistanceMetric class was moved from sklearn.neighbors to sklearn.metrics
Import DistanceMetric from sklearn.metrics
from sklearn.metrics import DistanceMetric
Change code to:
from sklearn.metrics import silhouette_score, adjusted_mutual_info_score, adjusted_rand_score, calinski_harabasz_score, davies_bouldin_score from sklearn.metrics import DistanceMetric # Import from sklearn.metrics instead from sklearn.decomposition import PCA from sklearn.cluster import KMeans from sklearn.manifold import TSNE from sklearn import preprocessing
The text was updated successfully, but these errors were encountered: