コード例 #1
0
 public Trainer(
     TrainerConfiguration configuration,
     SkipPhaseRequest skipPhaseRequest,
     IGuiLogger guiLogger)
 {
     NeuralNetwork     = CreateNetworkToTeach(configuration);
     _configuration    = configuration;
     _skipPhaseRequest = skipPhaseRequest;
     GuiLogger         = guiLogger;
 }
コード例 #2
0
 public LearningFacade(
     DataProviderConfiguration dataProviderConfiguration,
     GlobalTrainerConfiguration globalTrainerConfiguration,
     SkipPhaseRequest skipPhaseRequest,
     IGuiLogger guiLogger)
 {
     _guiLogger    = guiLogger;
     _dataProvider = new DataProvider(dataProviderConfiguration, globalTrainerConfiguration);
     _globalTrainerConfiguration = globalTrainerConfiguration;
     _skipPhaseRequest           = skipPhaseRequest;
 }