Sleipnir
Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
Sleipnir::CBayesNetSmileImpl Class Reference
Inheritance diagram for Sleipnir::CBayesNetSmileImpl:
Sleipnir::CBayesNetImpl Sleipnir::CBayesNetSmile

Protected Member Functions

 CBayesNetSmileImpl (bool)
bool ConvertGraph (CBayesNetPNL &) const
bool ConvertCPTs (CBayesNetPNL &) const
void LearnExpected (DSL_node *, DSL_Dmatrix *, size_t=1)
bool Evaluate (const IDataset *, CDat *, TVecVecD *, bool) const
bool FillCPTs (const IDataset *, size_t, size_t, bool, bool)
bool FillCPTs (const std::vector< bool > &, const std::string &, bool, bool, bool=false)
bool FillCPTs (const std::vector< bool > &, const std::vector< unsigned char > &, bool, bool, bool=false)
bool LearnGrouped (const IDataset *, size_t, bool)
bool LearnUngrouped (const IDataset *, size_t, bool)
bool LearnNaive (const IDataset *, bool)
bool LearnELR (const IDataset *, size_t, bool)
size_t ELRCountParameters () const
void ELRCopyParameters (TVecVecD &)
void ELRComputeGradient (const std::vector< bool > &, const TMapData &, bool, TVecVecD &)
void ELRUpdateGradient (float, TVecVecD &)
void ELRNormalizeDirection (TVecVecD &) const
float ELRLineSearch (const std::vector< bool > &, const TMapData &, const TVecVecD &, const TVecVecD &, TVecVecD &, float &, float &, bool)
float ELREvalFunction (const std::vector< bool > &, const TMapData &, float, const TVecVecD &, const TVecVecD &, TVecVecD &, bool)
void ELRBracket (const std::vector< bool > &, const TMapData &, const TVecVecD &, const TVecVecD &, TVecVecD &, float &, float &, float &, float &, float &, float &, bool)
float ELRConditionalLikelihood (const std::vector< bool > &, const TMapData &, bool)
float ELRBrent (const std::vector< bool > &, const TMapData &, const TVecVecD &, const TVecVecD &, TVecVecD &, float &, float &, float, float, float, float, bool)
bool IsNaive () const
bool IsContinuous () const

Static Protected Member Functions

static bool IsGaussian (const DSL_network &)
static bool IsNaive (const DSL_network &)
static float ELRDot (const TVecVecD &, const TVecVecD &)
static float ELRAvoidZero (float)
static void ELRComputeDirection (float, const TVecVecD &, TVecVecD &)
static bool GetCPT (DSL_node *, CDataMatrix &)

Protected Attributes

bool m_fSmileNet
DSL_network m_SmileNet
const CBayesNetSmilem_pDefaults

Static Protected Attributes

static const char c_szGaussian [] = "gaussian"

Friends

class CBayesNetFN

Detailed Description

Definition at line 70 of file bayesneti.h.


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