Global method for learning an integrated temperature prediction model in a slab reheating furnace