• 大小: 4KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: 其他
  • 标签: rbf  pso  

资源简介

本程序利用当前流行的pso算法对rbf神经网络进行优化,使之预测精度高

资源截图

代码片段和文件信息

%%RBF_cluster   Algorithm

clear  all
close all
clc

format long


global  p   aim   center   w2   b1  b2   sc

%%  导入数据
p1=[0 0 0 0 0 0
    0.0001 0.0005 0 0.0101 0.0674 0.0008
    0.0002 0.0016 0 0.0156 0.1051 0.0008
    0.0006 0.0039 0 0.017 0.1189 -0.0012
    0.0009 0.0061 -0.0001 0.0119 0.094 -0.0058
    0.001 0.0079 -0.0004 -0.0014 0.0239 -0.0157
    0.0006 0.007 -0.0012 -0.0195 -0.071 -0.0299
    -0.0005 0.0024 -0.0027 -0.0327 -0.1391 -0.0426
    -0.002 -0.004 -0.0047 -0.0349 -0.1528 -0.0476
    -0.0035 -0.0107 -0.0069 -0.0258 -0.1178 -0.0434
    -0.0044 -0.0153 -0.0089 -0.0085 -0.0551 -0.0302
    -0.0043 -0.0167 -0.0102 0.0115 0.006 -0.0118
    -0.0031 -0.0152 -0.0104 0.027 0.0384 0.0039
    -0.0012 -0.0126 -0.0098 0.037 0.046 0.0144
    0.0013 -0.0099 -0.0087 0.0433 0.0411 0.0201
    0.004 -0.0077 -0.0075 0.0474 0.0336 0.0224
    0.007 -0.0058 -0.0061 0.0505 0.0281 0.0228
    0.01004 -0.0042 -0.0047 0.0529 0.0249 0.0223
    0.0133 -0.0028 -0.0034 0.0546 0.023 0.0214
    0.0166 -0.0015 -0.0022 0.0554 0.0211 0.02
    0.0199 -0.0003 -0.0010 0.0555 0.019 0.0183
    0.0232 0.0009 0 0.0548 0.0165 0.0164
    0.0265 0.0017 0.0009 0.0535 0.0139 0.0144
    0.0296 0.0025 0.0017 0.0518 0.0115 0.0124
    0.0327 0.0031 0.0024 0.0497 0.0093 0.0104
    0.0356 0.0036 0.003 0.0473 0.0073 0.0085
    0.0383 0.004 0.0034 0.0447 0.0056 0.0068
    0.0409 0.0043 0.0038 0.042 0.004 0.0052
    0.0434 0.0045 0.0041 0.0391 0.0026 0.0038
    0.0456 0.0046 0.0043 0.0362 0.0014 0.0025
    0.0477 0.0046 0.0044 0.0333 0.0003 0.0013
    0.0496 0.0046 0.0044 0.0304 -0.0006 0.0003
    0.0514 0.0046 0.0044 0.0275 -0.0014 -0.0006
    0.0529 0.0045 0.0043 0.0247 -0.0021 -0.0014
    0.0543 0.0043 0.0042 0.0221 -0.0027 -0.002
    0.0556 0.0041 0.0041 0.0195 -0.0031 -0.0025
    0.0567 0.0039 0.0039 0.0171 -0.0034 -0.003
    0.0576 0.0037 0.0038 0.0148 -0.0037 -0.0033
    0.0585 0.0035 0.0036 0.0127 -0.0039 -0.0035
    0.0592 0.0033 0.0033 0.0107 -0.004 -0.0037
    0.0597 0.003 0.00311 0.0089 -0.004 -0.0038
    0.0602 0.0028 0.0029 0.0072 -0.004 -0.0039
    0.0606 0.0025 0.0026 0.0057 -0.004 -0.0039;
    0.0609 0.0023 0.0024 0.0043 -0.0039 -0.0038
    0.0611 0.0021 0.0022 0.003 -0.0038 -0.0037
    0.0613 0.0018 0.002 0.0019 -0.0036 -0.0036
    0.0614 0.0016 0.0018 0.001 -0.0034 -0.0035
    0.0614 0.0014 0.0016 0.0001 -0.0033 -0.0033
    0.0613 0.0011 0.0012 -0.0012 -0.0029 -0.0029
    0.0612 0.0009 0.001 -0.0017 -0.0026 -0.0027
    0.0611 0.0007 0.0009 -0.0022 -0.0024 -0.0025
    0.061 0.0006 0.0007 -0.0025 -0.0022 -0.0023
    0.061 0.0005 0.0006 -0.0028 -0.002 -0.002
    0.061 0.0004 0.0005 -0.003 -0.0018 -0.0019
    0.061 0.0003 0.0004 -0.003 -0.0017 -0.0018]‘;
                 
                                          
  aim1=[ 0.000000000000011;0.394718455733434;0.724576051030752;1.1089141848001;1.363491643687506;
        1.506343007749198;1.431505989916112;1.185701063943196;0.92469418634255;0.722336431553

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        379  2009-07-21 22:36  PSO_base_RBF\LS.m

     文件       2177  2009-07-21 22:36  PSO_base_RBF\main.m

     文件        368  2009-07-21 22:33  PSO_base_RBF\obf_pso.m

     文件       4524  2009-07-21 23:10  PSO_base_RBF\GetCenterandWidthofRBF.m

     文件        261  2009-07-20 21:52  PSO_base_RBF\guiyi.m

     目录          0  2009-09-21 23:21  PSO_base_RBF

----------- ---------  ---------- -----  ----

                 7709                    6


评论

共有 条评论