protected void OnPredictionDone(PredictionDoneEventArgs e) { if (PredictionDone != null) { PredictionDone(this, e); } }
private void learning_LearningDone(object sender, LearningDoneEventArgs e) { PredictionDoneEventArgs pd = new PredictionDoneEventArgs(); if (e.Prediction == 1) { pd.Media = e.Media; } OnPredictionDone(pd); }