File Exchange

image thumbnail

Optimal Sub-sampled Population with Max Expansion and Min Projection Error

version 1.6.0.0 (2.58 KB) by Reza Farrahi Moghaddam
A subsample of an input population that has max pair-distance and min projection error

1 Download

Updated 17 Jul 2015

View License

% 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
%

Cite As

Reza Farrahi Moghaddam (2020). 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. Retrieved .

Comments and Ratings (0)

Updates

1.6.0.0

Minor.

1.5.0.0

Updated and bug fixed.

1.0.0.0

Missing file added.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux