Learning Relevant Features through a Two-Phase Model of Conditioning.