The loaded model instance, or None if the file does not exist.
Examples
>>>import tempfile>>>from spotforecast2_safe.manager.trainer import load_iteration>>>with tempfile.TemporaryDirectory() as tmpdir:... result = load_iteration("lgbm", 99, model_dir=tmpdir)... result isNoneTrue