commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Becksfort (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MATH-817) Multivariate Normal Mixture Model Fitting by Expectation Maximization
Date Mon, 12 Nov 2012 16:51:12 GMT

    [ https://issues.apache.org/jira/browse/MATH-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495399#comment-13495399
] 

Jared Becksfort edited comment on MATH-817 at 11/12/12 4:49 PM:
----------------------------------------------------------------

We might be able to avoid unwieldy constructors if we use initializations like

{code}
MultivariateNormalMixtureExpectationMaximizationFitter(data, numComponents).initializeMeans(2DMeanArray);
{code}

I didn't see examples of that in CM (or look very hard... :) ), so I wasn't sure if it was
allowed.  Requiring the number of components in the constructor would still allow us to keep
much of the other variables "final".
                
      was (Author: jbcksfrt):
    We might be able to avoid unwieldy constructors if we use initializations like

{code}
MultivariateNormalMixtureExpectationMaximizationFitter(numComponents).initializeMeans(2DMeanArray);
{code}

I didn't see examples of that in CM (or look very hard... :) ), so I wasn't sure if it was
allowed.  Requiring the number of components in the constructor would still allow us to keep
much of the other variables "final".
                  
> Multivariate Normal Mixture Model Fitting by Expectation Maximization
> ---------------------------------------------------------------------
>
>                 Key: MATH-817
>                 URL: https://issues.apache.org/jira/browse/MATH-817
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Jared Becksfort
>            Priority: Minor
>         Attachments: AbstractMultivariateRealDistribution.java.patch, MixtureMultivariateRealDistribution.java.patch,
MultivariateNormalDistribution.java.patch, MultivariateNormalMixtureExpectationMaximizationFitter.java,
MultivariateNormalMixtureExpectationMaximizationFitterTest.java
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> I will submit a class for fitting Multivariate Normal Mixture Models using Expectation
Maximization.
> > Hello,
> >
> > I have implemented some classes for multivariate Normal distributions, multivariate
normal mixture models, and an expectation maximization fitting class for the mixture model.
 I would like to submit it to Apache Commons Math.  I still have some touching up to do so
that they fit the style guidelines and implement the correct interfaces.  Before I do so,
I thought I would at least ask if the developers of the project are interested in me submitting
them.
> >
> > Thanks,
> > Jared Becksfort
> Dear Jared,
> Yes, that would be very nice to have such an addition! Remember to also include unit
tests (refer to the current ones for examples). The best would be to split a submission up
into multiple minor ones, each covering a natural submission (e.g. multivariate Normal distribution
in one submission), and create an issue as described at http://commons.apache.org/math/issue-tracking.html
.
> If you run into any problems, please do not hesitate to ask on this mailing list.
> Cheers, Mikkel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message