Ai4cr::ErrorStats
Inherits JSON::Serializable / Reference / Object
Constants
DISTANCE_DEFAULT = Math.sqrt(Math.sqrt(Float64::MAX))
HISTORY_SIZE_DEFAULT = 2
SCORE_DEFAULT = DISTANCE_DEFAULT
Constructors
new(pull : JSON::PullParser)
Sourcenew(history_size = HISTORY_SIZE_DEFAULT)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
distance
Sourcedistance=(value)
Sourcehist_correct_plot
Sourcehist_output_str_matches
Sourcehistory
Sourcehistory_size
Sourceplot_error_distance_history(min = 0.0, max = 1.0, precision = 2.to_i8, in_bw = false, prefixed = false, reversed = false)
Sourcescore
Sourceupdate_history_correct_plot(which_correct_plot = "(tbd)")
Sourceupdate_output_str_matches(output_str_matches = 0)
Source