pretrain DBN