pub struct Ladder {
pub reference: String,
pub days: Vec<Date>,
pub rows: Vec<LadderRow>,
}Expand description
Models ranked by quantile score over the last delivery days with known prices.
Fields§
§reference: StringThe reference model.
days: Vec<Date>The delivery days scored, oldest first.
rows: Vec<LadderRow>Rows, best first.
Implementations§
Source§impl Ladder
impl Ladder
Sourcepub fn compute(
series: &Series,
rules: &RuleBook,
now: OffsetDateTime,
window: usize,
external: &[(String, Vec<Forecast>)],
) -> Self
pub fn compute( series: &Series, rules: &RuleBook, now: OffsetDateTime, window: usize, external: &[(String, Vec<Forecast>)], ) -> Self
Backtests the built-ins (each day as of its own day-ahead gate) and scores the latest
gate-valid submission of each external model, over the last window delivery days whose
prices are known at now.
Trait Implementations§
impl StructuralPartialEq for Ladder
Auto Trait Implementations§
impl Forget for Ladder
impl Freeze for Ladderwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Date>: Freeze,
PhantomData<LadderRow>: Freeze,
impl Move for Ladder
impl RefUnwindSafe for Ladder
impl Send for Ladder
impl Sync for Ladder
impl Unpin for Ladder
impl UnsafeUnpin for Ladderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Date>: UnsafeUnpin,
PhantomData<LadderRow>: UnsafeUnpin,
impl UnwindSafe for Ladder
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