|
| subroutine, public | kmeans_clustering_oct_m::assign_points_to_centroids_finite_bc (mesh, centroids, ip_to_ic) |
| | Assign each grid point to the closest centroid. A centroid and its set of nearest grid points defines a cluster. More...
|
| |
| subroutine, public | kmeans_clustering_oct_m::update_centroids (mesh, weight, ip_to_ic, centroids) |
| | Compute a new set of centroids. More...
|
| |
| subroutine | kmeans_clustering_oct_m::compute_grid_difference (points, updated_points, tol, points_differ) |
| | Compute the difference in two grids as \(abs(\mathbf{g}_1 - \mathbf{g}_2)\). More...
|
| |
| subroutine | kmeans_clustering_oct_m::report_differences_in_grids (points, updated_points, tol, points_differ) |
| | Report differences returned from compute_grid_difference. More...
|
| |
| subroutine, public | kmeans_clustering_oct_m::weighted_kmeans (space, mesh, weight, centroids, n_iter, centroid_tol, discretize, inertia) |
| | Weighted K-means clustering. More...
|
| |
| subroutine, public | kmeans_clustering_oct_m::sample_initial_centroids (mesh, centroids, seed_value) |
| | Sample initial centroids from the full mesh. More...
|
| |
| subroutine | kmeans_clustering_oct_m::compute_centroid_inertia (mesh, centroids, weight, ip_to_ic, inertia) |
| | Compute the inertia of all centroids. More...
|
| |