Xmipp
v3.23.11-Nereus
|
#include <lpp.h>
Public Member Functions | |
void | setSpecificParameters (int k=12, double sigma=1.) |
Set specific parameters. More... | |
void | reduceDimensionality () |
Reduce dimensionality. More... | |
Public Member Functions inherited from DimRedAlgorithm | |
DimRedAlgorithm () | |
Empty constructor. More... | |
void | setInputData (Matrix2D< double > &X) |
Set input data. More... | |
void | setOutputDimensionality (size_t outputDim) |
Set output dimensionality. More... | |
const Matrix2D< double > & | getReducedData () |
Get reduced data. More... | |
Public Attributes | |
int | k |
double | sigma |
Public Attributes inherited from DimRedAlgorithm | |
Matrix2D< double > * | X |
Pointer to input data. More... | |
size_t | outputDim |
Output dim. More... | |
Matrix2D< double > | Y |
Output data. More... | |
DimRedDistance2 | distance |
Distance function. More... | |
FileName | fnMapping |
Save mapping. More... | |
|
virtual |
Reduce dimensionality.
Reduce dimensionality method based on the Locality Preserving Projections (LPP) algorithm. These are linear projective maps that arise by solving a variational problem that optimally preserves the neighborhood structure of the data set.
Implements DimRedAlgorithm.
Definition at line 37 of file lpp.cpp.
void LPP::setSpecificParameters | ( | int | k = 12 , |
double | sigma = 1. |
||
) |