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)
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’