/// <summary>
        /// Fires at the end of each iteration of the Bayes point machine classifier training algorithm.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="iterationChangedEventArgs">The information describing the change in iterations.</param>
        private void OnIterationChanged(object sender, BayesPointMachineClassifierIterationChangedEventArgs iterationChangedEventArgs)
        {
            EventHandler <BayesPointMachineClassifierIterationChangedEventArgs> handler = this.IterationChanged;

            if (handler != null)
            {
                handler(this, iterationChangedEventArgs);
            }
        }
예제 #2
0
 /// <summary>
 /// Fires at the end of each iteration of the Bayes point machine classifier training algorithm.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="iterationChangedEventArgs">The information describing the change in iterations.</param>
 private void OnIterationChanged(object sender, BayesPointMachineClassifierIterationChangedEventArgs iterationChangedEventArgs)
 {
     this.IterationChanged?.Invoke(this, iterationChangedEventArgs);
 }