Liking cljdoc? Tell your friends :D

deebn.util


bernoulliclj

(bernoulli p)

Take a single Bernoulli sample, given a probability

Take a single Bernoulli sample, given a probability
sourceraw docstring

gen-softmaxclj

(gen-softmax x num-classes)

Generate a softmax output. x is the class represented by the output, with 0 represented by the first element in the vector.

Generate a softmax output. x is the class represented by the
output, with 0 represented by the first element in the vector.
sourceraw docstring

get-min-positionclj

(get-min-position x)

Get the position of the minimum element of a collection.

Get the position of the minimum element of a collection.
sourceraw docstring

query-hiddenclj

(query-hidden rbm x mean-field?)

Given an RBM and an input vector, query the RBM for the state of the hidden nodes.

Given an RBM and an input vector, query the RBM for the state of
the hidden nodes.
sourceraw docstring

random-subsetclj

(random-subset n dataset)

Return a matrix of a n rows randomly selected from a dataset.

Return a matrix of a n rows randomly selected from a dataset.
sourceraw docstring

sigmoidclj

(sigmoid x)

Sigmoid function, used as an activation function for nodes in a network.

Sigmoid function, used as an activation function for nodes in a
network.
sourceraw docstring

softmax-from-obvclj

(softmax-from-obv x num-classes)

Given an observation with label attached, replace the label value with an appropriate softmax unit. This assumes that the label is the last element in an observation.

Given an observation with label attached, replace the label value
with an appropriate softmax unit. This assumes that the label is the
last element in an observation.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close