Xmipp  v3.23.11-Nereus
Classes | Typedefs | Enumerations | Functions
dimred_tools.h File Reference
#include <core/matrix2d.h>
#include <core/matrix1d.h>
#include "core/xmipp_filename.h"
Include dependency graph for dimred_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenerateData
 
class  DimRedAlgorithm
 

Typedefs

typedef double(* DimRedDistance2) (const Matrix2D< double > &X, size_t i1, size_t i2)
 

Enumerations

enum  DatasetType {
  DatasetType::SWISS, DatasetType::HELIX, DatasetType::TWINPEAKS, DatasetType::CLUSTER3D,
  DatasetType::INTERSECT
}
 

Functions

void computeDistance (const Matrix2D< double > &X, Matrix2D< double > &distance, DimRedDistance2 f=NULL, bool computeSqrt=true)
 
void computeRandomPointsDistance (const Matrix2D< double > &X, Matrix1D< double > &distance, Matrix1D< int > ind1, Matrix1D< int > ind2, DimRedDistance2 f, bool computeSqrt)
 
void computeDistanceToNeighbours (const Matrix2D< double > &X, int K, Matrix2D< double > &distance, DimRedDistance2 f=NULL, bool computeSqrt=true)
 
void computeSimilarityMatrix (Matrix2D< double > &D2, double sigma, bool skipZeros=false, bool normalize=false)
 
void computeGraphLaplacian (const Matrix2D< double > &G, Matrix2D< double > &L)
 
double intrinsicDimensionality (Matrix2D< double > &X, const String &method="MLE", bool normalize=true, DimRedDistance2 f=NULL)
 
void kNearestNeighbours (const Matrix2D< double > &X, int K, Matrix2D< int > &idx, Matrix2D< double > &distance, DimRedDistance2 f=NULL, bool computeSqrt=true)
 
void extractNearestNeighbours (const Matrix2D< double > &X, Matrix2D< int > &idx, int i, Matrix2D< double > &Xi)