Re: [MATH] How to run performance testing?

2025-04-05 Thread Gilles Sadowski
Hello. Code under directory src/userguide has been fixed in commit 0020bc5a7bce41e39c341b71dc6bf5723f68e987 (on "master"). Regards, Gilles Le jeu. 13 mars 2025 à 00:46, Gilles Sadowski a écrit : > > Hi. > > Le mer. 12 mars 2025 à 17:21, Andy Russell a écrit : >

Re: [MATH] How to run performance testing?

2025-03-12 Thread Gilles Sadowski
at. I'll try and have a look... Concerning "FastMathTestPerformance", it is an outdated benchmark; it should be replaced with one that uses JMH. [The "FastMath" class itself has been renamed "AccurateMath".] Regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: How to disable message logging to Console and files from JCS

2025-02-06 Thread Gilles Sadowski
ging functionality is needed, use the API. And select the recommended . [IMO too, it makes sense to delegate to "ASF Log4J" rather than continue (hardly) maintaining something else here.] Regards, Gilles > > Gary > > On Thu, Feb 6, 2025, 04:31 Piotr P. Karwasz > wrot

Re: [MATH] Discretizer equivalent

2025-01-27 Thread Gilles Sadowski
ouldn't find anything relevant. > > Yet, because data scaling is a very common step in ML, I feel I am missing > > something. Maybe this https://commons.apache.org/proper/commons-math/javadocs/api-4.0-beta1/or

Re: Apache Math 3.6 and 4 return wrong values using FiniteDifferencesDifferentiator

2024-12-15 Thread Gilles Sadowski
JIRA ticket page. Thanks, Gilles Le lun. 16 déc. 2024 à 00:01, Jay van Bruggen a écrit : > > > Hi, I have used Apache math a lot lately, > to my great satisfaction. > However, > Using FiniteDifferencesDifferentiator, In both 3.6 and 4.0 I have tried > and compared the > N

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. > > > Agre

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

Re: Maven repository for commons-statistics-inference

2024-02-22 Thread Gilles Sadowski
bove class exists as of version 1.1 of "Commons Statistics", which hasn't been released yet. > > How is it? Is it somewhere else? Should I include something else in my > project? For testing, you could try the (non-official) snapshots: https://repository.apache.org

Re: user guide section 1.8 of commons-math

2023-08-17 Thread Gilles Sadowski
e.org/jira/projects/MATH Regards, Gilles Le ven. 18 août 2023 à 00:41, 杨心文 蚊子 a écrit : > > Hello, > These are something need to be modify in user guide of commons.math. > > > Math – The Commons Math User Guide - Statistics (apache.org) > > > > > The code above w

Re: EOS/EOL date

2023-07-17 Thread Gilles Sadowski
sion 2.11.0 > * Commons collection-Version-3.2.2 > * Commons compress-Version-1.23 Generally, only the latest release of a component is supported. Latest versions are listed here: https://commons.apache.org/ Regards, Gilles ---

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). Rega

Re: [Lang] Advice on "Diff" usage

2023-07-10 Thread Gilles Sadowski
eld of the top-level object on a new line, but it does not apply this layout to the "composing" objects: Referring to the example quoted below, the array "contentArr" would be printed on a single line (in my use case, that line is 183312 characters long).] For large objects,

[Lang] Advice on "Diff" usage

2023-07-09 Thread Gilles Sadowski
ic Content[] getContentArray() { return contentArr; } } ---CUT--- how should I go about in order to get the "diff" between instances of "MyContainer"? Thanks, Gilles [1] https://commons.apache.org/proper/commons-lang/javadocs/api-release/o

Re: Curve fitting with version 4

2023-06-04 Thread Gilles Sadowski
"org.apache.commons.math4.legacy", e.g. https://commons.apache.org/proper/commons-math/javadocs/api-4.0-beta1/org/apache/commons/math4/legacy/fitting/WeightedObservedPoints.html Regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

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,

Re: Common-collections-3.0.jar

