Ejemplo n.º 1
0
        public NeuralNetworkBuilder(ConnectionProperties connectionProperties, PerceptronProperties perceptronProperties, AcceptanceMatcher acceptanceMatcher)
        {
            _layerDictionary = new LayerDictionary();
            _acceptanceMatcher = acceptanceMatcher;

            _layerProperties = new LayerProperties
            {
                ConnectionProperties = connectionProperties,
                PerceptronProperties = perceptronProperties
            };
        }
Ejemplo n.º 2
0
 public Layer(LayerProperties layerProperties)
 {
     Connections = ConnectionListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.RightPerceptrons, layerProperties.ConnectionProperties);
     Perceptrons = PerceptronListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.PerceptronProperties);
 }