Commit Graph

6580 Commits

Author SHA1 Message Date
Mohammad Rezaei 9e24ff70a7 Use static final int for IEEE exponent shift constant.
Closes #156.
2020-07-21 19:15:10 +02:00
Gilles Sadowski 3ed7faba1b Unused "import" statement. 2020-07-21 15:51:19 +02:00
Gilles Sadowski 321c689ceb Checkstyle.
Closes #155.
2020-07-21 15:50:52 +02:00
Gilles Sadowski e9389912d5 Javadoc. 2020-07-21 12:18:20 +02:00
Gilles Sadowski 91207d4c6d Track changes. 2020-07-21 12:18:07 +02:00
Mohammad Rezaei d23485fb15 Scale constants before running simplex algorithm. Fixes MATH-1549. 2020-07-20 15:49:42 -04:00
Mohammad Rezaei 84890c9409 Standardize constants before running simplex algorithm. Fixes MATH-1549. 2020-07-16 20:48:36 -04:00
Gilles Sadowski 4108f5f35e MATH-1549: Added unit test based on the demo code provided on the report page.
Unit test is set to "@Ignore" as the issue is still present.
2020-07-14 14:41:42 +02:00
Gilles Sadowski 849d551b8a Track changes. 2020-06-29 00:51:55 +02:00
Gilles Sadowski 824d92fac6 Condition does not apply. 2020-06-29 00:22:19 +02:00
Gilles Sadowski ed4817c730 MATH-1548: Remove methods redundant with functionality defined in "NeuronSquareMesh2D". 2020-06-29 00:22:19 +02:00
Gilles Sadowski 28e5b802fe MATH-1548: Move standard quality measures of a SOM into class "NeuronSquareMesh2D".
All these indicators are usually computed in order to evaluate the quality of a SOM:
Computing them separately is inefficient when the number of samples becomes large.
2020-06-29 00:22:19 +02:00
Gilles Sadowski 9cbf1d1844 MATH-1547: Remove "findBest" and "findBestAndSecondBest" methods from "MapUtils".
Use equivalent functionality from class "MapRanking".
2020-06-29 00:22:19 +02:00
Gilles Sadowski 960ba5322b MATH-1547: Ranking of any number of the best matching units of a neural network. 2020-06-29 00:22:19 +02:00
Gilles Sadowski 24e2c246ce Formatting (unit test). 2020-06-29 00:22:19 +02:00
PeterAlfredLee 15dad0b047 Use stream API in place of explicit loop.
Closes #154.
2020-06-29 00:18:45 +02:00
B Sharma 0d937abf8c Simplify "instanceof" usage.
Closes #146.
2020-06-22 12:27:58 +02:00
XenoAmess bfa5b60eff MATH-1541: Loop early exit.
Closes #147.
2020-06-08 12:01:16 +02:00
XenoAmess 2ba76c2573 MATH-1544: Redundant argument.
Closes #150.
2020-06-08 11:48:30 +02:00
XenoAmess 183a8e3490 MATH-1542: Redundant check.
Closes #148.
2020-06-08 11:26:39 +02:00
XenoAmess 70a25eee5f MATH-1545: Follow best practice when checking ordering.
Closes #152.
2020-06-08 11:17:17 +02:00
XenoAmess 5b020dba27 MATH-1543: Avoid exception swallowing.
Closes #149.
2020-06-08 11:12:54 +02:00
Gilles Sadowski d8ad317f94 Formatting.
Closes #142.
2020-06-06 12:50:15 +02:00
XenoAmess e34ea727ca use subList().clear instead of a loop of remove(0) 2020-06-06 12:27:29 +02:00
XenoAmess ba8a26705e Use "addAll" instead of loop.
Closes #141.
2020-06-06 12:25:07 +02:00
Gilles Sadowski 5a8145a9df Formatting (unit test).
Closes #140.
2020-06-06 12:04:44 +02:00
XenoAmess 6af45f83ce clean-up in tests 2020-06-04 23:10:32 +08:00
Gilles Sadowski 715d89d262 MATH-1537: Clean-up.
Closes #137, closes #138, closes #139.
2020-06-03 12:05:18 +02:00
Gilles Sadowski 26d7e55974 Userguide. 2020-06-03 11:59:12 +02:00
Gilles Sadowski d5ffaf27c7 Javadoc. 2020-06-03 11:59:12 +02:00
XenoAmess 5f9bbadbb2 fix_typos 2020-06-03 11:59:12 +02:00
XenoAmess 2ae97f4038 delete unused imports 2020-06-03 11:32:12 +02:00
Gilles Sadowski f623bcf880 Javadoc. 2020-06-03 11:15:33 +02:00
XenoAmess 84f08fce9f refine javadoc 2020-06-03 01:47:04 +08:00
Gilles Sadowski 67aea22b08 MATH-1535: Recurring issue with method "fixTies" (WIP).
Current code is too fragile:
 * Adding "jitter" does not work reliably.
 * Changing the seed of the RNG make unit tests fail.

This commit includes:
 * Changing from "MathInternalError" to "MaxCountExceededException".
 * Using named variables for hard-coded values.
 * Adding unit tests (set to "@Ignore" to let the build pass).
 * Handling infinite values to avoid creating NaN values.
2020-05-29 23:00:47 +02:00
Gilles Sadowski 9f778c4135 Formatting nit (unit test). 2020-05-29 10:22:36 +02:00
Gilles Sadowski 31be9f198c Stricter tolerance (unit test). 2020-05-27 02:09:02 +02:00
Gilles Sadowski de70e0170e MATH-1534: Add unit test. 2020-05-27 02:03:31 +02:00
Gilles Sadowski 9f17f6de64 MATH-1534: Use value that probably conforms to the original intent.
Thanks to Christoph Läubrich.
2020-05-27 01:52:14 +02:00
Alex Herbert 52b374d85e Renormalise EOL 2020-05-26 13:46:43 +01:00
XenoAmess f5fdaea514
refine travis-ci scripts. 2020-05-26 12:07:15 +08:00
Gilles Sadowski b05b3b9a90 Avoid "static" import. 2020-05-18 11:59:00 +02:00
Gilles Sadowski cd003cb29f MATH-1533: Add unit test.
Issue reported does not exist in the development version.
2020-05-18 11:49:23 +02:00
Gilles Sadowski bd43adb57f Update call to "Commons Geometry" API. 2020-05-18 11:47:19 +02:00
Gilles Sadowski bbfe7e4ea5 MATH-1531: Avoid spurious exception.
In the provided use-case, computation resulted in a value slightly above 1,
thus throwing an exception (invalid probability).
Workaround replaces the value by 1 when it is up to one ULP away.
2020-04-27 07:39:41 +02:00
Gilles Sadowski 165926f77e Upgrade dependency. 2020-04-27 07:30:42 +02:00
Gilles Sadowski 8ce3448354 Update guidelines for contributing.
Let "GitHub" users see the project's policy.
2020-04-11 16:16:16 +02:00
Gilles Sadowski 2764b8239f Update list of contributors. 2020-04-11 13:52:12 +02:00
Gilles Sadowski 2d8adbf514 Avoid performance degradation of indexed access when using a linked list.
Thanks to Artavazd Balaian.

Closes #134.
2020-04-11 13:42:03 +02:00
Gilles Sadowski 7b005845af Fixed "CheckStyle" warnings. 2020-04-07 19:18:11 +02:00