precision
Description
Given an Observable of ground-truth labels and predictions, the precision operator returns the precision.
Examples
API
Since
0.1
Parameters
None
Options
initialState: Object {truePositives: Number, falsePositives: Number}
: Sets a warm start value so that the calculation can continue from a non-zero starting point (instead of a blank state). The initialState should have these keys:truePositives: Number
is a count of the true positivesfalsePositives: Number
is a count of the false positives
Returns
Number
. (The current precision of the Observable
.)
Last updated