Closed lisphilar closed 3 years ago
Complemented dataset is not used in PolicyMeasures.estimate() and this causes ValueError: Records with 'Recovered > 0' in NLD from 01Jan2020 to 01Dec2020 are un-registered.
PolicyMeasures.estimate()
ValueError: Records with 'Recovered > 0' in NLD from 01Jan2020 to 01Dec2020 are un-registered.
covsirphy.PolicyMeasures
covsirphy.MPEstimator
import covsirphy as cs # Dataset preparation data_loader = cs.DataLoader("input") jhu_data = data_loader.jhu() population_data = data_loader.population() oxcgrt_data = data_loader.oxcgrt() # Scenario analysis analyser = cs.PolicyMeasures(jhu_data, population_data, oxcgrt_data) analyser.trend() analyser.estimate(cs.SIRF)
This causes ValueError.
ValueError
With #374, this was fixed in development version 2.12.0-theta.
Summary
Complemented dataset is not used in
PolicyMeasures.estimate()
and this causesValueError: Records with 'Recovered > 0' in NLD from 01Jan2020 to 01Dec2020 are un-registered.
(Optional) Related classes
covsirphy.PolicyMeasures
covsirphy.MPEstimator
Codes and outputs:
This causes
ValueError
.Environment