From: Andreas Mueller <amueller@ai...> - 2012-05-11 09:50:18
I recently opened an issue on renaming the clustering parameters:
At the moment, the parameter in KMeans and MiniBatchKMeans and
SpectralClustering is called k,
and n_clusters in ward.
The number of cluster centers in GMM is called n_components.
Olivier suggested "n_components" for all the clustering algorithms,
while Mathieu suggested
"n_clusters" so to make the destinction between clustering and
factorization more clear.
I felt this should be discussed with a wider audience.
The current idea would be to use n_clusters for all clustering
algorithms and n_components
From: Gael Varoquaux <gael.varoquaux@no...> - 2012-05-11 09:56:51
On Fri, May 11, 2012 at 11:49:50AM +0200, Andreas Mueller wrote:
> The current idea would be to use n_clusters for all clustering
> algorithms and n_components
> for GMM.
I agree with this choice. It needs to good through a phase of
deprecation, but I find that it is a good policy.