2023-02-02 Thread Gilles Sadowski
not 4.x if you expect support). Regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: Commons bsf

2023-02-01 Thread Gilles Sadowski
m the email 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

Re: Commons bsf

2023-02-01 Thread Gilles Sadowski
an commit directly here (at ASF "Commons")? > (not sure > where I would have to register/report my github id such that it can be > associated with my ASF id). https://whimsy.apache.org/roster/committer/__self__ HTH, Gilles -

Re: jexl upgrade path from 1.x

2023-01-31 Thread Gilles Sadowski
d on the lastest (i.e. supported) version of JEXL. Please post specific questions about upgrading the BSF codebase using a "Subject:" line with the "[BSF]" prefix (on "dev@").[1] Thanks, Gilles [1] There are dozens of components, sharing the same ML.

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 l

Re: commons-beanutils 2.0 release

2023-01-19 Thread Gilles Sadowski
, the project needs people who stick around for long enough so that they become PMC members, and then continue to be able to manage the release process of even just one component if/when necessary. Best regards, Gilles - To unsu

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
cussions, and, maybe, to agree on how to modify the current templates/plugins so that that file is generated as part of the release process. Regards, Gilles > [...] - To unsubscribe, e-mail: user-unsubscr...@comm

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
ections/ as sebb point is out. If there were an issue on the other servers, that would matter too. [But there isn't, as noted in my previous mail.] Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For add

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

Re: [Text & Collections] sha512 issue?

2022-12-30 Thread Gilles Sadowski
not match the checksum in https://www.apache.org/dist/commons/collections/binaries/commons-collections4-4.4-bin.tar.gz.sha512 (both links taken from the "download_collections.cgi" page). Gilles > > Gary > > On Fri, Dec 30, 2022 at 11:26 AM wrote: > > > > Hi Gary,

Re: Apache Commons 4 release roadmap/ future plans

2022-12-29 Thread Gilles Sadowski
ecurity.html > > Any details on the release plans will be of much help to us. Kindly help us > by providing those details. Thanks in advance. Wouldn't it be helpful if you'd provide a detailed list of requirements for a

[ANNOUNCE] Commons Math 4.0-beta1

2022-12-22 Thread Gilles Sadowski
om https://commons.apache.org/math/download_math.cgi When downloading, please verify signatures using https://downloads.apache.org/commons/KEYS Maven artifacts are also available from the Maven Central repository: https://repo.maven.apache.org/maven2/org/apache/commons Best regards, Gille

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

2022-12-12 Thread Gilles Sadowski
ther significantly. > > Commons Math v3.6.1 (and earlier) has no dependencies, except for running the test suite. The upcoming release (v4.0-beta1) will depend on other Commons components ("Numbers", "Geometry", "RNG" and "Statistics"). Regards, Gille

Re: Compatibility with RHEL8.6

2022-12-09 Thread Gilles Sadowski
what "compatibility" means here. The ASF provides source code (Java code in the case of the "Commons" project), so you can compile it on any computer/system/distribution of your choice as long as there is a Java compiler installed.

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

2022-12-08 Thread Gilles Sadowski
al input. [Something which "cottonspace" might want to help with (?).] Gilles >> [...] - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

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

2022-12-08 Thread Gilles Sadowski
question question should probably be discussed on the "dev" ML.[1] > > I'd like to contribute to the project also. Then please do subscribe to the "dev" mailing list as this is where you can collect infos about the ongoing work, and propose to help on it. Best reg

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

2022-12-07 Thread Gilles Sadowski
u have any prospects for when the version 1.0 will be released? The surest way to bring the date closer is to contribute to the project. Best regards, Gilles > > Note) I would like to use this library only for read/write EX

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.ap

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 (usin

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,

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

2022-08-01 Thread Gilles Sadowski
le a = parameters[0]; final double b = parameters[1]; final double c = parameters[2]; final double[] grad = new double[3]; grad[0] = Math.exp(-b * x); grad[1] = -a * x * grad[0]; grad[2] = 1; return grad; } } ---CUT--- HTH, Gilles > [..

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 functi

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

2022-07-30 Thread Gilles Sadowski
t; But I can not get the same result as SciPy curve_fit function. I nee your > help, Thanks! What you want to achieve is not clear to me. Sorry, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

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

2022-07-27 Thread Gilles Sadowski
es maintained by the ASF "Commons" project are listed there: https://commons.apache.org Which components do you refer to? Regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For a

Re: [math] Compute derivatives for bidimensional interpolated function

2022-07-20 Thread Gilles Sadowski
R porpuses. Great, thanks! Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [math] Compute derivatives for bidimensional interpolated function

2022-07-20 Thread Gilles Sadowski
implements a new "BivariateDifferentiableFunction" interface: ---CUT--- public interface BivariateDifferentiableFunction extends BinaryOperator {} ---CUT--- Regards, Gilles - To unsubscribe, e-mail: user

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

2022-02-12 Thread Gilles Sadowski
FAIK. > > If this is not the right place to talk about this, I apologize for it. The right place to discuss development is the "dev" ML. The "user" ML is for question about usage of "Commons" components. Regards, Gilles > > [...] -

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

2022-02-12 Thread Gilles Sadowski
d a > little incompatibility, so I don't think it can merge back to the main line. Not entering into details here, those look like improvements that could be discussed on "dev"... Regards, Gilles - To unsubsc

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

2022-02-12 Thread Gilles Sadowski
feedback on any problems. Thank you very much. > > Here is the link: > > https://github.com/Glavo/kala-compress Are you indirectly suggesting that the two code bases be merged? If so, please post to the "dev" ML. Regards, Gilles

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
(Arrays.toString(coeffs)); > }} > > Then, What should I do to limit the parameters 'm' to 1 to 100 and 'k' > to 100 to 10,000,It would be nice if the code dome was available. I don't understand what "code dome" means. > Please help me thank y

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] https:/

