Adjust prediction function
Summary
For proper hold-out testing, it would make sense for the predict
function to be able to be given a new, unrelated dataset.
-
make option argument in predict function (another siamcat
object) -
if no hold-out data are given, perform the function at it is now -
if hold-out data are given, perform data sanity checks -
apply model on hold-out data and return predictions
Question
Should the function for the hold-out prediction return only the prediction matrix or a modified siamcat
object?
Affected functions/datasets/objects
make.predictions
/cc @zych