Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用粒子群优化训练 MLP 神经网络,以便使用来自 UCI 的数据集进行分类。我正在使用 PyBrain 构建 NN 和我的自定义代码来训练网络。我的问题是,我如何选择 PSO 的 Xmax、Xmin 参数(即 NN 的权重范围)?
粒子群优化没有固有的边界概念。一种传统的方法是对退出可行区域施加惩罚。如果惩罚随着与可行区域的距离而连续增加,则惩罚将比如果存在急剧的不连续性更好。实际的神经网络权重可以使用裁剪到可行区域的值。