Re: SimplexSolver - Candidate Solutions and PointValuePairs

2021-10-05 Thread Gilles Sadowski
cific (e.g. code excerpts) about what you are trying to achieve? Best regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

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
jrt_routines Thanks. This is high-level requirement that would probably call into an intermediate level doing the adaptation to the low-level Commons Math (CM) API; I don't think that it can provide useful hints about what the CM API should look like. Best regards, Gilles [1] https:/

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

2021-08-04 Thread Gilles Sadowski
data = /* populate with params */; return s.optimize(data); } } ---CUT--- Best regards, Gilles > Great job. > > org.apache.commons.math3.optim.linear.SimplexSolver > > Jorge Garcia de Alba - To unsubscribe, e

Re: [geometry] From math3.geometry to geometry

2021-07-13 Thread Gilles Sadowski
w days. The release process of "Commons Geometry" v1.0 will probably start shortly afterwards. > > Happy for some guidance here. I suggest that you test the current snapshot[1] as the official release should be very similar. It is important to know that your use-case is indeed covere

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 Levenberg

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

2021-05-28 Thread Gilles Sadowski
ut, effectively in the "Commons" project, the scarce number of people doing the work. > Is there anything that can be improved in this? Come and help (or ask people to do so). ;-) Best, Gilles >>> [...] --

Re: LP help

2020-11-20 Thread Gilles Sadowski
ommons/math4/fitting/leastsquares/package-summary.html Best regards, Gilles > [...] - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [math] DerivativeStructure and erf/erfx

2020-10-02 Thread Gilles Sadowski
Hello. [Cc'ing to the "dev" ML, as this discussion belongs there.] Le ven. 2 oct. 2020 à 18:17, Christoph Läubrich a écrit : > > Thanks Gilles, I'm currently trying to dive into all of this a bit Your help is very welcome. > and > just wondering: > &g

Re: [NUMBERS] Article on Commons Numbers

2020-10-01 Thread Gilles Sadowski
; with the Java world is possible). Overloading is possible in Groovy[2], for example... ---CUT--- more operations for angles and vectors, close equality check for complex numbers ---CUT--- Feature requests welcome. Even more so, why not become an "insider"? After all, an Apache

