IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
weightedsubsampling.m File Reference

Detailed Description

Weighted subsampling.

Does so by integrating the weights, then approximate "soft" (closest match) binary search. Selected items are marked and garbage collection takes place once in a while, then integrates again etc.

Definition in file weightedsubsampling.m.

Go to the source code of this file.

Functions

function weightedsubsampling (in no_sel, in weights)
 

Function Documentation

function weightedsubsampling ( in  no_sel,
in  weights 
)
Parameters
no_selNumber of observations to select
weightsObservation weights