class Ai4cr::ErrorStats
- Ai4cr::ErrorStats
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
ai4cr/error_stats.crConstant Summary
-
DEFAULT_HISTORY_SIZE =
2
-
INITIAL_SCORE =
Float64::MAX ** (1.0 / 16)
-
Must init @score, so set it big enough but not too big (so ErrorStats works w/ to/from JSON)
Constructors
Instance Method Summary
- #distance : Float64
- #distance=(value : Float64)
- #history : Array(Float64)
- #history_size : Int32
- #plot_error_distance_history(min = 0.0, max = 1.0, precision = 2.to_i8, in_bw = false, prefixed = false, reversed = false)
- #score : Float64
Constructor Detail
Instance Method Detail
def plot_error_distance_history(min = 0.0, max = 1.0, precision = 2.to_i8, in_bw = false, prefixed = false, reversed = false)
#