apricot: Submodular selection for data summarization in Python
Schreiber, Jacob, Bilmes, Jeffrey, Noble, William Stafford
The package implements an efficient greedy selection algorithm that offers strong theoretical guarantees on the quality of the selected set. Two submodular set functions are implemented in apricot: facility location, which is broadly applicable but requires memory quadratic in the number of examples in the data set, and a feature-based function that is less broadly applicable but can scale to millions of examples. Apricot is extremely efficient, using both algorithmic speedups such as the lazy greedy algorithm and code optimizers such as numba. We demonstrate the use of subset selection by training machine learning models to comparable accuracy using either the full data set or a representative subset thereof. This paper presents an explanation of submodular selection, an overview of the features in apricot, and an application to several data sets.
Jun-8-2019
- Country:
- North America
- United States > Washington
- King County > Seattle (0.16)
- Canada > Ontario
- Toronto (0.14)
- United States > Washington
- North America
- Genre:
- Research Report (0.64)
- Technology: