pub struct ProvenanceScore {
pub provenance: String,
pub n: usize,
pub brier: f64,
pub log_loss: f64,
pub skill: f64,
}Expand description
One provenance’s slice of the forecast stream.
The comparison this exists for: a hand edit committed through a heard duel and one committed by ticking “my edit is better” make the same claim in the log, and there is no reason to believe they are equally reliable. Scoring them against forecasts the model made before either answer arrived is the only way to find out which — and it costs one tag.
Fields§
§provenance: StringWhich stream ("duel", "heard_edit", "self_report").
n: usizeForecasts scored in it.
brier: f64Mean Brier score over them.
log_loss: f64Mean log-loss over them, in nats.
skill: f64Brier skill against a coin flip, 1 − B/0.25.
Trait Implementations§
Source§impl Clone for ProvenanceScore
impl Clone for ProvenanceScore
Source§fn clone(&self) -> ProvenanceScore
fn clone(&self) -> ProvenanceScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProvenanceScore
impl Debug for ProvenanceScore
Source§impl<'de> Deserialize<'de> for ProvenanceScore
impl<'de> Deserialize<'de> for ProvenanceScore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProvenanceScore
impl RefUnwindSafe for ProvenanceScore
impl Send for ProvenanceScore
impl Sync for ProvenanceScore
impl Unpin for ProvenanceScore
impl UnsafeUnpin for ProvenanceScore
impl UnwindSafe for ProvenanceScore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more