predict_dt function

Performs inference over a test dataset with a GBN