NLP, Python, Scikit Learn.
this? Is it because Tfidf vectors are sparse? This can be remedied with TruncatedSVD. from sklearn.decomposition import TruncatedSVD def pca_reduce(vec_list, n_components): return TruncatedSVD(n_components).fit_transform(vec_list) x_train_3d = pca_reduce(x_train, 3) model = DBSCAN().fit(x_train_3d)