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
Gilles Sadowski
9c6ed8311f
MATH-1530: Loop rewrite.
2020-04-06 19:06:12 +02:00
Gilles Sadowski
75d19f3077
Formatting nit.
2020-04-06 13:37:04 +02:00
Gilles Sadowski
6a06f4fdaa
Avoid multiple accesses to the same array's location.
2020-04-06 13:35:19 +02:00
Gilles Sadowski
54c4ee34af
Redundant assignments.
2020-04-06 12:50:50 +02:00
Gilles Sadowski
8d36e18b21
Array declaration.
2020-04-06 12:49:40 +02:00
Gilles Sadowski
00f4de04fb
Track changes.
2020-04-05 03:13:50 +02:00
Gilles Sadowski
13a084b3d9
MATH-1529: Modified Akima interpolator.
2020-04-05 03:13:50 +02:00
Gilles Sadowski
e80f7cc293
Unused "import" statements.
2020-04-04 00:19:29 +02:00
Gilles Sadowski
8be7fa4343
Merge branch 'MATH-1524__ChenTao'
...
Closes #133 .
2020-03-26 18:26:33 +01:00
Gilles Sadowski
b95a43fa9a
More self-documenting code.
2020-03-26 18:18:47 +01:00
Gilles Sadowski
68de72cc0b
Make "<build>" and "<reporting>" sections consistent (wrt RAT analysis).
2020-03-26 17:55:55 +01:00
CT
f2eebe68d8
MATH-1524: Remove package initialization and reuse chooseInitialCenters as package-private
2020-03-26 17:04:10 +08:00
Gilles Sadowski
7ae8c7ac46
Javadoc.
2020-03-25 17:07:24 +01:00
CT
8dda8d8679
MATH-1524: Add package-info.java file in package initialization.
2020-03-25 17:00:38 +01:00
Gilles Sadowski
ea873277c1
Javadoc.
2020-03-25 16:58:15 +01:00
CT
01227337f8
MATH-1509: Add missing documentation to class ImprovementEvaluator
2020-03-25 22:43:06 +08:00
Gilles Sadowski
6b0395898e
Class can be "static" (improves encapsulation).
2020-03-22 16:09:41 +01:00
Gilles Sadowski
7741ddb814
Track changes.
2020-03-22 16:08:31 +01:00
Gilles Sadowski
4128dbb206
Merge branch 'MATH-1509__ChenTao'
...
Closes #128 .
2020-03-22 15:10:26 +01:00
Gilles Sadowski
ab33121f7b
Use "sample" functionality from "ListSampler".
...
Change should improve performance by
* extracting the number of required items (instead of shuffling the whole list),
* converting the "Collection" to a "List" once.
2020-03-22 14:46:58 +01:00
Gilles Sadowski
844ffbeeee
MATH-1509: Miscellaneous code style adjustments.
2020-03-22 14:29:00 +01:00
Gilles Sadowski
c55d43f382
Reduce method visibility to package-private.
...
Leaking internals will prevent making class thread-safe.
2020-03-22 14:25:04 +01:00
Gilles Sadowski
1e32dc95cf
Unused "import" statements.
2020-03-22 14:24:25 +01:00
Gilles Sadowski
5b1a86a957
Fix javadoc warning.
2020-03-22 14:23:36 +01:00
Gilles Sadowski
60a8f03baf
Fix "FindBugs" warning.
2020-03-22 14:21:59 +01:00
Gilles Sadowski
103276c53b
Javadoc.
2020-03-22 11:39:54 +01:00
Gilles Sadowski
c251395aaf
Javadoc (errors and warnings).
2020-03-22 10:47:02 +01:00
CT
da455397c2
MATH-1509: Implement the MiniBatchKMeansClusterer.
2020-03-22 09:59:26 +01:00
Gilles Sadowski
22373aeb76
Merge branch 'MATH-1525__ChenTao'
...
Closes #127 .
2020-03-21 16:16:34 +01:00
CT
baf8d0a404
MATH-1525: Make "EmptyClusterStrategy" and related logic in "KMeansPlusPlusClusterer" reusable.
2020-03-21 16:09:48 +01:00
Alex Herbert
955f56fbe4
Add missing type T javadoc
2020-03-18 07:26:09 +00:00
Alex Herbert
45abfa45ae
Remove unused import. Fix malformed javadoc.
2020-03-18 07:20:23 +00:00
Gilles
c13179ef73
Javadoc.
2020-03-15 01:38:10 +01:00
Gilles
aef8f5272d
Reduce visibility of method that is meant to be used internally only.
...
Note: Since "Cluster" is mutable, the "center" stored in "CentroidCluster"
may become inconsistent with the actual contents of the cluster.
See MATH-1524.
2020-03-13 04:07:48 +01:00
Gilles
cd0988f9bf
Method "centroid()" is available for any "Cluster" instance (userguide).
...
See MATH-1524.
2020-03-13 03:38:54 +01:00
Gilles
169062c7a5
Merge branch 'MATH-1524__ChenTao'
...
Closes #125 .
2020-03-11 01:16:28 +01:00
Gilles
74bba17b9b
Track changes.
2020-03-11 01:14:52 +01:00