flare.report

accuracy

(accuracy key get-data predict-fn)

Creare report entry with key-accuracy key (e.g, :train, :test) and the value is the accuracy from using predict-fn over the data generated by get-data which is assumed to return a [x label] pair. The label is assumed to be an integer type number and is cast as long to compare to (predict-fn data)

avg-loss

(avg-loss)

callback

(callback f)

reporter which just uses callback f

every

(every freq r)

grad-size

(grad-size)

Reporter

protocol

For tracking behavior of model across examples

members

clear!

(clear! this)

clear internal state

gen

(gen this)

make a map report of observations

update!

(update! this info)

update with info after an ‘event’