Re: release of commons-imaging

2024-02-28 Thread Gilles Sadowski
Le mer. 28 févr. 2024 à 16:00, Bruno Kinoshita a écrit : > > Hi Gary, > > What would be the main difference between the alpha and M1 releases? > > I am not 100% confident that we have the public and protected API right, > > specifically we might have too much public and protected. YMMV. > > >

Re: Maven repository for commons-statistics-inference

2024-02-23 Thread Gilles Sadowski
Le jeu. 22 févr. 2024 à 19:35, Zak Mc Kracken a écrit : > > On 22/02/2024 19:15, Gilles Sadowski wrote: > > The above class exists as of version 1.1 of "Commons Statistics", > > which hasn't been released yet. > > Thank you Gilles. I look forward to the new r

Re: Maven repository for commons-statistics-inference

2024-02-22 Thread Gilles Sadowski
Hello. Le jeu. 22 févr. 2024 à 17:11, Zak Mc Kracken a écrit : > > Hi all, > > I need to compute the Fisher exact test and I'd like to use the > implementation in commons-statistics-inference: > >

Re: user guide section 1.8 of commons-math

2023-08-17 Thread Gilles Sadowski
Hi. Thanks for your interest in Commons Math. Below there is a copy of your message, as it appears on this mailing list. Some parts are obviously missing (perhaps because they were attachments). If you'd like to suggest an improvement, please file a report on JIRA:

Re: EOS/EOL date

2023-07-17 Thread Gilles Sadowski
Le lun. 17 juil. 2023 à 09:14, Pranav Kumar (EXT) a écrit : > > Hi, > > Could you please share End of life/End of support detail or any EoS criteria > that is followed: > > > * Apache Commons Lang (Commons Lang3)- Version 3.12.0 > * Apache Commons IO- Version 2.11.0 > * Commons

Re: [Lang] Advice on "Diff" usage

2023-07-12 Thread Gilles Sadowski
Le mer. 12 juil. 2023 à 00:13, Gary Gregory a écrit : > > I updated the Javadoc for both classes. Thanks. FTR, I've filed https://issues.apache.org/jira/projects/LANG/issues/LANG-1701 for the more important issue(s). Regards, Gilles >>> [...]

Re: [Lang] Advice on "Diff" usage

2023-07-10 Thread Gilles Sadowski
s it quite difficult to spot what differences were actually detected... Regards, Gilles > > Gary > > > On Sun, Jul 9, 2023, 09:51 Gilles Sadowski wrote: > > > Hi. > > > > In the Javadoc of the "DiffBuilder" class[1]: > > ---CUT--- > > [...]

[Lang] Advice on "Diff" usage

2023-07-09 Thread Gilles Sadowski
Hi. In the Javadoc of the "DiffBuilder" class[1]: ---CUT--- [...] To use this class, write code as follows: public class Person implements Diffable { String name; int age; boolean smoker; [...] ---CUT--- However, a common use-case would be that we can't directly modify the class whose

Re: Curve fitting with version 4

2023-06-04 Thread Gilles Sadowski
Hi. Le dim. 4 juin 2023 à 18:58, Steven Verstoep a écrit : > > Hi, > > I’ve found example code on site for curve fitting at: > https://commons.apache.org/proper/commons-math/userguide/fitting.html > > It uses: > WeightedObservedPoints > > I got this working in java/gradle with the

Re: integer programming

2023-04-11 Thread Gilles Sadowski
Le mar. 11 avr. 2023 à 17:40, Jorge Garcia de Alba a écrit : > > Hello, > > It would be wonderful to have integer programming. Thanks. Contributions/developers are welcome. Regards, Gilles - To unsubscribe, e-mail:

Re: Common-collections-3.0.jar

2023-02-02 Thread Gilles Sadowski
Le jeu. 2 févr. 2023 à 19:30, Warner, Derek A a écrit : > > ALCON, ? > > Trying to find info on common-collections-3.0.jar and if there are any CVEs > or open security issues with this version? I cannot seem to find any > information on this version. We had another version the ACC 3.2.1 which

Re: Commons bsf

2023-02-01 Thread Gilles Sadowski
l message) and who is a member of the "Commons" PMC. Any ASF committer can obtain write access to "Commons" repositories; just ask Gary (PMC Chair). Regards, Gilles > > On Wed, Feb 1, 2023, 7:58 AM Gilles Sadowski wrote: > > > Le mer. 1 févr. 2023 à 13

Re: Commons bsf

