Commit Graph

6713 Commits

Author SHA1 Message Date
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
Gilles 6512107301 Add license text. 2020-03-11 01:12:46 +01:00
CT 84102c0c4c MATH-1524 Move "chooseInitialCenters" out of the KMeansPlusPlusClusterer 2020-03-11 00:52:49 +01:00
Gilles aeca88c72d Remove spurious "throws" clauses. 2020-03-10 23:22:11 +01:00
Gilles Sadowski fb78e1af4f Track changes. 2020-03-10 19:34:12 +01:00
Gilles Sadowski 39747b662f Merge branch 'MATH-1522__ChenTao'
Closes #124.
2020-03-10 19:29:52 +01:00
Gilles Sadowski 484b0e740a Revert to semantics mandated by "ClusterRanking" (higher is better). 2020-03-10 19:23:45 +01:00
CT af5ad16a06 MATH-1522 Remove generic parameter in ClusterEvaluator and ClusterRanking 2020-03-10 18:59:30 +01:00
Gilles Sadowski af4962c3c6 MATH-1511: Fix MathJax setup and guidelines for Javadoc. 2020-03-10 18:57:57 +01:00
Gilles Sadowski 6f361582b2 Avoid RAT failure on generated files. 2020-03-10 18:29:56 +01:00
Gilles 17e8430cbb Merge branch 'ml_clustering_evaluator__ChenTao'
Closes #123.
2020-03-10 03:33:15 +01:00
Gilles 68f7eae071 MATH-1516: Require that evaluators implement "ClusterEvaluator". 2020-03-10 03:31:51 +01:00
CT 4eb5f9f8a6 MATH-1519 Implement Calinski-Harabasz clusters evaluator. 2020-03-10 03:06:56 +01:00
Gilles c770e66963 MATH-1523: Abstract class replaced by an interface. 2020-03-10 02:41:06 +01:00
Gilles aafc49afd7 MATH-1518: Move method to remove code duplication. 2020-03-08 02:00:41 +01:00
Gilles d64d4c9c02 Track changes. 2020-03-07 20:42:25 +01:00
Gilles 69b92235a0 Unused methods. 2020-03-07 20:38:09 +01:00
Gilles 16c8f3b496 MATH-1516: Interface for ranking a list of clusters.
"MultiKMeansPlusPlusClusterer" updated to use the interface.
2020-03-07 20:32:07 +01:00
Gilles Sadowski 4d5983aa87 Update userguide code examples. 2020-02-18 17:18:00 +01:00
Gilles Sadowski 5c93c639c8 Update "NOTICE.txt". 2020-01-05 11:58:53 +01:00
Gilles Sadowski d317c6509d Test method was missing "@Test" annotation.
Thanks to Yu Liu for spotting it.
2020-01-05 02:37:39 +01:00
Gilles Sadowski 80df02f2d2 Downgrade CP: Missing HTML contents for some of the generated files. 2019-12-27 12:53:36 +01:00
Bruno P. Kinoshita dac15322b8 [MATH-1408]: Add changes.xml entry 2019-12-27 21:31:42 +13:00
Bruno P. Kinoshita ebf908570a [MATH-1408]: Replace try/catch with CCE by if/else 2019-12-27 21:10:29 +13:00
Gilles Sadowski a81b218d47 MATH-1388: Avoid risk of overflow. 2019-12-24 14:05:59 +01:00
Gilles Sadowski 06d45af838 Upgrade CP. 2019-12-24 13:19:11 +01:00
Gilles Sadowski 096cc553b6 Javadoc. 2019-12-24 13:12:36 +01:00
Gilles Sadowski ef4596df33 MATH-1362: Removed class that is not used anymore within "Commons Math". 2019-12-24 13:04:51 +01:00
Gilles Sadowski 8091c4fe83 MATH-1362: Use "IntegerSequence.Incrementor". 2019-12-24 12:56:13 +01:00
Gilles Sadowski 22da2300b8 MATH-1362: Use "IntegerSequence.Incrementor". 2019-12-24 12:32:15 +01:00
Gilles Sadowski aa46bcc64b MATH-1362: Use "IntegerSequence.Incrementor".
Also removed spurious "throws" clauses.
2019-12-24 11:44:43 +01:00