Lrnr_SIR: SIR

Description Format Value Parameters Super class Methods See Also

Description

This learner solves a simple SIR model

Format

R6Class object.

Value

Learner object with methods for training and prediction. See Lrnr_base for documentation on learners.

Parameters

...

Parameters passed to glm.

Super class

sl3::Lrnr_base -> Lrnr_SIR

Methods

Public methods

Inherited methods

Method new()

Usage
Lrnr_SIR$new(start = c(0.5, 0.5), ...)

Method SIR()

Usage
Lrnr_SIR$SIR(time, state, parameters, N)

Method clone()

The objects of this class are cloneable with this method.

Usage
Lrnr_SIR$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other Learners: Lrnr_alan_pois, Lrnr_stratify_horizon, Lrnr_transform_outcome


tlverse/tlversecovidforecast documentation built on Aug. 26, 2020, 10:31 a.m.