STK++ 0.9.13
STK_MixtureInit.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff
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.org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::Clustering
27 * created on: 24 août 2013
28 * Author: iovleff, serge.iovleff@stkpp.org
29 * Originally created by Parmeet Bhatia <b..._DOT_p..._AT_gmail_Dot_com>
30 **/
31
37#ifndef STK_MIXTUREINIT_H
38#define STK_MIXTUREINIT_H
39
40#include "STK_IMixtureInit.h"
41
42namespace STK
43{
48{
49 public:
51 inline RandomInit(): IMixtureInit() {}
57 inline virtual ~RandomInit(){}
59 inline virtual RandomInit* clone() const { return new RandomInit(*this);}
62 virtual bool run();
63};
64
70{
71 public:
73 inline ClassInit(): IMixtureInit() {}
79 inline virtual ~ClassInit(){}
81 inline virtual ClassInit* clone() const { return new ClassInit(*this);}
84 virtual bool run();
85};
86
91{
92 public:
94 inline FuzzyInit(): IMixtureInit() {}
100 inline virtual ~FuzzyInit(){}
102 inline virtual FuzzyInit* clone() const { return new FuzzyInit(*this);}
105 virtual bool run();
106};
107
108} // namespace STK
109
110#endif /* STK_MIXTUREINIT_H */
Initialization by simulating a realization of the class labels zi accordingly to the initial proporti...
virtual ClassInit * clone() const
clone pattern
virtual ~ClassInit()
destructor
ClassInit()
default constructor
ClassInit(ClassInit const &init)
copy constructor
virtual bool run()
run the initialization by calling the randomClassInit method of the model.
Initialization by simulating the tik accordingly to the initial proportions.
FuzzyInit()
default constructor
virtual ~FuzzyInit()
destructor
FuzzyInit(FuzzyInit const &init)
copy constructor
virtual FuzzyInit * clone() const
clone pattern
virtual bool run()
run the algorithm on the model calling E step and M step.
Interface base class for the initializations.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Implementation of the random initialization.
RandomInit()
default constructor
virtual RandomInit * clone() const
clone pattern
virtual bool run()
run the initialization by calling the randomInit method of the model.
RandomInit(RandomInit const &init)
copy constructor
virtual ~RandomInit()
destructor
The namespace STK is the main domain space of the Statistical ToolKit project.