コード例 #1
0
ファイル: LearningEpoch.cs プロジェクト: nagyistoce/Neuroflow
 public LearningEpoch(LearningScriptBatchExecution learningExecution, LearningScriptBatcher batcher)
 {
     Contract.Requires(learningExecution != null);
     Contract.Requires(batcher != null);
     
     LearningExecution = learningExecution;
     Batcher = batcher;
     CreateResults();
 }
コード例 #2
0
ファイル: LearningEpoch.cs プロジェクト: nagyistoce/Neuroflow
        public LearningEpoch(LearningScriptBatchExecution learningExecution, LearningScriptBatcher batcher, LearningScriptBatcher validationBatcher, int validationFrequency = 10)
        {
            Contract.Requires(learningExecution != null);
            Contract.Requires(batcher != null);
            Contract.Requires(validationBatcher != null);
            Contract.Requires(validationFrequency > 0);
            Contract.Requires(batcher != validationBatcher);

            LearningExecution = learningExecution;
            Batcher = batcher;
            ValidationFrequency = validationFrequency;
            ValidationBatcher = validationBatcher;
            CreateResults();
        }