www.pudn.com > neuroocr_src.zip > ISupervisedLearning.cs


// AForge Neural Net Library 
// 
// Copyright © Andrew Kirillov, 2005 
// andrew.kirillov@gmail.com 
// 
 
namespace AForge.NeuralNet.Learning 
{ 
	using System; 
 
	///  
	/// SupervisedLearning interface 
	///  
	public interface ISupervisedLearning 
	{ 
		///  
		/// Is converged property 
		///  
		bool IsConverged{get;} 
 
		///  
		/// Perform one learning iteration and return network error 
		///  
		float Learn(float[] input, float[] output); 
 
		///  
		/// Perform learning epoch and return errors sum 
		///  
		float LearnEpoch(float[][] input, float[][] output); 
	} 
}