public void SimpleNetworkProcessingTest() { // just to see whether everything is going ok - basic implementation check var config = this.CreateSimpleTestConfiguration(); var network = new Simple2layerNetwork(config.InputSize, config.HiddenLayerSize, config.OutputSize, config.ActivationParameter); var output = network.GetNetworkOutput(config.TrainingSet[0].Item1); }
public void SimpleLearningTest() { var config = this.CreateSimpleTestConfiguration(); var network = new Simple2layerNetwork(config.InputSize, config.HiddenLayerSize, config.OutputSize, config.ActivationParameter); var learningParam = 1.0; int numLearningCycles = 50; RunNetworkTraining(network, config, learningParam, numLearningCycles); }