[ANNOUNCEMENT] Apache Commons RNG Version 1.3 Released

2019-11-11 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.3 of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. Note: A behavioural compatibility change has been introduced by the fix for RNG-96. Changes in this

[ANNOUNCE] Apache Commons Codec 1.15 Released

2020-09-01 Thread Alex Herbert
EYS Maven artifacts are also available in the central Maven repository: https://repo.maven.apache.org/maven2/commons-codec/commons-codec commons-codec commons-codec 1.15 Alex Herbert, On behalf of the Apache Commons Team

Re: [NUMBERS] Article on Commons Numbers

2020-10-01 Thread Alex Herbert
> On 1 Oct 2020, at 15:07, Gilles Sadowski wrote: > > ---CUT--- > more operations for angles and vectors, close equality check for complex > numbers > ---CUT--- > There are close equality checks in o.a.c.math3.complex.Complex: public static boolean equals(Complex x, Complex y, int

Re: [codec] Problem with the BinaryCodec class

2021-03-04 Thread Alex Herbert
Hi, This is functioning as expected. The input array of bytes is interpreted in little-endian order. The first byte in the input array is the smallest part of the output binary string interpreted as a binary number. So if you pass two bytes the output string will start with the second byte and

Re: [math] How to Convert 'RealMatrix' Object to Array

2021-02-16 Thread Alex Herbert
The methods: double[][] getData(); double[][] getDataRef(); Provide access to the underlying 2D matrix as a copy or a direct reference. The method: double getEntry(int, int); Provides access to an element of the matrix. So you can do for example: Array2DRowRealMatrix m = ...;

Re: [beanutils] Optional dependency on commons-collections (v3)

2021-04-22 Thread Alex Herbert
On Thu, 22 Apr 2021 at 22:19, Christopher Schultz < ch...@christopherschultz.net> wrote: > Gary, > > On 4/21/21 16:18, Gary Gregory wrote: > > You can scan the source files for import statements, of Commons > Collections > > packages, then see where those files/types are used from, then see where

[ANNOUNCE] Apache Commons RNG 1.4 released

2021-09-14 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.4 of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. Changes in this version include: New features: o RNG-156: New "DirichletSampler" class to sample from a

[ANNOUNCE] Apache Commons RNG 1.4 released

2021-09-14 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.4 of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. Changes in this version include: New features: o RNG-156: New "DirichletSampler" class to sample from a

Re: [collections] Next release question

2022-02-08 Thread Alex Herbert
On Tue, 8 Feb 2022 at 17:58, Claude Warren wrote: > > I think the Bloom filter code is ready. However I would like someone to > pass an eye over the major changes from the last review. I am nearly completed with a second review. Alex

Re: commons-text upgrade 1.10.0 -> 1.11.0 java.lang.NoSuchMethodError

2023-10-30 Thread Alex Herbert
On Mon, 30 Oct 2023 at 09:40, Greg Huber wrote: > > Hello, > > Upgrading commons-text to 1.11.0, I get now this error > > SEVERE: Servlet.service() for servlet [PageServlet] threw exception > > java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range >

Re: math: how to initialize a custom prob. distribution function

2023-09-29 Thread Alex Herbert
This may be what you require: https://commons.apache.org/proper/commons-math/javadocs/api-4.0-beta1/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.html You will have to convert your float values to double and then specify the bin size: float[] x = ... int bins = 100;

Re: math: how to initialize a custom prob. distribution function

2023-09-29 Thread Alex Herbert
On Fri, 29 Sept 2023 at 18:49, Siddharth Jain wrote: > > thanks. i see this is filed under legacy namespace with the comment > Implementations > of common discrete and continuous distributions. [Mostly moved to the > "Commons Statistics" project (cf. JIRA: MATH-1443).] > i then checked >

Re: Parameter 'file' is not a file: /dev/null

2022-10-17 Thread Alex Herbert
The documentation for File.isFile [1] reads: "Tests whether the file denoted by this abstract pathname is a normal file." /dev/null is not a normal file. It is a special file used to write bytes without error. So use of this file would be under special circumstances and is not something expected

Re: [geometry] How to get the intersection face from two overlaping ConvexPolygon3D instances?

2022-09-16 Thread Alex Herbert
This may be related to the fact that you are using the 3D API with 2D areas. Since the shapes have no volume the intersection may not be defined. This does work as expected in 2D: Precision.DoubleEquivalence precision = Precision.doubleEquivalenceOfEpsilon(1e-6); List pts1 = new

[ANNOUNCE] Apache Commons RNG 1.5 released

2022-10-11 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.5 of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. Changes in this version include: New features: o RNG-182: Add a Bill of Materials (BOM) to aid in

[ANNOUNCE] Apache Commons Numbers Version 1.1 Released

2022-11-02 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.1 of "Apache Commons Numbers". Apache Commons Numbers provides number types and utilities. Changes in this version include: New features: o NUMBERS-70: Add a user guide. o NUMBERS-190: Add a Bill of Materials (BOM)

[ANNOUNCE] Apache Commons Statistics Version 1.0 Released

2022-12-07 Thread Alex Herbert
The Apache Commons Team is pleased to announce the availability of version 1.0 of "Apache Commons Statistics". Apache Commons Statistics provides tools for statistics. This is the first release of Apache Commons Statistics. Contains the following modules: commons-statistics-distribution.

Re: Re: Re: GC issues after upgrading from 1.8 to 1.10

2022-11-18 Thread Alex Herbert
and fixed the problem, so if I need the access one > > more time I will let you know. > > > > Thank you! > > > > On 2022/11/17 16:54:48 Alex Herbert wrote: > > > On Thu, 17 Nov 2022 at 16:37, Pavel Belousov > > > wrote: > > > > > &g

Re: GC issues after upgrading from 1.8 to 1.10

2022-11-17 Thread Alex Herbert
On Thu, 17 Nov 2022 at 13:34, Gilles Sadowski wrote: > > Hello. > > Le jeu. 17 nov. 2022 à 13:38, Pavel Belousov > a écrit : > > > > [...] > > > > As I cannot sign up for your jira, [...] > > What do you mean? Recent changes by Infra to prevent spam have blocked user sign-up to Jira. An account

Re: Re: GC issues after upgrading from 1.8 to 1.10

2022-11-17 Thread Alex Herbert
On Thu, 17 Nov 2022 at 16:37, Pavel Belousov wrote: > Yes, please create the account with `pavelbelousov` user name. That username already exists. Did you previously create an account? Alex - To unsubscribe, e-mail:

Re: [commons-collections4] Next release

2023-08-01 Thread Alex Herbert
On Tue, 1 Aug 2023 at 14:31, Gary Gregory wrote: > > That all sounds good. > > Do you all feel the API will be stable and final enough for a 4.5.0 release > or that we should release a milestone 4.5.0-M1 first? Given the frequency of changes that are still taking place I don't think it wise to

Re: [commons RNG] link to benchmark page from user guide gives 404.

2023-12-13 Thread Alex Herbert
On Wed, 13 Dec 2023 at 11:50, r.c.hoekstra wrote: > > Hi, > > > I need to choose a fast PRNG, but the apache commons RNG user guide has > a broken link to the page with benchmarks (the user guide page is here: > https://commons.apache.org/proper/commons-rng/userguide/rng.html#a4._Performance)

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); >>

Re: MultivariateNormalMixtureExpectationMaximization only 1 dimension

2024-03-05 Thread Alex Herbert
://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-math4-legacy/4.0-SNAPSHOT/ On Tue, 5 Mar 2024 at 00:06, Alex Herbert wrote: > Hi, > > I think this is a bug in the > MultivariateNormalMixtureExpectationMaximization class. When I update the > code to

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

2024-03-11 Thread Alex Herbert
mmon being that both scipy and matlab > support it. > > I will look into your suggestion with GaussianCurveFitter. > > thanks again! > > -Craig > > > > > > From: Alex Herbert > Sent: Monday, March 11, 2024 1:23 PM > To: Commons

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

2024-03-11 Thread Alex Herbert
you want to. The matlab function fitgmdist > does allow for 1 component, and much of our data does in fact best fit to > only 1 component. > > Thoughts on fixing that restriction as well? > > > Thx! > Craig > > > __