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
%
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.