Re: [NUMBERS] Article on Commons Numbers

2020-09-25 Thread Gilles Sadowski
"Fraction" and "BigFraction".] > Furthermore, do you expect the release version > to be somewhat/quite different from the current beta version? The purpose of release a "beta" was to get feedback and act accordingly. Hopefully your blog will help. :-) I look f

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
bers" is probably incomplete. Looking for volunteers in order to continue porting more useful stuff from CM (refactoring them on the way by making use of Java 8 features). Regards, Gilles [1] http://commons.apache.org/proper/commons-numbers/ ---

Re: [math] DerivativeStructure and erf/erfx

2020-08-14 Thread Gilles Sadowski
d that there is development 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 202

Re: [math] DerivativeStructure and erf/erfx

2020-08-13 Thread Gilles Sadowski
" is one among several utilities that still need to be ported (and refactored) there.[2] We are looking for volunteer maintainers for the math tools available from the Commons libraries. The move to more focused, smaller, components should hopefully simplify development... Best, Gilles [1] https

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

2020-08-11 Thread Gilles Sadowski
on/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&h=294 > > > > > Am 11.08.20 um

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

2020-08-11 Thread Gilles Sadowski
Hi. 2020-08-11 8:51 UTC+02:00, Christoph Läubrich : > Hi Gilles, > > > Just to make clear I don't suspect any error with GausianCurveFitter, I > just don't understand how the advice in the user-doc to restrict > parameter (for general problems) could be applied to a

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

2020-08-10 Thread Gilles Sadowski
get is why you need to force the mean within a certain range; if the data match a Gaussian with a mean within that range, I would assume that the fitter will find the correct value... Sorry if I missed something. Hopefully the example will clarify. Best, Gilles > > > [1] > https://

Re: [math] Optimization API Question

2020-07-11 Thread Gilles Sadowski
;t the functionality implemented in the org.apache.commons.math4.optim.linear package[1] what you are looking for? Regards, Gilles [1] http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math4/optim/linear/package-frame.html

Re: Want to explore and contribute to Apache Commons

2020-06-16 Thread Gilles Sadowski
?p=commons-rng.git > and > make changes. Then, you'd "clone" the code repository. How to contribute is generally described on a component's site. When you have questions/proposals about development, they should be posted o

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

2020-05-28 Thread Gilles Sadowski
te to repost (using the "[Geometry]" prefix in the subject). Best regards, Gilles - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [math] Question about GaussianCurveFitter.ParameterGuesser

2020-05-25 Thread Gilles Sadowski
ve along the x-axis. Also it seems that the current code could be made more robust by shifting the abscissa of the maximum height to 0 before performing the rest of the computation. Could you please file a report on the bug-tracking system

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

2020-03-20 Thread Gilles Sadowski
=true ? [Would be the expected syntax (IMHO).] Regards, Gilles > > On Fri, Mar 20, 2020 at 1:19 PM Mark Thomas wrote: > > > > On 20/03/2020 13:50, ken edward wrote: > > > Hello, > > > > > > When I deploy my tomcat war it produces the below error messa

Re: [math] ode event handler

2020-01-15 Thread Gilles Sadowski
) example, in the form of a Junit tests to be added to the test suite. Best regards, Gilles Le sam. 11 janv. 2020 à 22:15, Bo Johnson a écrit : > > Hi there, > > I'm new to Java and working on a project to integrate some ODEs. I'm > having issues knowing how to work with

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, Gille

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

2019-09-05 Thread Gilles Sadowski
id you compare with other libraries? * Did you investigate how the performance varies with matrix size? * Do you observe the same slow-down with other decomposition classes? * Is the behaviour similar with square matrices? * Which matrix implementation do you use? Regards, Gilles [1] https://i

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

