Fast and primitive based math library.
NOTE
Due to significant change in SMILE 2.x API I decided to remove ML namespaces: regression and classification. Possible scenarios are: separate library with ML elements or further development of Clojure bindings in SMILE directly.
[generateme/fastmath "2.1.3"]
Based on SMILE 1.5.3 and including: regression and classification.
[generateme/fastmath "1.5.3"]
Code adopted from Zach Tellmans' library.
[* + - / > < >= <= == rem quot mod bit-or bit-and bit-xor bit-not bit-shift-left bit-shift-right unsigned-bit-shift-right inc dec zero? neg? pos? min max even? odd? bool-and bool-or bool-xor bool-not << >> >>> not==]
Most of them backed by Jafama FastMath 2.3.1 or Apache Commons Math 3.6.1
Vec2
), 3d (Vec3
) and 4d (Vec4
) vector types.With following groups of functions:
1d, 2d interpolations
Several easing functions (in, out, in-out)
Great collection (100+) of R^2->R^2 functions.
Gaussian Processes
Various clustering algorithms including K-Means++, DBSCAN, CLARANS, DENCLUE, MEC, Spectral, Deterministic Annealing
L-BFGS-B, Gradient, Nelder-Mead, Simplex, Powell, BOBYQA, CMAES, BayesianOptimizer
Hexagonal, squared, triangular, rhomboidal grid functions
Collection of various kernels (density, RBF, correlation)
Plenty of constant values
Almost all functions optimized to work with double
and long
primitives
Since this library is only JVM version, you can check following Clojure/ClojureScript libraries as replacement
Java classes are compiled for java 1.8
If you see place of improvement, I'm accepting PRs.
Copyright (c) 2020 generateme
Can you improve this documentation? These fine people already did:
tsulej, GenerateMe, genmeblog, generateme, teesel & Josef PospíšilEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |