(add-accumulator acc key)
Adds an accumulator to the accuracy for the results of the evaluation with the given key.
Adds an accumulator to the accuracy for the results of the evaluation with the given key.
(binary-accuracy)
(binary-accuracy threshold)
(binary-accuracy acc-name threshold)
(binary-accuracy acc-name threshold axis)
(config {:keys [loss devices data-manager initializer parameter optimizer
evaluator listeners]})
(get-accumulator acc key)
Returns the accumulated evaluator value.
Returns the accumulated evaluator value.
(get-gradient ndarray)
Returns the gradient NDArray attached to this NDArray.
Returns the gradient NDArray attached to this NDArray.
(get-metrics trainer)
Get metrics from trainer, put the metrics to seq of map: [{"train_progress_Accuracy" {:timestamp 1607859588747 :value 0.68125 :unit "count"}}]
Get metrics from trainer, put the metrics to seq of map: [{"train_progress_Accuracy" {:timestamp 1607859588747 :value 0.68125 :unit "count"}}]
(trainer {:keys [model loss devices data-manager initializer parameter optimizer
listeners]})
(trainer model config)
(update-accumulator acc key label-list pred-list)
Updates the accuracy with the given key based on a NDList of labels and predictions.
Updates the accuracy with the given key based on a NDList of labels and predictions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close