`kpod`

Function for performing k-POD, a method for k-means clustering on partially observed data

1 |

`X` |
Data matrix containing missing entries whose rows are observations and columns are features |

`k` |
Number of clusters |

`kmpp_flag` |
(Optional) Indicator for whether or not to initialize with k-means++ |

`maxiter` |
(Optional) Maximum number of iterations |

cluster: Clustering assignment obtained with k-POD

cluster_list: List containing clustering assignments obtained in each iteration

obj_vals: List containing the k-means objective function in each iteration

fit: Fit of clustering assignment obtained with k-POD (calculated as 1-(total withinss/totss))

fit_list: List containing fit of clustering assignment obtained in each iteration

Jocelyn T. Chi

1 2 3 4 5 6 7 8 9 10 11 12 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.