lambda-ml.core

derivative

(derivative f)

dot-product

(dot-product a b)

l2-norm

(l2-norm a)

mean

(mean coll)

median

(median coll)

mode

(mode coll)

random-partition

(random-partition n coll)

Returns n partitions of elements randomly selected from coll.

relu

(relu z)

relu'

(relu' z)

sample-with-replacement

(sample-with-replacement coll n)(sample-with-replacement coll n s)

Returns n randomly selected elements, with replacement, from coll.

sample-without-replacement

(sample-without-replacement coll n)(sample-without-replacement coll n s)

Returns n randomly selected elements, without replacement, from coll.

sigmoid

(sigmoid z)

sigmoid'

(sigmoid' z)

vector-with-intercept