Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample > Class Template Reference
This class generates the parameter estimates for a mixture model using expectation maximization strategy.
More...
#include <itkExpectationMaximizationMixtureModelEstimator.h>
Inheritance diagram for itk::Statistics::ExpectationMaximizationMixtureModelEstimator:
[legend]Collaboration diagram for itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >:
[legend]List of all members.
Detailed Description
template<class TSample>
class itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >
This class generates the parameter estimates for a mixture model using expectation maximization strategy.
The first template argument is the type of the target sample data. This estimator expects one or more mixture model component objects of the classes derived from the MixtureModelComponentBase. The actual component (or module) parameters are updated by each component. Users can think this class as a strategy or a integration point for the EM procedure. The initial proportion (SetInitialProportions), the input sample (SetSample), the mixture model components (AddComponent), and the maximum iteration (SetMaximumIteration) are required. The EM procedure terminates when the current iteration reaches the maximum iteration or the model parameters converge.
-
See also:
-
MixtureModelComponentBase, GaussianMixtureModelComponent
Definition at line 46 of file itkExpectationMaximizationMixtureModelEstimator.h.
Member Typedef Documentation
|
template<class TSample> |
| typedef MixtureModelComponentBase< TSample > itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::ComponentType
|
|
|
template<class TSample> |
| typedef std::vector< ComponentType* > itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::ComponentVectorType
|
|
|
template<class TSample> |
| typedef TSample::MeasurementType itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::MeasurementType
|
|
|
template<class TSample> |
| typedef TSample::MeasurementVectorType itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::MeasurementVectorType
|
|
|
template<class TSample> |
| typedef SmartPointer< Self > itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::Pointer
|
|
|
template<class TSample> |
| typedef Array< double > itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::ProportionVectorType
|
|
|
template<class TSample> |
| typedef ExpectationMaximizationMixtureModelEstimator itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::Self
|
|
|
template<class TSample> |
| typedef Object itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::Superclass
|
|
Member Enumeration Documentation
|
template<class TSample> |
| enum itk::Statistics::ExpectationMaximizationMixtureModelEstimator::TERMINATION_CODE
|
|
Constructor & Destructor Documentation
|
template<class TSample> |
| itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::ExpectationMaximizationMixtureModelEstimator |
( |
|
) |
[protected] |
|
|
template<class TSample> |
| virtual itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::~ExpectationMaximizationMixtureModelEstimator |
( |
|
) |
[inline, protected, virtual] |
|
Member Function Documentation
|
template<class TSample> |
| int itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::AddComponent |
( |
ComponentType * |
component |
) |
|
|
|
|
Adds a new component (or class). |
|
template<class TSample> |
| bool itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::CalculateDensities |
( |
|
) |
[protected] |
|
|
template<class TSample> |
| double itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::CalculateExpectation |
( |
|
) |
[protected] |
|
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GenerateData |
( |
|
) |
[protected] |
|
|
|
Starts the estimation process |
|
template<class TSample> |
| virtual const char* itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetClassName |
( |
|
) |
const [virtual] |
|
|
template<class TSample> |
| ComponentMembershipFunctionType* itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetComponentMembershipFunction |
( |
int |
componentIndex |
) |
|
|
|
|
Gets the membership function specified by componentIndex argument. |
|
template<class TSample> |
| int itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetCurrentIteration |
( |
|
) |
[inline] |
|
|
template<class TSample> |
| ProportionVectorType* itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetInitialProportions |
( |
|
) |
|
|
|
|
Set/Gets the initial proportion values. The size of proportion vector should be same as the number of component (or classes) |
|
template<class TSample> |
| int itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetMaximumIteration |
( |
|
) |
|
|
|
|
Set/Gets the maximum number of iterations. When the optimization process reaches the maximum number of interations, even if the class parameters aren't converged, the optimization process stops. |
|
template<class TSample> |
| int itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetNumberOfComponents |
( |
|
) |
|
|
|
|
Gets the total number of classes currently plugged in. |
|
template<class TSample> |
| ProportionVectorType* itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetProportions |
( |
|
) |
|
|
|
|
Gets the result proportion values |
|
template<class TSample> |
| TSample* itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetSample |
( |
|
) |
|
|
|
template<class TSample> |
| TERMINATION_CODE itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::GetTerminationCode |
( |
|
) |
|
|
|
|
Gets the termination status |
|
template<class TSample> |
| itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::itkStaticConstMacro |
( |
MeasurementVectorSize |
, |
|
|
unsigned |
int, |
|
|
TSample::MeasurementVectorSize |
|
|
) |
|
|
|
template<class TSample> |
| Pointer itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::New |
( |
|
) |
[static] |
|
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
const [protected, virtual] |
|
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object. |
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::SetInitialProportions |
( |
ProportionVectorType & |
propotion |
) |
|
|
|
|
Set/Gets the initial proportion values. The size of proportion vector should be same as the number of component (or classes) |
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::SetMaximumIteration |
( |
int |
numberOfIterations |
) |
|
|
|
|
Set/Gets the maximum number of iterations. When the optimization process reaches the maximum number of interations, even if the class parameters aren't converged, the optimization process stops. |
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::SetSample |
( |
TSample * |
sample |
) |
|
|
|
|
Sets the target data that will be classified by this |
|
template<class TSample> |
| void itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::Update |
( |
|
) |
|
|
|
|
Runs the optimization process. |
|
template<class TSample> |
| bool itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::UpdateComponentParameters |
( |
|
) |
[protected] |
|
|
template<class TSample> |
| bool itk::Statistics::ExpectationMaximizationMixtureModelEstimator< TSample >::UpdateProportions |
( |
|
) |
[protected] |
|
The documentation for this class was generated from the following file:
Generated at Tue Sep 16 11:42:25 2003 for ITK by
1.2.15 written by Dimitri van Heesch,
© 1997-2000