如何在matlab中创建一个具有一层感知器神经元隐藏层和一层径向基神经元隐藏层的神经网络?
How to create a neural network with one hidden layer of perceptron neurons and one hidden layer of radial basis neurons in matlab?
-- 大家好,
我需要在 matlab 中使用前馈网络创建一个包含一个感知器神经元隐藏层和一个径向基神经元隐藏层的神经网络。
我知道我可以改变层的传递函数,使一层具有双曲正切传递函数,另一层具有径向基传递函数。
net2.layers{1}.transferFcn = 'tansig';
net2.layers{2}.transferFcn = 'radbas';
但是,改变径向基的传递函数,不要让神经元成为径向基神经元。就像在 matlab 文档中说的那样:"Notice that the expression for the net input of a radbas neuron is different from that of other neurons. Here the net input to the radbas transfer function is the vector distance between its weight vector w and the input vector p".
即使使用 radbas 传递函数(在前馈网络中),层的输入也有一个总和而不是一个乘积,就像在径向基神经元中一样(看图片)。
enter image description here
拜托,有人知道如何帮助我吗?
非常感谢。
好的,假设这个结构是输入层、RBF层、经典层和输出层。培训将分为两个阶段
- RBF 神经元和簇发现的不受控制应用 Kohonen 规则
- 输出层和经典层上的受控应用错误反向传播。重要的反向传播不会应用于 RBF 神经元。
My repository。这是我的存储库,其中包含 RBF 网络的 Matlab 实现,您可以在此处找到 Kohonen 规则和用于高斯分布的启发式算法。我希望这会有所帮助。
-- 大家好,
我需要在 matlab 中使用前馈网络创建一个包含一个感知器神经元隐藏层和一个径向基神经元隐藏层的神经网络。
我知道我可以改变层的传递函数,使一层具有双曲正切传递函数,另一层具有径向基传递函数。
net2.layers{1}.transferFcn = 'tansig';
net2.layers{2}.transferFcn = 'radbas';
但是,改变径向基的传递函数,不要让神经元成为径向基神经元。就像在 matlab 文档中说的那样:"Notice that the expression for the net input of a radbas neuron is different from that of other neurons. Here the net input to the radbas transfer function is the vector distance between its weight vector w and the input vector p".
即使使用 radbas 传递函数(在前馈网络中),层的输入也有一个总和而不是一个乘积,就像在径向基神经元中一样(看图片)。
enter image description here
拜托,有人知道如何帮助我吗? 非常感谢。
好的,假设这个结构是输入层、RBF层、经典层和输出层。培训将分为两个阶段
- RBF 神经元和簇发现的不受控制应用 Kohonen 规则
- 输出层和经典层上的受控应用错误反向传播。重要的反向传播不会应用于 RBF 神经元。
My repository。这是我的存储库,其中包含 RBF 网络的 Matlab 实现,您可以在此处找到 Kohonen 规则和用于高斯分布的启发式算法。我希望这会有所帮助。