v0.1.8
VectorizedReduction v0.1.8
-
Update compatibility with Static v0.8
-
Add
vmapreducethen
: Apply functionf
to each element ofA
, reduce the result over the dimensions
dims
using the binary functionop
, then applyg
to the result. Equivalent to
g.(mapreduce(f, op, A, dims=dims, init=init))
but avoids the intermediate implied
by said expression while also fusing the post-transformg
such that the output array
is populated in a single pass. -
Add distances:
vmanhattan
,veuclidean
,vchebyshev
,vminkowski
-
Add norms:
vnorm
-
Add deviances:
vcounteq
,vcountne
,vmeanad
,vmaxad
,vmse
,vrmse
Released, but still need docstrings:
- Add means:
vmean
,vgeomean
,vharmmean
- Add entropies:
vcrossentropy
,vmaxentropy
,vshannonentropy
,vcollisionentropy
,vrenyientropy
- Add divergences:
vkldivergence
,vgkldiv
,vrenyidivergence