Commit Graph

5609 Commits

Author SHA1 Message Date
Otmar Ertl 7fe8a8aff6 extended GeometricDistributionTest to test inverse cumulative probability function also at point 1 2015-09-20 20:52:17 +02:00
Otmar Ertl 6c53783ea0 optimization of probability, logProbability, and cumulativeProbability methods in GeometricDistribution by precalculation of log(1-p) and log(p) 2015-09-20 20:49:38 +02:00
Otmar Ertl ecb52999cb code cleanup in GeometricDistribution.java as proposed by Gilles: * removed needless declaration of a local variable "p" with the same value as the "probabilityOfSuccess" field * remove needless local variable "ret" ("return" statements can be used directly in each way of the alternatives) 2015-09-20 20:46:41 +02:00
Otmar Ertl 81ce1b183a MATH-1277: Fixed incorrect Kendall's tau coefficient calculation due to
internal integer overflow. Thanks to Marc Rosen.
2015-09-20 10:09:46 +02:00
Gilles c1c1a84291 Fixed SOFM U-matrix (individual distances)
Some "diagonal" pixels were overwritten.
2015-09-19 14:46:56 +02:00
Gilles 88cee6d7b3 Merge branch 'MATH_3_X' of https://git-wip-us.apache.org/repos/asf/commons-math into MATH_3_X 2015-09-18 00:09:23 +02:00
Gilles 7929e10a8f MATH-1270
Visualization of quantization error.
2015-09-18 00:07:18 +02:00
Otmar Ertl 1c9c43c1d4 MATH-1274: representation of Kolmogorov-Smirnov statistic as integral
value
2015-09-16 20:34:46 +02:00
Luc Maisonobe 1cdaba9d5a Removed old print statements from tests. 2015-09-11 20:33:02 +02:00
Qualtagh 18310ed96f Added negative zero support in FastMath.pow.
JIRA: MATH-1273
Github: closes #16
2015-09-11 19:55:45 +02:00
Luc Maisonobe ace087b4ed Fixed checkstyle warnings. 2015-09-11 19:52:20 +02:00
Gilles 74515ba6aa Update of "changes.xml" 2015-09-11 11:36:48 +02:00
Gilles 8025da1719 Merge branch 'MATH_3_X' of https://git-wip-us.apache.org/repos/asf/commons-math into MATH_3_X 2015-09-11 11:26:32 +02:00
Luc Maisonobe 34b9fd0427 improved user guide on FiniteDifferencesDifferentiator. 2015-09-11 10:21:26 +02:00
Gilles d270d387ce Merge branch 'MATH_3_X' of https://git-wip-us.apache.org/repos/asf/commons-math into MATH_3_X 2015-09-11 00:55:44 +02:00
Gilles 012c15ce4d MATH-1270
SOFM visualization: Smoothed data histogram.
2015-09-11 00:55:00 +02:00
Gilles d7f6c8da95 MATH-1270
SOFM visualization: Topographic error.
2015-09-11 00:54:36 +02:00
Gilles afac1f05cd MATH-1270
SOFM visualization: Hit histogram.
2015-09-11 00:53:50 +02:00
Gilles 5e28d11b17 MATH-1270
SOFM visualization: Unified distance matrix.
2015-09-11 00:49:55 +02:00
Luc Maisonobe bfc2d49021 Clarified comments. 2015-09-10 15:12:38 +02:00
Luc Maisonobe f6b8dabda1 Typo. 2015-09-10 13:27:30 +02:00
Luc Maisonobe 252a0137b1 Ported pow function re-implementation from 4.X to 3.X.
JIRA: MATH-1272
2015-09-10 10:24:44 +02:00
Gilles 4ac5a9dec0 "package-info" file. 2015-09-08 14:35:14 +02:00
Gilles cba459c0b5 MATH-1268
API for algorithms that create some visualization of a 2D SOFM.
2015-09-08 14:30:39 +02:00
Gilles a382b33abb MATH-1267
Helper for finding the grid coordinates of a "Neuron" in a "NeuronSquareMesh2D".
2015-09-08 14:26:42 +02:00
Luc Maisonobe 50c5eae1a6 Fixed split/side inconsistencies in BSP trees.
JIRA: MATH-1266
2015-09-06 20:04:25 +02:00
Luc Maisonobe 5fccd09a81 Fixed javadoc. 2015-09-04 18:30:14 +02:00
Gilles 537a22428e MATH-1265
Implement "Iterable".
2015-09-04 14:39:27 +02:00
Gilles 23f469e4eb Tabs. 2015-09-04 14:06:42 +02:00
Gilles 69b5c82140 MATH-1264
Sort units according to distance from a given vector.
2015-09-01 14:25:26 +02:00
Luc Maisonobe f189a4c5aa Spurious whitespace. 2015-08-31 14:02:27 +02:00
Luc Maisonobe 265dd679aa Missing javadoc. 2015-08-31 14:01:55 +02:00
Luc Maisonobe afe2f3e002 Missing javadoc. 2015-08-31 13:58:24 +02:00
Luc Maisonobe 79bbb3054c Spurious javadoc parameter. 2015-08-31 13:50:52 +02:00
Gilles 2762c66008 MATH-1263
Accessor to get neighbouring neurons (in a square grid).
2015-08-30 18:56:50 +02:00
Gilles b54dbfb6ef MATH-1259
New class to replace the current "Incrementor" (now deprecated).
Additional functionality: negative initial value and/or increment,
"range" utility method.
2015-08-30 18:38:25 +02:00
Thomas Neidhart 836e609a37 Remove changelog entry which was superseded by another improvement. 2015-08-24 22:18:01 +02:00
Otmar Ertl 484196fc2e MATH-1220: random generator based on rejection-inversion sampling for
Zipf distributions
2015-08-24 21:30:56 +02:00
Otmar Ertl 32c5f86125 MATH-990: improved in-place sorting by using a helper class instead of
the generic Pair class, in order to avoid boxing and unboxing
2015-08-22 11:42:04 +02:00
Gilles 0820703df0 MATH-1261
Avoid unnecessary overflow.  Thanks to Osamu Ikeuchi.
2015-08-21 00:22:59 +02:00
Otmar Ertl b1f4a30aab MATH-1258: added entry to changes.xml 2015-08-20 20:18:14 +02:00
Otmar Ertl 7934bfea10 MATH-1258: check for equal array lengths in distance functions 2015-08-20 17:55:42 +02:00
Gilles 9cb16d5b1e MATH-1258
New utility "checkEqualLength" to consistently report failed precondition.
2015-08-20 13:08:19 +02:00
Gilles 49a9e6e874 MATH-1257
Increased accuracy.
2015-08-19 23:10:07 +02:00
Gilles aea9cfb342 Merge branch 'MATH_3_X' of https://git-wip-us.apache.org/repos/asf/commons-math into MATH_3_X 2015-08-17 13:28:56 +02:00
Gilles eb8727f9c6 MATH-1256
Boundary check.
2015-08-17 13:27:40 +02:00
Luc Maisonobe 8604341486 Improved BSP-tree documentation. 2015-08-14 20:34:41 +02:00
Gilles 93cf7f1cb1 MATH-1243
Refactoring of "microsphere interpolation" algorithm.  Old implementation deprecated.
2015-08-14 16:23:47 +02:00
Gilles 8e049a0ef0 MATH-1244
Utility method "cosAngle".
2015-08-14 16:03:52 +02:00
Gilles 5c3988cb04 MATH-1255
Wrong usage of "Gaussian" function.
2015-08-13 23:18:21 +02:00