@@ -18,17 +18,13 @@ data can be found in the ``labels_`` attribute.
1818.. topic :: Input data
1919
2020 One important thing to note is that the algorithms implemented in
21- this module take different kinds of matrix as input. On one hand,
22- :class: `MeanShift ` and :class: `KMeans ` take data matrices of shape
23- [n_samples, n_features]. These can be obtained from the classes in
24- the :mod: `sklearn.feature_extraction ` module. On the other hand,
25- :class: `AffinityPropagation ` and :class: `SpectralClustering ` take
26- similarity matrices of shape [n_samples, n_samples]. These can be
27- obtained from the functions in the :mod: `sklearn.metrics.pairwise `
28- module. In other words, :class: `MeanShift ` and :class: `KMeans ` work
29- with points in a vector space, whereas :class: `AffinityPropagation `
30- and :class: `SpectralClustering ` can work with arbitrary objects, as
31- long as a similarity measure exists for such objects.
21+ this module can take different kinds of matrix as input. All the
22+ methods accept standard data matrices of shape ``[n_samples, n_features] ``.
23+ These can be obtained from the classes in the :mod: `sklearn.feature_extraction `
24+ module. For :class: `AffinityPropagation `, :class: `SpectralClustering `
25+ and :class: `DBSCAN ` one can also input similarity matrices of shape
26+ ``[n_samples, n_samples] ``. These can be obtained from the functions
27+ in the :mod: `sklearn.metrics.pairwise ` module.
3228
3329Overview of clustering methods
3430===============================
0 commit comments