Пример #1
0
 protected void OnPredictionDone(PredictionDoneEventArgs e)
 {
     if (PredictionDone != null)
     {
         PredictionDone(this, e);
     }
 }
Пример #2
0
        private void learning_LearningDone(object sender, LearningDoneEventArgs e)
        {
            PredictionDoneEventArgs pd = new PredictionDoneEventArgs();

            if (e.Prediction == 1)
            {
                pd.Media = e.Media;
            }

            OnPredictionDone(pd);
        }