}//trainer end #endregion #region PUBLIC /// <summary> /// Run NBN train and its test /// </summary> /// <param name="trials">int - number of learning trials</param> /// <param name="version">VersionNBN - version of nbn algorithm</param> /// <returns>LearnResult</returns> public LearnResult Run(int trials = 1, VersionNBN version = VersionNBN.First) { switch (version) { case VersionNBN.First: { return(RunFirstVersion(trials)); } default: throw new NotImplementedException("Nie ma takiej funkcjonalnoĆci jeszcze zaimplementowanej."); } }
/// <summary> /// Run NBN train and its test /// </summary> /// <param name="trials">int - number of learning trials</param> /// <param name="version">VersionNBN - version of nbn algorithm</param> /// <returns>LearnResult</returns> public LearnResult Run(int trials = 1, VersionNBN version = VersionNBN.First) { switch (version) { case VersionNBN.First: { return RunFirstVersion(trials); } default: throw new NotImplementedException("Nie ma takiej funkcjonalnoĆci jeszcze zaimplementowanej."); } }