C# 클래스 NNX.Core.Training.UntilDoneGradientTrainer

An on-line gradient descent trainer that radnomly splits the input trainingSet into a training and validation subsets. The trainier will keep selecting a random input/target pair from the training set and applying backpropagation until cross-entropy error on the validation set does not improve after MaxEpochsWithoutImprovement. The trainer will terminate after NumEpochs even if MaxEpochsWithoutImprovement condition has not been reached.
상속: SimpleGradientTrainer
파일 보기 프로젝트 열기: ikhramts/NNX 1 사용 예제들

공개 메소드들

메소드 설명
GetValidationSetFraction ( ) : double
Train ( IList trainingSet, IList validationSet, IRandomGenerator rand, INeuralNetwork nn ) : void
Validate ( ) : void

메소드 상세

GetValidationSetFraction() 공개 메소드

public GetValidationSetFraction ( ) : double
리턴 double

Train() 공개 메소드

public Train ( IList trainingSet, IList validationSet, IRandomGenerator rand, INeuralNetwork nn ) : void
trainingSet IList
validationSet IList
rand IRandomGenerator
nn INeuralNetwork
리턴 void

Validate() 공개 메소드

public Validate ( ) : void
리턴 void