parameters: (self, data, vectors, n_clusters)
return_statement: return labels
docstring: Project ``data`` to ``vectors`` and cluster the result.
docstring_summary: Project ``data`` to ``vectors`` and cluster the result.
docstring_tokens: Project data to vectors and cluster the result .
function: def _project_and_cluster(self, data, vectors, n_clusters):
          """Project ``data`` to ``vectors`` and cluster the result."""
          projected = safe_sparse_dot(data, vectors)
          _, labels = self._k_means(projected, n_clusters)
          return labels
function_tokens: def _project_and_cluster ( self , data , vectors , n_clusters ) : projected = safe_sparse_dot ( data , vectors ) _ , labels = self . _k_means ( projected , n_clusters ) return labels