validate_predictions: Assert that model predictions are sensible

Description Usage Arguments Value

View source: R/validate-predictions.R

Description

This function tests that model predictions make sense. It is intended to be run after new data has been scored, but before it has been submitted. We might ensure that outputs are sensible, within an expected range, or do not contain sensitive data. Failed assertions will raise an error. Upon success, the md5 hash of the predictions will be returned.

Usage

1
validate_predictions(predictions)

Arguments

predictions

A vector of model predictions

Value

The MD5 hash of the predictions


mdneuzerling/DrakeModelling documentation built on June 26, 2020, 1:25 p.m.