Skip to content

Check for amount of training data #106

Closed
@dajmcdon

Description

@dajmcdon

This is related to #36 and #53.

We should add a check_training_nobs() or some such name.

Desired behaviour:

  • Examine the recipe. At bake time, see if we have at least nobs without NAs.
  • If we don't have enough data, do something to predict() so that it outputs the right number of rows for the target as well as the right columns, but with all NA predictions. So if your frosting creates a .pred and a .pred_distn column, those would exist, but contain NAs.

A complication here is that, if everything above works, calling layer_naomit() would result in an empty epi_df. This should NOT happen.

See also #107 .

Metadata

Metadata

Assignees

Labels

P1high priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions