예제 #1
0
        public NeuralNetworkBuilder(ConnectionProperties connectionProperties, PerceptronProperties perceptronProperties, AcceptanceMatcher acceptanceMatcher)
        {
            _layerDictionary = new LayerDictionary();
            _acceptanceMatcher = acceptanceMatcher;

            _layerProperties = new LayerProperties
            {
                ConnectionProperties = connectionProperties,
                PerceptronProperties = perceptronProperties
            };
        }
예제 #2
0
파일: Layer.cs 프로젝트: Suui/NeuralNetwork
 public Layer(LayerProperties layerProperties)
 {
     Connections = ConnectionListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.RightPerceptrons, layerProperties.ConnectionProperties);
     Perceptrons = PerceptronListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.PerceptronProperties);
 }