2023-02-01 Thread Gilles Sadowski
Le mer. 1 févr. 2023 à 13:27, Rony G. Flatscher (Apache) a écrit : > > [...] > One thing that will take me some time is re-orienting myself to > and learn about becoming able to > commit there Why "there", when you can commit directly here (at ASF

Re: jexl upgrade path from 1.x

2023-01-31 Thread Gilles Sadowski
Hi. Le mer. 1 févr. 2023 à 02:37, Alex O'Ree a écrit : > > Hi i'm doing some maintenance work on the bsf library Please move the discussion to the "dev" mailing list. > which currently > depends on a jexl 1.x. There's a few imports that aren't exactly resolving. > > import

Re: commons-beanutils 2.0 release

2023-01-26 Thread Gilles Sadowski
Hi. Le jeu. 26 janv. 2023 à 16:52, Federico Grilli a écrit : > > Thanks for you reply Gilles (sorry but for some reason I can’t reply directly > to your message). ? It seems that this one arrived at the right place (in the same thread). > > I was also wondering if there’s a list of concrete

Re: commons-beanutils 2.0 release

2023-01-19 Thread Gilles Sadowski
Hello. Le jeu. 19 janv. 2023 à 16:34, Federico Grilli a écrit : > > Hi everyone, > > is there anything the community could contribute to make 2.0 release happen > soon? > > I've seen Gary Gregory has been quite active lately on the git repository and > thought perhaps a release was in sight,

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
Le ven. 30 déc. 2022 à 20:53, a écrit : > > BTW: Some of the Apache Commons SHA download links include a properly > formatted file such that, e.g. the shasum command in MacOS can perform the > check automatically instead of having to eyeball the signature for a match. A > concrete example of a

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
Hi. Le ven. 30 déc. 2022 à 19:13, Gary Gregory a écrit : > > I think you're just going to a third party mirror through the dlcdn name? That's how the *ASF* download page works. > > What matters is what is on our servers at > https://archive.apache.org/dist/commons/collections/ as sebb point is

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
Le ven. 30 déc. 2022 à 19:02, sebb a écrit : > > On Fri, 30 Dec 2022 at 16:55, Gilles Sadowski wrote: > > > > Le ven. 30 déc. 2022 à 17:29, Gary Gregory a écrit > > : > > > > > > That's the download page, not what you are downloading. What URL

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
Le ven. 30 déc. 2022 à 17:29, Gary Gregory a écrit : > > That's the download page, not what you are downloading. What URL are > you actually using for the files. I confirm that https://dlcdn.apache.org//commons/collections/binaries/commons-collections4-4.4-bin.tar.gz does not match the

Re: Apache Commons 4 release roadmap/ future plans

2022-12-29 Thread Gilles Sadowski
Hello. Le jeu. 29 déc. 2022 à 19:22, A Mohamed Sarjoon a écrit : > > Hi Team, > > I am Sarjoon from Ericsson India Global Private Limited, we are using commons > collections in our product. As per our company's policy, it is advised to use > an active open source library mainly for the reason

[ANNOUNCE] Commons Math 4.0-beta1

2022-12-22 Thread Gilles Sadowski
More than 6.5 years after the last release, the ASF "Commons" team is pleased to announce the availability of Commons Math (version 4.0-beta1) The release notes can be reviewed at https://www.apache.org/dist/commons/math/RELEASE-NOTES.txt Distribution packages can be downloaded from

Re: [net] [logging] [math] [codec] Commons-net as dependency in other java projects?

2022-12-12 Thread Gilles Sadowski
Hi. Le mar. 13 déc. 2022 à 00:40, Kearns, Aaron (Contractor) a écrit : > > Hello all, > > > > I am a developer/maintainer of several java projects. Part of this is to keep > aware of potential vulnerabilities in project imports. I am using the OWASP > dependency checker plugin with gradle to

Re: Compatibility with RHEL8.6

2022-12-09 Thread Gilles Sadowski
Hello. Le ven. 9 déc. 2022 à 09:27, Prince Sonu (EXT) a écrit : > > Hello Team > Can you Please let me know that Apache XML Commons version 1.0.b2 > > > is Compatibility with RHEL8.6 or not, if no then Please tell me which version > Support RHEL 8.6. I don't know what "compatibility" means

Re: [imaging] I want to know the roadmap up to the version 1.0 in the future

2022-12-08 Thread Gilles Sadowski
[Moving to "dev" ML...] Le jeu. 8 déc. 2022 à 16:56, Gary Gregory a écrit : > > Since we had alpha releases, should we have a beta? +1 It would allow modifying the API in order to e.g. provide a code that self-documents the caller's responsibility wrt validation of external input. [Something

Re: [imaging] I want to know the roadmap up to the version 1.0 in the future

2022-12-08 Thread Gilles Sadowski
Hello. Le jeu. 8 déc. 2022 à 05:44, cottonspace a écrit : > > Hi. Thank you for your reply. > > I think that the current alpha-3 version gives good and enough quality. > But my business clients concerned about the stability of the library > quality in alpha version. This question question

Re: [imaging] I want to know the roadmap up to the version 1.0 in the future

2022-12-07 Thread Gilles Sadowski
Hi. Le jeu. 8 déc. 2022 à 01:10, cottonspace a écrit : > > Hello, I want to use this convenient library. However, the current version > is alpha-3. > > If possible, I would like to wait for the release of the version 1.0 at > starting to use it. Why? > > At now, do you have any prospects for

Re: GC issues after upgrading from 1.8 to 1.10

2022-11-17 Thread Gilles Sadowski
Hello. Le jeu. 17 nov. 2022 à 13:38, Pavel Belousov a écrit : > > [...] > > As I cannot sign up for your jira, [...] What do you mean? Regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For

Re: Use non-linear least squares to fit a function

2022-08-02 Thread Gilles Sadowski
Hello. Le mar. 2 août 2022 à 10:42, Yaqiang Wang a écrit : > > Gilles, > > What I gather from the documentation is that the intended purpose is > > to track the values of some function and all its derivatives when the > > function is defined programmatically (using the usual arithmetical > >

Re: Use non-linear least squares to fit a function

2022-08-01 Thread Gilles Sadowski
Hello. Le lun. 1 août 2022 à 16:03, Yaqiang Wang a écrit : > > Gilles, > > Thanks so much for your patiently response! I know I can write a gradient > method for a specific function, but my purpose is to make the gradient > method suitable for any function of yi = f(xi, p1, p2, p3, ...). That

Re: Use non-linear least squares to fit a function

2022-08-01 Thread Gilles Sadowski
Hi. Le dim. 31 juil. 2022 à 18:05, Yaqiang Wang a écrit : > > Currently I just want to fit univariate function such as the following Python > function: > > def func(x, a, b, c): > return a * exp(-b * x) + c > > > I also tried using SimpleCurveFitter to do it. MyParametricUnivariateFunction

Re: Use non-linear least squares to fit a function

2022-07-31 Thread Gilles Sadowski
oned at the beginning, curve_fit can not return > the fitting result. If you had attached figures to this message, the ML manager quite possibly discarded them. Perhaps better file a JIRA report: https://issues.apache.org/jira/projects/MATH Regards, Gilles > > > I have no idea ho

Re: Use non-linear least squares to fit a function

2022-07-31 Thread Gilles Sadowski
Le dim. 31 juil. 2022 à 03:46, Yaqiang Wang a écrit : > > Gilles, > > Thanks for your reply! Concretely to the point, I want to implement SciPy > curve_fit function using Java and Jython through Apache commons math > library. Any idea of it? I guess that your function is multivariate (?);

Re: Use non-linear least squares to fit a function

2022-07-30 Thread Gilles Sadowski
Hello. Le sam. 30 juil. 2022 à 10:58, Yaqiang Wang a écrit : > > I know implementing the ParametricUnivariateFunction > > interface > and overriding value and gradient

Re: EOS/EOL date for WS Common Utilities, Apache & XML-Apis (XML Commons), Apache

2022-07-27 Thread Gilles Sadowski
Hello. Le mer. 27 juil. 2022 à 14:44, Pranav Kumar (EXT) a écrit : > > Hi, > > Could you please provide me End of life/End of support detail for below: > > > * XML-Apis (XML Commons), Apache-Version 1.0.B2 > * WS Common Utilities, Apache-Version 1.0.2 The utilities maintained by the ASF

Re: [math] Compute derivatives for bidimensional interpolated function

2022-07-20 Thread Gilles Sadowski
Le mer. 20 juil. 2022 à 21:34, Alessandro Moscatelli a écrit : > > It seems that the SplineInterpolator per row/columns is exactly what the > depracted Cubic Interpolator was doing. > So, nevermind, I got my answer. It made sense indeed. > > Looking further into the code for PR porpuses. Great,

Re: [math] Compute derivatives for bidimensional interpolated function

2022-07-20 Thread Gilles Sadowski
Hello. Le mer. 20 juil. 2022 à 12:29, Alessandro Moscatelli a écrit : > > Hi everybody ! > > I have an xyz grid of points. > I want to interpolate and compute derivations along x, along y, and along xy. > > If I understood correctly, I can’t use PiecewiseBicubicSplineInterpolator > (this was my

Re: [Compress] Modular Commons Compress and better NIO2 Path API support

2022-02-12 Thread Gilles Sadowski
Le sam. 12 févr. 2022 à 16:01, Glavo a écrit : > > > > > Then, what's the purpose of your message to this ML? > > > > My objective is to see if anyone else wants Common Compress to work with > JPMS. A worthy objective IMHO, and indispensable in the mid-term AFAIK. > > If this is not the right

Re: [Compress] Modular Commons Compress and better NIO2 Path API support

2022-02-12 Thread Gilles Sadowski
Le sam. 12 févr. 2022 à 15:27, Glavo a écrit : > > Oh, sorry, I don't have that idea. Then, what's the purpose of your message to this ML? > In the plan, I will maintain this fork > for a long time. > > The reason for branching it is, on the one hand, to modularize, and on the > other hand, to

Re: [Compress] Modular Commons Compress and better NIO2 Path API support

2022-02-12 Thread Gilles Sadowski
Hello. Le sam. 12 févr. 2022 à 10:08, Glavo a écrit : > > I maintained a fork based on Common Compress, fully adapted to JPMS, and > improved the support for NIO2 path API. > All the archivers and compressors are split into separate modules. Its core > module is less than 90KB, and you can

Re: Apache Commons Math of Curve Fitting how to constraint Parameters

2022-01-24 Thread Gilles Sadowski
Hello. Le lun. 24 janv. 2022 à 08:21, qiqi tang a écrit : > > *HI Gilles Sadowski,* > > > > @Overridepublic double[] fit(Collection points) { > final double[] p = super.fit(points); > return new double[] { > constrainedM.value(p[0]), >

Re: Apache Commons Math of Curve Fitting how to constraint Parameters

2022-01-20 Thread Gilles Sadowski
Hello. Le jeu. 20 janv. 2022 à 15:06, qiqi tang a écrit : > > Dear Sir/Madam, >I recently used the CurveFitter tool inside the commons package and > I found a problem that I couldn't constrain the relevant parameters. A possible approach is to transform the relevant parameters so that

Re: A typo in math3 document.

2021-12-12 Thread Gilles Sadowski
Le dim. 12 déc. 2021 à 12:27, wqbill a écrit : > > https://commons.apache.org/proper/commons-math/userguide/linear.html > The example of linear systems of equations should be > 2x + 3y - 2z = 1 > -x + 7y + 6z = -2 > 4x - 3y - 5z = 1 Thanks![1] Regards, Gilles [1]

Re: SimplexSolver - Candidate Solutions and PointValuePairs

2021-10-05 Thread Gilles Sadowski
Hello. Le ven. 1 oct. 2021 à 16:30, Jorge Garcia de Alba a écrit : > > Hello, > > How can I get a PointValuePair for each candidate solution when using > SimplexSolver? The common API for optimizers provides one solution (hopefully "the" solution). Could you be more specific (e.g. code

Re: Using Apache Commons Math in Java Language Routines (SQL/JRT) in HSQLDB

2021-08-10 Thread Gilles Sadowski
Le mar. 10 août 2021 à 20:23, Gilles Sadowski a écrit : > > Hi. > > Le mar. 10 août 2021 à 17:38, Jorge Garcia de Alba > a écrit : > > > > Hello, > > > > Would apache commons math be interested in adding code that could > > easily be used in java

Re: Using Apache Commons Math in Java Language Routines (SQL/JRT) in HSQLDB

2021-08-10 Thread Gilles Sadowski
Hi. Le mar. 10 août 2021 à 17:38, Jorge Garcia de Alba a écrit : > > Hello, > > Would apache commons math be interested in adding code that could > easily be used in java language routines or is this out of scope? I > think they would be the best choice for implementing this. > > This is how I

Re: Using Apache Commons Math in Java Language Routines (SQL/JRT) in HSQLDB

2021-08-04 Thread Gilles Sadowski
Hello. Le mer. 4 août 2021 à 14:03, Jorge Garcia de Alba a écrit : > > Hello, > > I am interested in using the simplexsolver in a java language routine > in hsqldb. Hsqldb requires that the body of the java language routine > to be a static method. I wonder if such methods could be created and >

Re: [geometry] From math3.geometry to geometry

2021-07-13 Thread Gilles Sadowski
Hi. Le mar. 13 juil. 2021 à 15:10, Patrik Karlström a écrit : > > I'm in the process of replacing usage of math3.geometry with geometry beta1 > and I'm stuck at two places. > > My project has pretty limited usage of geometry, only Line, Lines, Segment > and Vector2D from

Re: [math] example for constrain parameters for Least squares

2021-06-08 Thread Gilles Sadowski
Hello. Le mar. 8 juin 2021 à 08:14, Christoph Läubrich a écrit : > > Hi Gilles, > > I have used the the INFINITY approach for a while now and it works quite > good. I just recently found a problem where I got very bad fits after a > handful of iterations using the LevenbergMarquardtOptimizer. >

Re: Security issue in commons-fileup.load version 1.4 .

2021-05-28 Thread Gilles Sadowski
Le ven. 28 mai 2021 à 18:42, Jurrie Overgoor a écrit : >> [...] > [...] > > In the end this would all be 'fixed' when a release would be less work. > At the risk of igniting a fierce discussion: why are Apache releases so > much work? Perhaps not so much work but, effectively in the "Commons"

Re: LP help

2020-11-20 Thread Gilles Sadowski
Hello. Thanks for your interest in Commons Math, and for a very detailed inquiry. :-) Unfortunately, I won't have the time to delve into this. If you'd like, there is another "hammer" which you could try:

Re: [math] DerivativeStructure and erf/erfx

2020-10-02 Thread Gilles Sadowski
t;) branch? [I recall that there have been other suggestions towards improving the API of the "autodiff" implementation.] There are many identified issues still to be fixed in CM, but that shouldn't prevent us from releasing a "4.0-beta" version. Best regards, Gilles [1] https://issues

Re: [NUMBERS] Article on Commons Numbers

2020-10-01 Thread Gilles Sadowski
Hi. Le lun. 28 sept. 2020 à 23:49, Nicola Vitucci a écrit : > > Hi all, > > Here is my article on Numbers as promised: > https://apothem.blog/apache-commons-numbers.html Thanks for a nice presentation! > I hope it can be useful as a first comprehensive documentation and as an > outsider's

Re: [NUMBERS] Article on Commons Numbers

2020-09-25 Thread Gilles Sadowski
Hello. 2020-09-25 11:55 UTC+02:00, Nicola Vitucci : > Hi everyone, > > I am writing an article on Commons Numbers on my blog, > with some background > and several usage examples for each module. Great; thanks a lot! > Anyway, I could not find a clear > explanation of what Numbers is meant for

Re: [math] DerivativeStructure and erf/erfx

2020-08-19 Thread Gilles Sadowski
t; and "linear" becoming (maven) modules. Regards, Gilles > And some of the common util/exception things that drip in when using the > above. > > Am 14.08.20 um 18:42 schrieb Gilles Sadowski: > > Le jeu. 13 août 2020 à 15:46, Christoph Läubrich > > a écrit : > &

Re: [math] DfpField

2020-08-19 Thread Gilles Sadowski
Hi. 2020-08-19 8:09 UTC+02:00, schophil : > Hi, > > I have a question regarding the use of DfpField. > > Is an instance of DfpField thread safe? Personally I don't know. Sorry. I've just looked at some of the code, and there is an occurrence of the "synchronized" keyword; so it seems that

Re: [math] DerivativeStructure and erf/erfx

2020-08-14 Thread Gilles Sadowski
lopment in > commons-math-4 and might be out of date with my knowledge a bit as an > "old" math3 user :-) Which classes/packages have you been using? Gilles > > Am 13.08.20 um 15:12 schrieb Gilles Sadowski: > > Hi. > > > > Le jeu. 13 août 2020 à 12:48, Christoph

Re: [math] DerivativeStructure and erf/erfx

2020-08-13 Thread Gilles Sadowski
Hi. Le jeu. 13 août 2020 à 12:48, Christoph Läubrich a écrit : > > I'd like to use the org.apache.commons.math3.special.Erf with a > DerivativeStructure but is seems there is no pre-defined function for > this (like exp()...). > > So the question is, can Erf transformed inside a

Re: [math] example for constrain parameters for Least squares

2020-08-11 Thread Gilles Sadowski
/Gaussian.java;h=08dcac0d4d37179bc85a7071c84a6cb289c09f02;hb=HEAD#l143 } ---CUT--- to be passed to "SimpleCurveFitter". Regards, Gilles > > > > [1] > https://crlbucophysics101.files.wordpress.com/2015/02/gaussian.png?w=538=294 > > > > > Am 11.08.20 um 11:18 sc

Re: [math] example for constrain parameters for Least squares

2020-08-11 Thread Gilles Sadowski
fits better, e.g. a gausian fit well > inside the -1..1. > > I hope it is a little bit clearer. I'm not sure. The picture shows a function that is not a Gaussian. Do you mean that you want to fit only *part* of the data with a function that would not fit well *all* the data? Regards, Gill

Re: [math] example for constrain parameters for Least squares

2020-08-10 Thread Gilles Sadowski
Hello. Le lun. 10 août 2020 à 17:09, Christoph Läubrich a écrit : > > The userguide [1] mentions that it is currently not directly possible to > contrain parameters directly but suggest one can use the > ParameterValidator, is there any example code for both mentioned > alternatives? > > For

Re: [math] Optimization API Question

2020-07-11 Thread Gilles Sadowski
Hi. Le sam. 11 juil. 2020 à 03:54, Oscar Bastidas a écrit : > > Would someone please tell me if the Optimization APIs in Apache Commons > Math can be used to solve a multi-variate equation (multiple xs, just one > y) for a specific value as Microsoft Excel's Solver can and if so, how that >

Re: Want to explore and contribute to Apache Commons

2020-06-16 Thread Gilles Sadowski
Hi. Le mar. 16 juin 2020 à 10:14, Amit Gadaley a écrit : > > Hello All, > > I am new to Apache Commons and I like to explore it and make contributions. Welcome. > Could anyone guide me on this? I am assuming there would be an application > with all propers included and that I can run locally,

Re: [math] Calculate distance from (3d) Segment to (3d) Segment and Vector3D

2020-05-28 Thread Gilles Sadowski
Hello Patrik. 2020-05-28 9:39 UTC+02:00, Patrik Karlström : > Hi, > first time user of math here, in more ways than one it feels. :) > > I need to get the shortest distance between two segments, > not knowing the difference, I started off by using 3d Line but until I knew > why, the result was

Re: [math] Question about GaussianCurveFitter.ParameterGuesser

2020-05-25 Thread Gilles Sadowski
Hello. Le lun. 25 mai 2020 à 07:27, Christoph Läubrich a écrit : > > I'm currently looking into some curve-fitting and have examined the > > basicGuess(WeightedObservedPoint[]) > > in GaussianCurveFitter.ParameterGuesser, and there is one thing I don't > really understand. > > in Line 301 [1]

Re: How to pass the --enable-preview tomcat parameter with JSVC?

2020-03-20 Thread Gilles Sadowski
Le ven. 20 mars 2020 à 18:40, ken edward a écrit : > > Yes, I did. Neither of these work: > > -D= > set a Java system property > -X > set Virtual Machine specific option > > -X--enable-preview > -D--enable-preview Did you try -Denable-preview=true ? [Would be the expected

Re: [math] ode event handler

2020-01-15 Thread Gilles Sadowski
Hi. I do not personally use this part of the library. Thus, only suggesting the obvious: Did you read the user guide, and the examples that are part of the test suite (in order to be sure that everything is coded correctly)? If so, the next step would be to try and devise a minimal (simplified)

Re: [math] Question about constructing a PolyhedronsSet using B-rep (commons-math3 v3.6.1)

2019-09-23 Thread Gilles Sadowski
Hello. Short answer: The "geometry" package of "Commons Math" will be deprecated, as we currently work on a new component: https://gitbox.apache.org/repos/asf?p=commons-geometry.git There is no official release yet, but you should definitely test it. Best regards, Gilles P.S. We seek help

Re: [MATH]Performance issue with SVD calculation for large matrices

2019-09-05 Thread Gilles Sadowski
Hi. 2019-09-05 12:04 UTC+02:00, Sudheer Kumar Gattu : > Hi All, > > > We use SingularValueDecomposition(RealMatrix realMatrix) , getSolver() in > our project. > > For large matrices of size 925*161 , when these API's are used iteratively. > It is taking so much time, Refer attached snapshot.

Re: org.apache.commons.math4.fitting.leastsquares.LevenbergMarquardtOptimizer

2019-06-10 Thread Gilles Sadowski
Hi. Le lun. 10 juin 2019 à 11:01, Marshall Wice a écrit : > > Hello, > > I am using the LevenbergMarquardtOptimizer and am receiving very strange > results. Running the below code, it appears as though the > LevenbergMarquardtOptimizer is diverging rather than converging. Sorry that you

Re: [math] Apache Commons Math Median performance

2019-05-29 Thread Gilles Sadowski
Hello. Le mer. 29 mai 2019 à 12:24, Marco Neumann a écrit : > > I am evaluating the use of Apache Math Commons Median for the querying of > large data sets in another Apache project called Apache Jena. > > In my preliminary performance tests I was surprised to find that a simple > implementation

Re: [math] Vector math question

2019-05-28 Thread Gilles Sadowski
Hi. Le mar. 28 mai 2019 à 10:31, LE TELLIER Romain 211391 a écrit : > > Hello, > > Yes, Apache Commons Maths has what you need. Start by having a look at the > org.apache.commons.math3.geometry.euclidean.threed package and the Vector3D > class >

Re: [math] - Math on Android?

2019-05-21 Thread Gilles Sadowski
Hello. Le mar. 21 mai 2019 à 12:42, Oscar Bastidas a écrit : > > Hello, > > Can someone please tell me if the Math library will work on Android Java, > or is this just restricted to "regular" Java? Thanks. "Commons Math" has been partly superseded by new components: * "Commons RNG" *

Re: [math] univariate nonlinear optimisation : how to start?

2019-04-06 Thread Gilles Sadowski
Hello. Le jeu. 4 avr. 2019 à 17:23, Matthew Rowles a écrit : > > I'm having difficulty even beginning to solve this problem. All examples > that I have found are either too simple or way too complex to digest. What did you try? Did you at the Javadocs for the "optim" and "fitting" package? The

Re: [SCXML] Snapshot repository does not contain any JAR

2019-03-14 Thread Gilles Sadowski
Le jeu. 14 mars 2019 à 07:54, Diptendu Dutta a écrit : > > The SCXML snapshot repository does not contain any JAR files, https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-scxml2/2.0-SNAPSHOT/ HTH, Gilles > they only have MD5 and SHA1 signatures. > >

Re: [math4] [geometry] Identify separate Polyhedrons in PolyhedronsSet - is there an implementation that does this?

2019-03-04 Thread Gilles Sadowski
Hello. Le ven. 1 mars 2019 à 11:19, Konstantin Kreutzer a écrit : > > Hi, > > thanks for your reply. Is the requested functionality available > somewhere in the new component? The new component's main developer (Matt Juntunen) seems currently offline. If you've done some browsing of the source

Re: [math4] geometry.eucledian.threed: Identify separate Polyhedrons in PolyhedronsSet - is there an implementation that does this?

2019-03-01 Thread Gilles Sadowski
Hi. Le ven. 1 mars 2019 à 10:39, Konstantin Kreutzer a écrit : > > Dear Apache Commons Team members, > > I have a PolyhedronsSet containing two polyhedrons that are > geometrically separated. Is there already somewhere a method that > divides the PolyhedronsSet in multiple PolyhedronsSets (each

Re: [math] PolyhedronsSets - intersecting a cube diagonally

2019-01-25 Thread Gilles Sadowski
Hi Sven. Le jeu. 24 janv. 2019 à 09:21, Sven Rathgeber a écrit : > > > Matt Juntunen leads the development of "Commons Geometry". > > Hopefully, he'll have a look at your example. Please have a look at the fix (in "master" now). Thanks a lot for the report, Gilles

Re: [math] java.lang.OutOfMemoryError: Java heap space: DescriptiveStatistics.addValue() ...

2019-01-24 Thread Gilles Sadowski
Hello. Le jeu. 24 janv. 2019 à 08:23, Albretch Mueller a écrit : > > I am "consistently" getting java.lang.OutOfMemoryError while trying > to use DescriptiveStatistics. > > The files I am using are relatively large and I need to analyze the > byte distributions in them. I am taking care of

Re: Re: [math] PolyhedronsSets - intersecting a cube diagonally

2019-01-23 Thread Gilles Sadowski
Hi. Le mer. 23 janv. 2019 à 13:16, Sven Rathgeber a écrit : > > > Codes in package "o.a.c.m.geometry" of Commons Math are being superseded > > by a new component.[1] > > It is currently in development and we hope to release a beta version soon; > > you > > are most welcome to help with

Re: [math] PolyhedronsSets - intersecting a cube diagonally

2019-01-22 Thread Gilles Sadowski
Hello. Le mar. 22 janv. 2019 à 11:06, Sven Rathgeber a écrit : > > Hi, > > I'm working with PolyhedronsSets. To get a basic understanding > I set up a cube and tried to intersect it diagonally. (apache.commons.math > 3.6.1) Codes in package "o.a.c.m.geometry" of Commons Math are being

Re: [openpgp] OpenPGP update?

2019-01-19 Thread Gilles Sadowski
Hi. Le dim. 20 janv. 2019 à 00:08, Andreas Beeker a écrit : > > Hi Gilles, > > sorry for not responding immediately, but I had to sort out something on my > other projects first. > > > The Commons PMC has voted write-access to all Apache committers. > > [It does not necessarily work right away;

Apache Commons RNG v1.0 is released

2016-12-13 Thread Gilles Sadowski
Hello. The Apache Commons Team is pleased to announce the availability of the first official release of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. The release notes can be reviewed at

Re: [math] Pearson Correaltion NaNs

2012-11-06 Thread Gilles Sadowski
Hello. I am having difficulties using the Pearson Correlation because it seems that it does not work if some cell is NaN. Is that intended? Very likely. [When NaN appears in a computation, it propagates and the result is NaN.] Here is some code: public static void main(String[] args) {

Re: [math] Pearson Correaltion NaNs

2012-11-06 Thread Gilles Sadowski
On Tue, Nov 06, 2012 at 03:06:07PM +0100, Martin Rosellen wrote: Hi, I analyse blood tests and not every blood sample is analysed for the same values. It would be best if rows (tuples) that contain a NaN are ignored. It would be dangerous if Commons Math would simply discard NaN values as

Re: [math] Difference between R.loess and org.apache.commons.math LoessInterpolator ?

2012-10-05 Thread Gilles Sadowski
Hello. cross posted on StackOverflow: http://stackoverflow.com/questions/12704658 I'm trying to compute the convert a R script to java using the *apache.commons.math* library. Can I use org.apache.commons.math.analysis.interpolation.LoessInterpolator

Re: [math] bundle name for Commons Math 3

2012-10-05 Thread Gilles Sadowski
On Fri, Oct 05, 2012 at 05:40:17PM +0100, sebb wrote: On 5 October 2012 17:06, matthew.web...@diamond.ac.uk wrote: In Commons Math 3.0, all the package names start with org.apache.commons.math3, to distinguish them from packages in the previous (2.2) - issue

Re: [Imaging] Will version 1.0 ever be released?

2012-09-17 Thread Gilles Sadowski
Hi. Honestly: the incredibly complex and mostly undocumented process for doing a release. There are various incompatible bits in at least 4 different places: * http://commons.apache.org/releases/prepare.html - is meant to be the official Commons release documentation, but it's out of date

Re: [math] QR decomposition in HarmonicFitter

2012-08-12 Thread Gilles Sadowski
Hello. I am trying to set up a harmonic fitter to determine periodicity of a data set. My code: import org.apache.commons.math3.optimization.fitting.HarmonicFitter; import org.apache.commons.math3.optimization.fitting.WeightedObservedPoint; import

Re: [math] QR decomposition in HarmonicFitter

2012-08-11 Thread Gilles Sadowski
Hi. I am trying to set up a harmonic fitter to determine periodicity of a data set. My code: import org.apache.commons.math3.optimization.fitting.HarmonicFitter; import org.apache.commons.math3.optimization.fitting.WeightedObservedPoint; import

Re: [math] Optimize non-differentiable multivariate real function with initial guess

2012-08-08 Thread Gilles Sadowski
/commons-math3/3.1-SNAPSHOT/ HTH, Gilles But i'll start with values provided in test.java.org.apache.commons.math3.optimization.direct.PowellOptimizerTest.doTest(MultivariateFunction,double[],double[],GoalType,double,double pointTol) Regards, Adrien Quoting Gilles Sadowski gil

Re: [MATH] Kalman Filter

2012-07-25 Thread Gilles Sadowski
Hi. On Wed, Jul 25, 2012 at 10:56:08AM -0400, Garrett Kane wrote: I am having trouble understanding the output of the Kalman Filter in math 3.0 is there anyone who can explain to me what the various trigonometric, exp, and lp_mant tables in the console output are used for? my eventual

Re: [math]

2012-07-07 Thread Gilles Sadowski
On Fri, Jul 06, 2012 at 10:45:40PM +, Italo Maia wrote: Had this to calculate the rsquared: OLSMultipleLinearRegression regression = new OLSMultipleLinearRegression(); regression.newSampleData(curve_totals, data); System.out.println(rsquared: + regression.calculateRSquared()); Where

Re: [math]

2012-07-06 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 10:02:29PM +, Italo Maia wrote: Oh my. Fair enough. Here is a sample data. http://pastebin.com/MkQrE8d2 See below. The values of a, b and c for this sample data, for best fitting, are: A: 1.0782 B: 0.4583 C: 0.0166 When everything is working, I'll

Re: [math]

2012-07-06 Thread Gilles Sadowski
Hi. If you are using the function a * Math.pow(t, b) * Math.exp(-c * t) the gradient is: { Math.pow(t, b) * Math.exp(-c * t), a * Math.log(t) * Math.pow(t, b) * Math.exp(-c * t), -a * t Math.pow(t, b) * Math.exp(-c * t) } // No idea what goes here. Nothing seems to work. Well,

Re: [math]

2012-07-06 Thread Gilles Sadowski
On Fri, Jul 06, 2012 at 09:39:30PM +, Italo Maia wrote: Hummm, so my assumption that my previous values for a, b and c were the best are wrong. I calculated the resid and it is really smaller. Real thanks for that! I wouldn't take the difference too seriously, given that the data are

Re: [math]

2012-07-05 Thread Gilles Sadowski
Hi. Thanks Giles! I was looking in the wrong place. Any suggestions on examples for these classes (a math function example would be very nice)? I've found this link (very helpful) but I don't know what to code in the gradient method. In ParametricUnivariateFunction.value I just returned

Re: [math]

2012-07-05 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 06:16:11PM +, Italo Maia wrote: Some context below: Did you have a look at the classes in the package org.apache.commons.math3.optimization ? No, I did not. Let's see... Which function? This little devil: http://dpaste.com/hold/767050/ public

Re: [math]

2012-07-05 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 08:35:28PM +, Italo Maia wrote: No juice. Hell! The initial function I'm trying to fit is: f(t, a, b, c) = a * t^b * exp(t*-c) I had the log of it to make it linear: f(t, a, b, c) = log(a) + b*log(t) - c*t I was using the log to do the fitting in python

Re: [math] Fit function to data set

2012-07-03 Thread Gilles Sadowski
Hi. I have a nx2 matrix to which I would like to fit a function. Which function? For such I need to define the function parameters (3 in total) that result in the best R² for the dataset. I'm nowhere familiar with Math commons but I was told OLSMultipleLinearRegression could do that. I'm

  1   2   >