add l2 constraint to BP and add a ML book in resource