public override void Save(string path) { if (TrainedModel == null) { throw new InvalidOperationException("Must train/load a model before saving"); } TrainedModel.Save(path); }
public override void Save(string path) { if (TrainedModel == null) { throw new Exception("Must initialize the model before calling"); } TrainedModel.Save(path); }