Commit Graph

7094 Commits

Author SHA1 Message Date
aherbert f37494baca Update commons-imaging to 1.0-alpha3 2022-06-07 14:03:43 +01:00
aherbert c779c331ab Add GitHub workflows for build and coverage 2022-06-07 13:39:10 +01:00
aherbert 4e3d62a289 Enable jacoco plugin using the commons parent profile 2022-06-07 13:38:45 +01:00
aherbert 2f8b4da5b9 Correct javadoc tags to allow build on JDK 17
Remove heading tags
Correctly close paragraph tags
2022-06-07 12:58:37 +01:00
Gilles Sadowski f067b2b4ba MATH-1644: Prevent computed probability from exceeding 1. 2022-04-09 14:07:03 +02:00
Sebb cfb9bda8f8 git-wip-us => gitbox 2022-04-05 11:37:39 +01:00
Gilles Sadowski 57dda85533 HTML5 javadoc comments.
As of Java 11, the "javadoc" command requires compliance.
2022-03-03 12:02:58 +01:00
Gilles Sadowski 924f6c3574 Redundant setting (POM). 2022-02-01 01:10:12 +01:00
Gilles Sadowski c5ea177934 Use specialized "pow" function. 2022-01-27 15:09:34 +01:00
Gilles Sadowski 06301d00d5 Track changes. 2022-01-25 01:30:07 +01:00
Gilles Sadowski 9ce9f49d4a Add "ElkanKMeansPlusPlusClusterer" to example application. 2022-01-25 01:27:17 +01:00
Gilles Sadowski 74a851b611 MATH-1371: Elkan's enhancement to "K-Means" algorithm.
Original implementation is a old PR provided by Artem Barger.
Updated and changed to pass the code style checks.

I did not review how this algorithm departs from the other
implementations available in the same package, and whether
some other design could minimize duplicate codes (but it
would have been a pity to drop a potential performance
improvement).
A thorough examination should be considered, when tackling
the refactoring of the "clustering" package.

Closes #35.
2022-01-24 19:57:29 +01:00
Gilles Sadowski 565b896873 MATH-1580: "K-Means" clustering example.
Adapted application moved to the "commons-math-examples" module.

* GUI dependencies have been removed.
* Any format supported by "Commons Imaging" can be used as input.
* Clustered image saved in PNG format.
2022-01-24 18:14:59 +01:00
Gilles Sadowski 134d731a6b Unused "import". 2022-01-24 18:12:52 +01:00
Gilles Sadowski 49a38cdf03 Minor cosmetic change (POM). 2022-01-24 06:37:38 +01:00
Gilles Sadowski 022332820a Upgrade dependency.
Commons Statistics 1.0-SNAPSHOT requires Commons Numbers 1.1-SNAPSHOT.
2022-01-24 05:54:10 +01:00
Gilles Sadowski f862efe4c6 MATH-1589: Remove spurious "throws" clause. 2022-01-24 05:39:59 +01:00
Gilles Sadowski e18ac1b03b Replace deprecated calls. 2022-01-23 03:56:07 +01:00
Gilles Sadowski 4844e3aeab Upgrade dependencies. 2022-01-23 03:55:21 +01:00
Gilles Sadowski c6b4ca908c MATH-1640: Do not try to outguess the caller. 2022-01-22 18:53:17 +01:00
Arturo Bernal 645d85a8c7 Avoid array declarations written in C-style syntax and replace it with java.
Closes #202.
2022-01-20 18:44:07 +01:00
Gilles Sadowski 49f220cbcb Fix duplicate reference (POM). 2022-01-19 05:21:00 +01:00
Gilles Sadowski 426545d1db Relax tolerance (unit test). 2022-01-19 05:19:47 +01:00
Gilles Sadowski 384554faa1 Move "shade" plugin to a profile (POM).
Cf. https://markmail.org/message/xvsc75mt6fpz2k65
2022-01-19 04:54:26 +01:00
Alex Herbert 32c75646ba Remove dependency fileset 2022-01-19 00:12:21 +00:00
Gilles Sadowski 5b291c7950 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math 2022-01-18 20:01:21 +01:00
aherbert 61cfea92d9 Disable jacoco coverage check in core module
This should allow Travis to build.
2022-01-18 18:21:29 +00:00
aherbert f4bc2a48ce Do not perform site checkout by default 2022-01-18 17:55:15 +00:00
aherbert 916a7d0c14 Add a release profile 2022-01-18 17:35:17 +00:00
aherbert 2a1da68177 Remove examples and correct artifact ids in dist-archive 2022-01-18 17:34:57 +00:00
Gilles Sadowski ae6ceeadd1 Replace calls to deprecated classes and methods (unit tests). 2022-01-18 04:37:54 +01:00
Gilles Sadowski d81b5e921e Replace "CMAESOptimizer.Sigma" with "Sigma". 2022-01-17 02:37:20 +01:00
Gilles Sadowski 336811dff5 Relax tolerance (unit tests). 2022-01-13 15:53:20 +01:00
Gilles Sadowski 7bb6190584 Remove spurious file.
Thanks to Karl-Philipp Richter.

Closes #201.
2022-01-13 15:50:22 +01:00
Gilles Sadowski 9b0fc1fe7f Allow successful build on Java 9+.
Currently "JdkMath" implements all "Math" methods only on Java 8 (or lower).
2022-01-11 01:05:58 +01:00
Gilles Sadowski bc3711d0c6 Track changes. 2022-01-09 00:19:02 +01:00
Gilles Sadowski 00e783b363 Remove non-applicable terms from "LICENCE" and "NOTICE" files.
The referred dependencies are not used in the "neuralnet" module.
2022-01-08 15:46:22 +01:00
Gilles Sadowski e65ed4ff5b Add accessors.
Allow retrieval of the full state, e.g. for persistent storage (cf. MATH-1594).
2022-01-08 14:52:55 +01:00
Gilles Sadowski d35194c995 Update copyright notice (2022). 2022-01-06 01:18:24 +01:00
Gilles Sadowski 468d81714d Remove comparator.
Its usage is unnecessary within the library.
2022-01-06 01:04:31 +01:00
Gilles Sadowski 08e51aa539 Unused "import" statements. 2022-01-06 00:26:11 +01:00
Gilles Sadowski 382759b4cd Javadoc. 2022-01-06 00:16:40 +01:00
Gilles Sadowski c6d5f4b65f MATH-1594: Remove "Serializable". 2022-01-02 23:59:08 +01:00
Gilles Sadowski 2f48fbb5f9 Unused "import" statements. 2022-01-01 13:25:44 +01:00
Gilles Sadowski e7002a0215 MATH-1594: Remove "Serializable". 2021-12-31 01:59:20 +01:00
Gilles Sadowski eab5cb3af1 MATH-1594: Remove "Serializable". 2021-12-31 01:44:22 +01:00
Gilles Sadowski 94061dc566 MATH-1594: Remove "Serializable". 2021-12-31 00:59:27 +01:00
Gilles Sadowski 83fb6ef292 Remove spurious "throws" clause. 2021-12-31 00:53:17 +01:00
Gilles Sadowski 8904e6263a MATH-1594: Remove "Serializable". 2021-12-31 00:44:16 +01:00
Gilles Sadowski d3c03ebc9b Add unit tests. 2021-12-31 00:34:07 +01:00