/// <summary> /// Handling double-vector data /// </summary> /// <param name="data"></param> /// <returns>Vector-classes</returns> public double[] Handle(double[] data) { if (_networkTeacher == null) { Logger.LogError(ErrorType.TrainError, "Training failed! Please, create the Network first!"); return(null); } try { return(_networkTeacher.Handle(data)); } catch { return(null); } }
public double[] Handle(string imageFilename) { return(_networkTeacher.Handle(imageFilename)); }