ModelCalibration

dicechess.engine.model.ModelCalibration
final case class ModelCalibration(temperature: Double = ..., brierScore: Option[Double] = ..., logLoss: Option[Double] = ..., calibratedOn: Option[String] = ...)

Calibration metadata of a probability-valued model. Advisory — the engine records it and never applies it, because scaling a score the search only ever compares against other scores of the same model changes nothing.

Field names and the temperature default mirror the deployed evaluation service's calibration metadata, so one artifact's manifest is readable by both without a translation step.

Attributes

Source
ModelManifest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product