2019-06-10 Thread Gilles Sadowski
a_bar = misalignmentMatrix*scalingMtrix*(a_hat) - (diag([E(7), E(8), > E(9)])*ones(3, length(a_hat))); > > residuals = zeros(length(a_bar(1,:)), 1); > > for i = 1:length(a_bar(1,:)) > residuals(i,1) = 9.81744^2 - (a_bar(1,i)^2 + a_bar(2,i)^2 + a_bar(3,i)^2) > end >

Re: [math] Apache Commons Math Median performance

2019-05-29 Thread Gilles Sadowski
ew code will be in "Commons Statistics".[1] Your observation is an interesting data point for this task; could you please file a report in JIRA[2] and/or mention on the "dev" ML? Thanks, Gilles [1] http://commons.apache.org/proper/commons-statistics/ [2] https://issues.apache

Re: [math] Vector math question

2019-05-28 Thread Gilles Sadowski
ers/contributors for this "core" dependency are also most wanted in order to iron out the pending issues: https://issues.apache.org/jira/projects/NUMBERS/issues/NUMBERS-74?filter=allopenissues Please chime in on the "dev" ML if you'd like to help. Thanks, Gilles >

Re: [math] - Math on Android?

2019-05-21 Thread Gilles Sadowski
by new components: * "Commons RNG" * "Commons Numbers" * "Commons Geometry" * "Commons Statistics" What functionality are you looking for? We are certainly interested to know whether there is anything that prevents using those components for developing ap

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

2019-04-06 Thread Gilles Sadowski
n(om)+Sqrt(-1*Math.pow(Cos(th2),2)*Math.pow(s,2)+2*Cos(th2)*Sin(om)*R*s-Math.pow(Cos(om),2)*Math.pow(R,2)+Math.pow(R,2)+2*Math.pow(s,2)))/(Sin(th2)*s)); > } > } You could improve readability and performance by * not calling "pow" to get the square, * not compute the same value mult

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
me browsing of the source code but did not find the functionality, you are welcome to create a report on the issue-tracking system: https://issues.apache.org/jira/browse/GEOMETRY Regards, Gilles - To unsubscri

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

2019-03-01 Thread Gilles Sadowski
.apache.org/repos/asf?p=commons-geometry.git Thanks for your interest, Gilles > > Best regards > > Konstantin Kreutzer > - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

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" no

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

2019-01-24 Thread Gilles Sadowski
uch OutOfMemoryError happen? This caveat is mentioned in the documentation: http://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/org/apache/commons/math3/stat/descriptive/DescriptiveStatistics.html > Is there a way around that problem? Yes; also mentioned in the above link. H

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

2019-01-23 Thread Gilles Sadowski
would be to file a report on the bug-tracking system[1] and attach a patch (or a git pull request) to it. Thanks, Gilles [1] https://issues.apache.org/jira/projects/GEOMETRY > > Regards. Sven - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [math] PolyhedronsSets - intersecting a cube diagonally

2019-01-22 Thread Gilles Sadowski
> > Hmm, any ideas. Please try the new project's code, and let us know how it goes. Best regards, Gilles [1] https://commons.apache.org/geometry [2] Source repository is here: https://gitbox.apache.org/repos/asf?p=commons-geometry.git > [...] --

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 n

Re: [openpgp] OpenPGP update?

2018-12-31 Thread Gilles
n the snapshot repo [2]. Who may I nag about committing the patch? You. ;-) The Commons PMC has voted write-access to all Apache committers. [It does not necessarily work right away; please test.] Regards, Gilles Best wishes, Andi [1] https://issues.apache.org/jira/browse/SANDBOX-508 [2]

Re: [math] Struggling with least squares

2018-12-28 Thread Gilles
233.7927945744999 W' 18662.916420529345 cp 245.72618039512386 W' 22592.92114117481 cp 248.91747806252718 W' 23643.613738664597 cp 249.9974080222 W' 23999.146684 ... cp 249.9993520052 W' 23999.7866709 optimum {250; 24,000} Any ideas? What happens when different startin

