remove_invalid: Remove invalid predicted probabilities for scoring

Description Usage Arguments Value See Also Examples

View source: R/remove_invalid.R

Description

Sets invalid predictied probabilities (i.e. those summing to > 1.1 or < 0.9) to zero. This function should be run prior to scoring an entry to ensure no invalid probabilities are scored.

Usage

1

Arguments

entry

An entry data.frame with columns location, target, type, unit, bin_start_incl, bin_end_incl, and value.

Value

An entry data.frame with invalid probabilities all set to zero.

See Also

verify_entry score_entry

Examples

1
valid_entry <- remove_invald(full_entry)

jarad/FluSight documentation built on Oct. 24, 2020, 9:58 p.m.