1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::PPMT Class Reference

#include <PPMT.hpp>

Inheritance diagram for gstlrn::PPMT:
gstlrn::AStringable gstlrn::ICloneable

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ PPMT() [1/2]

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

◆ PPMT() [2/2]

gstlrn::PPMT::PPMT ( const PPMT m)

◆ ~PPMT()

gstlrn::PPMT::~PPMT ( )
virtual

Member Function Documentation

◆ create()

PPMT * gstlrn::PPMT::create ( Id  ndir = 50,
bool  flagPreprocessing = false,
const EDirGen &  methodDir = EDirGen::fromKey("VDC"),
const EGaussInv &  methodTrans = EGaussInv::fromKey("EMP"),
Id  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

◆ fit()

Id gstlrn::PPMT::fit ( Db db,
const VectorString names,
bool  flagStoreInDb = false,
Id  niter = 100,
bool  verbose = false,
const NamingConvention namconv = NamingConvention("Y") 
)

◆ fitFromMatrix()

Id gstlrn::PPMT::fitFromMatrix ( AMatrix Y,
Id  niter,
bool  verbose = false 
)

◆ gaussianToRaw()

Id gstlrn::PPMT::gaussianToRaw ( Db db,
const VectorString names,
Id  niter = 0,
const NamingConvention namconv = NamingConvention("Z") 
)

◆ getAlpha()

double gstlrn::PPMT::getAlpha ( ) const
inline

◆ getMethodDir()

const EDirGen & gstlrn::PPMT::getMethodDir ( ) const
inline

◆ getMethodTrans()

const EGaussInv & gstlrn::PPMT::getMethodTrans ( ) const
inline

◆ getNbpoly()

Id gstlrn::PPMT::getNbpoly ( ) const
inline

◆ getNdim()

Id gstlrn::PPMT::getNdim ( ) const
inline

◆ getNdir()

Id gstlrn::PPMT::getNdir ( ) const
inline

◆ getNiter()

Id gstlrn::PPMT::getNiter ( ) const
inline

◆ getSerieAngle()

gstlrn::PPMT::getSerieAngle ( ) const
inline

◆ getSerieScore()

gstlrn::PPMT::getSerieScore ( bool  flagLog = false) const

◆ isFitted()

bool gstlrn::PPMT::isFitted ( ) const
inline

◆ operator=()

PPMT & gstlrn::PPMT::operator= ( const PPMT m)

◆ rawToGaussian()

Id gstlrn::PPMT::rawToGaussian ( Db db,
const VectorString names,
Id  niter = 0,
const NamingConvention namconv = NamingConvention("Y") 
)

◆ toString()

String gstlrn::PPMT::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from gstlrn::AStringable.


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