Using Prior Data To Facilitate Learning And Inference In New Environments