Class Demixer
java.lang.Object
edu.cmu.tetrad.search.work_in_progress.Demixer
Uses expectation-maximization to sort a a data set with data sampled from two or more multivariate Gaussian
 distributions into its component data sets.
- Version:
- $Id: $Id
- Author:
- Madelyn Glymour
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondemix()Runs the E-M algorithm iteratively until the weights array converges.booleanisDemixed.
- 
Constructor Details- 
DemixerConstructor. Initializes the means, weights, and covariance matrices for each model.- Parameters:
- data- the data set
- k- the number of models
 
 
- 
- 
Method Details- 
demixRuns the E-M algorithm iteratively until the weights array converges. Returns a MixtureModel object containing the final values of the means, covariance matrices, weights, and gammas arrays.- Returns:
- a MixtureModelobject
 
- 
isDemixedpublic boolean isDemixed()isDemixed. - Returns:
- a boolean
 
 
-