37#ifndef STK_POISSONBRIDGE_H
38#define STK_POISSONBRIDGE_H
43#include "../STK_IMixtureBridge.h"
49template<
int Id,
class Data>
class PoissonBridge;
62 typedef typename Data_::Type
Type;
87 typedef typename Data_::Type
Type;
111 typedef typename Data_::Type
Type;
136template<
int Id,
class Data>
144 typedef typename Data::Type
Type;
173#ifdef STK_MIXTURE_DEBUG_CREATE
174 stk_cout <<
_T(
"Entering PoissonBridge::~PoissonBridge()\n");
203#ifdef STK_MIXTURE_DEBUG_CREATE
204 stk_cout <<
_T(
"Entering PoissonBridge::create()\n");
209#ifdef STK_MIXTURE_DEBUG_CREATE
In this file we implement the Poisson_ljk class.
In this file we implement the Poisson_ljlk class.
In this file we implement the Poisson_lk class.
#define stk_cout
Standard stk output stream.
#define _T(x)
Let x unmodified.
Interface base class for the bridges of the STK++ mixture.
MissingIndexes v_missing_
vector with the coordinates of the missing values
Data * p_dataij_
pointer on the data set
hidden::MixtureBridgeTraits< PoissonBridge< Id, Data > >::Data Data
virtual void removeMissing()
This function will be used once for imputation of missing data at the initialization step (.
Mixture const & mixture() const
Mixture mixture_
The Mixture to bridge with the composer.
Data *const p_dataij() const
String const & idData() const
int nbCluster() const
This function can be used in derived classes to get number of classes.
virtual void setData(YArray_ const &y, XArray_ const &x)
set the data set.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
template implementation of the IMixtureBridge interface allowing to bridge a STK++ Poisson mixture wi...
IMixtureBridge< PoissonBridge< Id, Data > > Base
hidden::MixtureBridgeTraits< PoissonBridge< Id, Data > >::Parameters Parameters
virtual PoissonBridge * clone() const
This is a standard clone function in usual sense.
std::vector< std::pair< int, int > >::const_iterator ConstIterator
PoissonBridge(Mixture const &mixture, String const &idData, int nbCluster)
private constructor used in order to create a bridge.
virtual ~PoissonBridge()
destructor
PoissonBridge(Data *p_dataij, String const &idData, int nbCluster)
default constructor.
hidden::MixtureBridgeTraits< PoissonBridge< Id, Data > >::Mixture Mixture
virtual PoissonBridge * create() const
This is a standard create function in usual sense.
PoissonBridge(PoissonBridge const &bridge)
copy constructor
Type safeValue(int j) const
std::basic_string< Char > String
STK fundamental type of a String.
double Real
STK fundamental type of Real values.
hidden::SliceVisitorSelector< Derived, hidden::CountVisitor, Arrays::by_col_ >::type_result count(Derived const &A)
If A is a row-vector or a column-vector then the function will return the usual count value of the ve...
The namespace STK is the main domain space of the Statistical ToolKit project.
TRange< UnknownSize > Range
Arithmetic properties of STK fundamental types.
Poisson_ljk< Data > Mixture
Type of the Mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Data_::Type Type
Data Type.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
ModelParameters< Clust::Poisson_ljk_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
ModelParameters< Clust::Poisson_ljlk_ > Parameters
Type of the structure storing the mixture parameters.
Data_::Type Type
Data Type.
Poisson_ljlk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Poisson_lk< Data > Mixture
Type of the Mixture model.
ModelParameters< Clust::Poisson_lk_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...