I am new on clustering ( using sklearn in Python). I am trying to import Agglomerative Clustering using:
from sklearn.cluster import AgglomerativeClustering
but I get the following error:
from sklearn.cluster import AgglomerativeClustering
ImportError: cannot import name AgglomerativeClustering
I did install the latest version of sklearn on my UBUNTU machine from http://scikit-learn.org/, but still no luck!! Can anyone help me on this?
I'm a bit late in posting this but for everyone else who comes across this error, you would want to see this thread Why can't I import the AgglomerativeClustering class?
You probably need to upgrade your scikit-learn version to make use of agglomerative clustering feature.