initialize teaching_factor