'Returns the likelihood of the vector belonging to the cluster.'

def likelihood_vectorspace(self, vector, cluster):

    predicted = self.classify_vectorspace(vector)
    return (1.0 if (cluster == predicted) else 0.0)
