1.1.0
CCC
 
PPMT Class Reference

#include <PPMT.hpp>

Inheritance diagram for PPMT:
AStringable ICloneable

Public Member Functions

 PPMT (int ndir=50, bool flagPreprocessing=false, const EDirGen &methodDir=EDirGen::fromKey("VDC"), const EGaussInv &methodTrans=EGaussInv::fromKey("EMP"), int nbpoly=30, double alpha=2.)
 
 PPMT (const PPMT &m)
 
PPMToperator= (const PPMT &m)
 
virtual ~PPMT ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
int getNiter () const
 
double getAlpha () const
 
int getNdir () const
 
int getNdim () const
 
int getNbpoly () const
 
bool isFitted () const
 
const EDirGen & getMethodDir () const
 
const EGaussInv & getMethodTrans () const
 
VectorDouble getSerieAngle () const
 
VectorDouble getSerieScore (bool flagLog=false) const
 
int fit (Db *db, const VectorString &names, bool flagStoreInDb=false, int niter=100, bool verbose=false, const NamingConvention &namconv=NamingConvention("Y"))
 
int fitFromMatrix (AMatrix *X, int niter, bool verbose=false)
 
int rawToGaussian (Db *db, const VectorString &names, int niter=0, const NamingConvention &namconv=NamingConvention("Y"))
 
int gaussianToRaw (Db *db, const VectorString &names, int niter=0, const NamingConvention &namconv=NamingConvention("Z"))
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Static Public Member Functions

static PPMTcreate (int ndir=50, bool flagPreprocessing=false, const EDirGen &methodDir=EDirGen::fromKey("VDC"), const EGaussInv &methodTrans=EGaussInv::fromKey("EMP"), int nbpoly=30, double alpha=2.)
 ICloneable Interface. More...
 

Constructor & Destructor Documentation

PPMT::PPMT ( int  ndir = 50,
bool  flagPreprocessing = false,
const EDirGen &  methodDir = EDirGen::fromKey("VDC"),
const EGaussInv &  methodTrans = EGaussInv::fromKey("EMP"),
int  nbpoly = 30,
double  alpha = 2. 
)
PPMT::PPMT ( const PPMT m)
PPMT::~PPMT ( )
virtual

Member Function Documentation

PPMT * PPMT::create ( int  ndir = 50,
bool  flagPreprocessing = false,
const EDirGen &  methodDir = EDirGen::fromKey("VDC"),
const EGaussInv &  methodTrans = EGaussInv::fromKey("EMP"),
int  nbpoly = 30,
double  alpha = 2. 
)
static

ICloneable Interface.

Create the Multivariate Gaussian anamorphosis

Parameters
ndirNumber of Directions to be tested at each iteration
flagPreprocessingTrue for pre-processing (Normal Score and Sphering)
methodDirMethod for Direction Generation
methodTransMethod for Gaussian Transformation
nbpolyNumber of Polynomial (only used for "hermite" transformation)
alphaDistance exponent
Returns
An instance of PPMT class
int PPMT::fit ( Db db,
const VectorString names,
bool  flagStoreInDb = false,
int  niter = 100,
bool  verbose = false,
const NamingConvention namconv = NamingConvention("Y") 
)
int PPMT::fitFromMatrix ( AMatrix X,
int  niter,
bool  verbose = false 
)
int PPMT::gaussianToRaw ( Db db,
const VectorString names,
int  niter = 0,
const NamingConvention namconv = NamingConvention("Z") 
)
double PPMT::getAlpha ( ) const
inline
const EDirGen& PPMT::getMethodDir ( ) const
inline
const EGaussInv& PPMT::getMethodTrans ( ) const
inline
int PPMT::getNbpoly ( ) const
inline
int PPMT::getNdim ( ) const
inline
int PPMT::getNdir ( ) const
inline
int PPMT::getNiter ( ) const
inline
VectorDouble PPMT::getSerieAngle ( ) const
inline
VectorDouble PPMT::getSerieScore ( bool  flagLog = false) const
bool PPMT::isFitted ( ) const
inline
PPMT & PPMT::operator= ( const PPMT m)
int PPMT::rawToGaussian ( Db db,
const VectorString names,
int  niter = 0,
const NamingConvention namconv = NamingConvention("Y") 
)
String PPMT::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.


The documentation for this class was generated from the following files: