Learn R Programming

skm (version 0.1.5.4)

Selective k-Means

Description

Algorithms for solving selective k-means problem, which is defined as finding k rows in an m x n matrix such that the sum of each column minimal is minimized. In the scenario when m == n and each cell value in matrix is a valid distance metric, this is equivalent to a k-means problem. The selective k-means extends the k-means problem in the sense that it is possible to have m != n, often the case m < n which implies the search is limited within a small subset of rows. Also, the selective k-means extends the k-means problem in the sense that the instance in row set can be instance not seen in the column set, e.g., select 2 from 3 internet service provider (row) for 5 houses (column) such that minimize the overall cost (cell value) - overall cost is the sum of the column minimal of the selected 2 service provider.

Copy Link

Version

Install

install.packages('skm')

Monthly Downloads

218

Version

0.1.5.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Guang Yang

Last Published

January 23rd, 2017

Functions in skm (0.1.5.4)

dist_wlatlng_cpp

dist_wlatlng_cpp
skm_mls_cpp

skm_mls_cpp
skm_sgl_cpp

skm_sgl_cpp
skm_mls

skm_mls
zip2012

zip2012
skm_rgi_cpp

skm_rgi_cpp
skmRpl_mlp_cpp

skmRpl_mlp_cpp
stratified_sampling

stratified_sampling
skmSolution

skmSolution
source_zip_list

source_zip_list
skm_rgs_cpp

skm_rgs_cpp
skm_gdp_cpp

skm_gdp_cpp
col_min_idx

col_min_idx
col_max_idx

col_max_idx
skm_minmax_cpp

skm_minmax_cpp
col_rgn_val

col_rgn_val
col_min_val

col_min_val
col_max_val

col_max_val
dist_wlatlng

dist_wlatlng
skm_mlp_cpp

skm_mlp_cpp