FurthestSum: Application of FurthestSum algorithm in order to find an initial solution for Archetypal Analysis
Description
The FurthestSum algorithm as was written by Morup and Hansen
in Matlab, see [1] and it is based on [2]. The algorithm has been converted in order to use commonly used
data frames in R.
Usage
FurthestSum(Y, kappas, irows, exclude = NULL)
Value
The vector of rows that constitute the initial FurthestSum solution
Arguments
Y
The data frame with dimensions \(n \times d\)
kappas
The number of archetypes
irows
The initially used rows of data frame for starting algorithm
exclude
The rows of data frame that we want to exclude from being checked
References
[1] Source: https://mortenmorup.dk/?page_id=2 , last accessed 2024-03-09
[2] D.S. Hochbaum, D.B. Shmoys, A best possible heuristic for the k-center problem,
Math. Oper. Res. 10(2) (1985) 180-184. https://doi.org/10.1287/moor.10.2.180