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

상속: ITrainer
파일 보기 프로젝트 열기: ikhramts/NNX

공개 메소드들

메소드 설명
GetAccuracy ( INeuralNetwork nn, IList testSet ) : double
GetBatch ( IList set, int size, IRandomGenerator rand ) : IList
GetError ( INeuralNetwork nn, IList testSet ) : double
GetValidationSetFraction ( ) : double
InitializeWeights ( INeuralNetwork nn, IRandomGenerator rand ) : void
Train ( IList trainingSet, IList validationSet, IRandomGenerator rand, INeuralNetwork nn ) : void
Train ( IList trainingSet, INeuralNetwork nn ) : void
Validate ( ) : void

메소드 상세

GetAccuracy() 공개 정적인 메소드

public static GetAccuracy ( INeuralNetwork nn, IList testSet ) : double
nn INeuralNetwork
testSet IList
리턴 double

GetBatch() 공개 정적인 메소드

public static GetBatch ( IList set, int size, IRandomGenerator rand ) : IList
set IList
size int
rand IRandomGenerator
리턴 IList

GetError() 공개 정적인 메소드

public static GetError ( INeuralNetwork nn, IList testSet ) : double
nn INeuralNetwork
testSet IList
리턴 double

GetValidationSetFraction() 공개 추상적인 메소드

public abstract GetValidationSetFraction ( ) : double
리턴 double

InitializeWeights() 공개 정적인 메소드

public static InitializeWeights ( INeuralNetwork nn, IRandomGenerator rand ) : void
nn INeuralNetwork
rand IRandomGenerator
리턴 void

Train() 공개 추상적인 메소드

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

Train() 공개 메소드

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

Validate() 공개 추상적인 메소드

public abstract Validate ( ) : void
리턴 void