class

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)
Source
new(history_size = HISTORY_SIZE_DEFAULT)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

distance
Source
distance=(value)
Source
hist_correct_plot
Source
hist_output_str_matches
Source
history
Source
history_size
Source
plot_error_distance_history(min = 0.0, max = 1.0, precision = 2.to_i8, in_bw = false, prefixed = false, reversed = false)
Source
score
Source
update_history_correct_plot(which_correct_plot = "(tbd)")
Source
update_output_str_matches(output_str_matches = 0)
Source