Effective Prior Selection and Knowledge Transfer for Deep Learning Applications