kmeans
A C++ library for k-means
Loading...
Searching...
No Matches
Namespaces | Functions
compute_wcss.hpp File Reference

Compute within-cluster sum of squares. More...

#include <algorithm>
#include "SimpleMatrix.hpp"
Include dependency graph for compute_wcss.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kmeans
 Namespace for k-means clustering.
 

Functions

template<class Matrix_ , typename Cluster_ , typename Float_ >
void kmeans::compute_wcss (const Matrix_ &data, Cluster_ ncenters, const Float_ *centers, const Cluster_ *clusters, Float_ *wcss)
 

Detailed Description

Compute within-cluster sum of squares.