Re: Help with migrating one of OpenJPA classes to commons-collections4

2018-12-18 Thread Gilles
Hi. On Tue, 18 Dec 2018 20:54:22 +0700, Maxim Solodovnik wrote: Hello Gilles, I read documentation and as far as I can see To perform release I need rights to create branch git remote -v origin g...@github.com:apache/commons-collections.git (fetch) origin g...@github.com:apache/commons

Re: Help with migrating one of OpenJPA classes to commons-collections4

2018-12-18 Thread Gilles
ns" project has granted "write" access to all Apache committers. [But some repositories perhaps miss the actual settings to make it work. You'll have to try...] HTH, Gilles [1] https://github.com/apache/openmeetings/blob/master/KEYS#L88 On Tue, 18 Dec 2018 at 01:06, sebb w

Re: Help with migrating one of OpenJPA classes to commons-collections4

2018-12-17 Thread Gilles
Hi. On Mon, 17 Dec 2018 15:12:16 +0700, Maxim Solodovnik wrote: Hello Gary, Is there any progress? :) Suggestion: Be the release manager of 4.3. Regards, Gilles On Tue, 4 Dec 2018 at 00:07, Gary Gregory wrote

Apache Commons RNG version 1.2 release

2018-12-12 Thread Gilles
ps://repo1.maven.org/maven2/org/apache/commons/ Best regards, Gilles (on behalf of the Apache Commons Team) - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [Math | Statistics] looking for an equivalent of both the R class "lm" and intrcept

2018-10-30 Thread Gilles
/proper/commons-math/apidocs/org/apache/commons/math4/stat/regression/package-summary.html Regards, Gilles Thanks for your help -- Jonathan MERCIER Centre National de Recherche en Génomique Humaine (CNRGH) Researcher computational biology PhD, Jonathan MERCIER Bioinformatics (LBI) 2, rue Gaston

Re: [math] How to use LevenbergMarquardtOptimizer for finding the optimal dampening factor for exponential smoothing

2018-05-17 Thread Gilles
tsquares.html [While working your way to implementing the code for getting the solution, you could even contribute another example to that page.] If you can't make it work, don't hesitate to ask more. HTH, Gilles Once again, many thanks for your kind reply and insights into the app

Re: How to use NonLinearConjugateGradientOptimizer

2018-05-08 Thread Gilles
tiveFunctionGradient". The unit tests classes show examples: https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=blob;f=src/test/java/org/apache/commons/math4/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizerTest.java;

Re: [Math] Calculate R-Square for PolynomialCurveFitter

2018-03-18 Thread Gilles
ommons-math/apidocs/org/apache/commons/math4/fitting/leastsquares/LeastSquaresProblem.Evaluation.html However, they might still not be what you are looking for... HTH, Gilles final PolynomialFunction polynomial = getPolynomialFitter(trainData); System.out.printf("

Re: [math] nextDouble

2018-03-09 Thread Gilles
Still, it would be nice if that was stated definitively. I'd say "exclusive" but without any warranty. ;-) The doc of "Commons RNG" has pointers to the references. Review and patch welcome! Regards, Gilles --

Re: [math] nextDouble

2018-03-09 Thread Gilles
On Fri, 9 Mar 2018 16:35:57 -0500, Matt Bru wrote: I have a question about org.apache.commons.math3.random.BitsStreamGenerator. Please note that the package "org.apache.commons.math3.random" is deprecated (see [1]). Regards, Gilles [1] http://commons.apache.org/rng nextDouble()

Re: [math] OLSMultipleLinearRegression

2017-12-31 Thread Gilles
the unit tests[1]? Hopefully, it should show how to set up your code. Best, Gilles [1] https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=blob;f=src/test/java/org/apache/commons/math4/stat/regression/OLSMultipleLinearRegressionTest.java;hb=HEAD On 12/31/2017 4:56 PM, Gilles

  1   2   3   >