Skip to content

v0.1.8

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 23:50
· 20 commits to main since this release

VectorizedReduction v0.1.8

Diff since v0.1.7

  • Update compatibility with Static v0.8

  • Add vmapreducethen: Apply function f to each element of A, reduce the result over the dimensions
    dims using the binary function op, then apply g 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-transform g 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