Optimal Sub-sampled Population with Max Expansion and Min Projection Error
% 150525: Reza Farrahi Moghaddam (imriss@ieee.org) (May 25th, 2015)
% Optimal Sub-sampled Population with Max Expansion and Min Projection Error
%
% This function searches for a subsample of an input population that has
% maximum pair-distance in all neighborhoods. Also, it minimizes the
% projection error of the input population on the output subsampled
% population. The size of a neighborhood should be higher than 1.
%
% Syntax:
% [spectra_2D_Sampled, spectra_2D_Sampled_index, spectra_2D_Sampled_allProjected_global] = Subsample_MaxNeighborDistance_R(spectra_2D, subsample_size, neighborhood_size)
%
% spectra_2D: Input population
% subsample_size: The size of subsampled required
% neighborhood_size: Size of neighborhood (including the center) used in calculations
%
% spectra_2D_Sampled: Output subsampled population
% spectra_2D_Sampled_index: Indices of the output subsampled population in the input population
% spectra_2D_Sampled_allProjected_global: 1-NN projection of the input population onto the output subsampled population
%
Citar como
Reza Farrahi Moghaddam (2024). Optimal Sub-sampled Population with Max Expansion and Min Projection Error (https://www.mathworks.com/matlabcentral/fileexchange/50993-optimal-sub-sampled-population-with-max-expansion-and-min-projection-error), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.