MaxEntropy() selects the k points that maximise the log-determinant of
their kernel block, \(\log\det K_S\). This is equivalent to finding the set
of k points that span the largest volume, which corresponds to
the maximum-entropy sampling criterion (Shewry and Wynn 1987)
and
the maximum-a-posteriori mode of a determinantal point process
(Kulesza and Taskar 2012)
.
Usage
MaxEntropy(
k,
d,
sigma = NULL,
repair = c("clip", "shift", "truncate"),
exact = NA,
maxCombos = 300000L
)Arguments
- k
Integer specifying target selection size, \(1 \le k \le n\).
- d
distobject or square numeric distance matrix over the \(n\) points.- sigma
Optional numeric specifying kernel bandwidth; defaults to the median positive distance.
- repair
Character selecting a positive semi-definite repair method:
"clip"(nearest),"shift"(diagonal loading) or"truncate"(low-rank embedding).- exact
Logical:
TRUEuses explicit enumeration, failing with an error ifmaxCombosis exceeded;FALSEuses the greedy approximation.NAuses exact enumeration whenchoose(n, k) <= maxCombos, greedy otherwise.- maxCombos
Integer specifying ceiling on
choose(n, k)for exact enumeration.
Value
MaxEntropy() returns an integer vector of length k (sorted
ascending) with class "MaxEntropySelection", carrying attributes:
- score
The retained \(\log\det K_S\) of the selection.
-Infis returned for a degenerate selection wherekexceeds the number of distinct points.- negMass
Fraction of spectral mass removed by the positive semi-definite repair.
- sigma, repair, exact
The bandwidth, repair, and whether the optimum was certified by enumeration.
- seed, N, k
The peripheral seed index, instance size, target size.
Details
A radial-basis kernel \(K_{ij} = \exp(-d_{ij}^2 / 2\sigma^2)\) is built from the supplied distances and repaired to a positive-semidefinite matrix. The exact argmax is NP-hard (Kulesza and Taskar 2012) . A greedy approximation is built by pivoted Cholesky, adding at each step the point of largest residual conditional variance. Ties are broken by selecting the more peripheral point.
References
Kulesza A, Taskar B (2012).
“Determinantal point processes for machine learning.”
Foundations and Trends in Machine Learning, 5(2–3), 123–286.
doi:10.1561/2200000044
.
Shewry MC, Wynn HP (1987).
“Maximum entropy sampling.”
Journal of Applied Statistics, 14(2), 165–170.
doi:10.1080/02664768700000020
.