greyshaman / runen

Experimental Rust implementation of Neural Network library
MIT License
0 stars 0 forks source link

Add read/write configuration of neurons and networks: use serde. #19

Open greyshaman opened 1 week ago

greyshaman commented 1 week ago

Problem: It is time-consuming and inconvenient to manually configure a network.

Solution: We need a way to generate configuration data and upload it to a network, which would then create a structure based on the configuration and store the resulting structure as configuration data.

greyshaman commented 2 days ago

At the moment, there is a method for configuring neuron inputs, but there is no way to serialize the configuration of connections between neurons.

The connection of neurons is the responsibility of the network, so we need to include the configuration of neuron inputs in the network configuration. As a result, the network configuration should include:

  1. The inputs and outputs of the network (number of ports)
  2. A list of neurons with their identification in the context of the configuration
  3. For each neuron, the configuration of its inputs (synapses and dendrites), and the connections between neurons should be specified.
  4. Connections of neurons from the extreme layers to input and output ports should be determined.