Open neuron network with extensible architecture and status logging.
- Network type is Feedforward
- Use sygmoid activation function
- Use backpropagation type for training
- Start Neuron newtwork parameters define in App.config
- Start synapses values are random number. Values range define in App.config.
First layer is ONLY input neurons
Last layer is ONLY output neurons
In other case neuron network result will be uncorrect or network will be crash.
Parameter | type |
---|---|
SPEED | double value |
MOMENT | double value |
INPUT_NEURONS_COUNT | integer value |
HIDDEN_LAYER_COUNT | integer value |
HIDDEN_NEURONS_ON_LAYERS_COUNT | string with format "1,2,3" |
OUT_NEURONS_COUNT | integer value |
USAGE_BIAS | bool value "true" or "false" |
MAX_SYNAPS_WEIGHT | double value |
MIN_SYNAPS_WEIGHT | double value |
private void MainActivity_Load(object sender, EventArgs e)
{
/**
* Use sample
* */
NetworkInfo info = new NetworkInfo(NetworkInfo.CONSOLE_OUTPUT);
NeuronNetwork network = new NeuronNetwork();
info.displayInfo(info.getCurrentNetworkState(network));
TrainingController controller = new TrainingController();
controller.trainNetwork(ref network, new string[] { "trainingSet.txt" });
double[] rez = network.execute(new double[] { 0, 0 });
info.displayInfo(info.getCurrentNetworkState(network));
}
@lindlind and @vovaksenov99