Inputs refinement with incremental learning for accurate digital twin of optical networks