ModelTestStats

ModelTestStats

Gathers the scores (right/wrong and accuracy delta) for a model run. These are determined via callback, during the search iteration's testing phase.

Constructor

new ModelTestStats(_deltaCorrect, _deltaIncorrect, _totalCorrect, _totalCases)

Creates an instance of ModelTestStats.
Parameters:
Name Type Description
_deltaCorrect number Aggregate accuracy deltas for the cases with 'correct' predictions.
_deltaIncorrect number Aggregate accuracy deltas for the cases with 'incorrect' predictions.
_totalCorrect number Sum of cases with 'correct' predictions.
_totalCases number Sum of cases used to test (aka proof cases).
Source:

Methods

CalculateScore() → {number}

Gets correct / total.
Returns:
Type
number
Source: