[ANNOUNCE] Apache Commons DBCP 2.12.0

2024-03-04 Thread Gary Gregory
The Apache Commons DBCP team is pleased to announce the release of Apache Commons DBCP 2.12.0. Apache Commons DBCP software implements Database Connection Pooling. This is a minor release, including bug fixes and enhancements. Commons DBCP requires Java 8 or above. The list of changes is here: h

Re: MultivariateNormalMixtureExpectationMaximization only 1 dimension

2024-03-04 Thread Craig Brautigam
Forgive me if this comes in twice... I did not subscribe first before sending the message below. From: Craig Brautigam Sent: Monday, March 4, 2024 1:33 PM To: user@commons.apache.org Subject: MultivariateNormalMixtureExpectationMaximization only 1 dimension Hi,

MultivariateNormalMixtureExpectationMaximization only 1 dimension

2024-03-04 Thread Craig Brautigam
Hi, Full disclosure, I'm not a mathematician so I can not go into the weeds into the math. However I am tasked with porting some matlab code that is doing gaussian mixed model to java. I really want to use apache common math if possible. However the code that I'm porting has 1 dimension ( a

Re: MultivariateNormalMixtureExpectationMaximization only 1 dimension

2024-03-04 Thread Alex Herbert
Hi, I think this is a bug in the MultivariateNormalMixtureExpectationMaximization class. When I update the code to allow 1 column in the rows it outputs a similar fit to matlab. Here's an example of Matlab: X = [normrnd(0, 1, 100, 1); normrnd(2, 2, 100, 1)] GMModel = fitgmdist(X,2); >> GMModel.m

Re: [External] - Re: MultivariateNormalMixtureExpectationMaximization only 1 dimension

2024-03-04 Thread Craig Brautigam
Yes thank you! As you stated you should be able to have a single column with n components (having enough data samples of course).. Having your fix would allow me to port this code over from what I see. Thx! From: Alex Herbert Sent: Monday, March 4, 2024 5:0