STK++ 0.9.13
STK_MixtureCriterion.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::Model
27 * created on: 22 juil. 2011
28 * Purpose: define the Interface base class IMixtureCriterion.
29 * Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
30 *
31 **/
32
38#ifndef STK_MIXTURECRITERION_H
39#define STK_MIXTURECRITERION_H
40
42
43namespace STK
44{
45
57{
58 public:
64 inline AICMixtureCriterion( IMixtureStatModel* const p_composer)
65 : IMixtureCriterion(p_composer) {}
72 inline virtual ~AICMixtureCriterion() {}
74 inline AICMixtureCriterion* clone() const { return new AICMixtureCriterion(*this);}
76 virtual bool run();
77};
78
79
91{
92 public:
98 inline BICMixtureCriterion( IMixtureStatModel* const p_composer)
99 : IMixtureCriterion(p_composer) {}
106 inline virtual ~BICMixtureCriterion() {}
108 inline BICMixtureCriterion* clone() const { return new BICMixtureCriterion(*this);}
110 virtual bool run();
111};
112
123{
124 public:
130 inline ICLMixtureCriterion( IMixtureStatModel const* p_composer)
131 : IMixtureCriterion(p_composer) {}
138 inline virtual ~ICLMixtureCriterion() {}
140 inline ICLMixtureCriterion* clone() const { return new ICLMixtureCriterion(*this);}
142 virtual bool run();
143};
144
155{
156 public:
162 inline MLMixtureCriterion( IMixtureStatModel* const p_composer)
163 : IMixtureCriterion(p_composer) {}
170 inline virtual ~MLMixtureCriterion() {}
172 inline MLMixtureCriterion* clone() const { return new MLMixtureCriterion(*this);}
174 virtual bool run();
175};
176
177
178} // namespace STK
179
180#endif
In this file we define the interface bas class for computing penalized criterion on mixture models.
Derived class of Criterion for computing the AIC Criterion The AIC criteria of a given model M is a p...
virtual ~AICMixtureCriterion()
virtual destructor.
AICMixtureCriterion(AICMixtureCriterion const &criterion)
copy Constructor.
AICMixtureCriterion()
Default Constructor.
AICMixtureCriterion * clone() const
clone pattern
virtual bool run()
implementation of the virtual method run
AICMixtureCriterion(IMixtureStatModel *const p_composer)
Constructor.
Derived class of Criterion for computing the BIC Criterion The Bic criteria of a model M is a penaliz...
BICMixtureCriterion(BICMixtureCriterion const &criterion)
copy Constructor.
BICMixtureCriterion * clone() const
clone pattern
virtual bool run()
implementation of the virtual method run
BICMixtureCriterion()
Default Constructor.
BICMixtureCriterion(IMixtureStatModel *const p_composer)
Constructor.
virtual ~BICMixtureCriterion()
virtual destructor.
Derived class of IMixtureCriterion for computing the ICL Criterion The ICL criteria of a model M is a...
ICLMixtureCriterion * clone() const
clone pattern
virtual bool run()
implementation of the virtual method run
ICLMixtureCriterion()
Default Constructor.
ICLMixtureCriterion(ICLMixtureCriterion const &criterion)
copy Constructor.
virtual ~ICLMixtureCriterion()
virtual destructor.
ICLMixtureCriterion(IMixtureStatModel const *p_composer)
Constructor.
Interface base class for the selection model criterion.
Interface base class for Mixture (composed) model.
Derived class of Criterion for computing the Maximum Likelihood Criterion This criterion does not pen...
virtual bool run()
implementation of the virtual method run
virtual ~MLMixtureCriterion()
virtual destructor.
MLMixtureCriterion(MLMixtureCriterion const &criterion)
copy Constructor.
MLMixtureCriterion * clone() const
clone pattern
MLMixtureCriterion()
Default Constructor.
MLMixtureCriterion(IMixtureStatModel *const p_composer)
Constructor.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
The namespace STK is the main domain space of the Statistical ToolKit project.