/// <summary> /// Loads a model. /// </summary> public static IPredictor LoadModel(TlcEnvironment env, string inputModelFile) { IPredictor inputPredictor = null; using (var ch = env.Start("LoadModel")) TrainUtils.TryLoadPredictor(ch, env, inputModelFile, out inputPredictor); return(inputPredictor); }