MATLAB做bp
其实是这样,我要用这五个指标作为输入,输出为一个0或者1的数。总共50个样本,我该怎么写matlab程序?因为这个输出有点特殊,输入指标要不要归一化处理?各函数又用什么比...
其实是这样,我要用这五个指标作为输入,输出为一个0或者1的数。总共50个样本,我该怎么写matlab程序?因为这个输出有点特殊,输入指标要不要归一化处理?各函数又用什么比较好,希望有能力的人给予指教,谢谢了!
公司代码 希望输出 X1 X2 X3 X4 X5
600173 1 0.77340 -0.1697 0.11970 0.04360 1.05190
600198 1 0.95160 0.02400 0.17240 0.07780 1.02460
600800 1 0.83780 0.05390 0.07750 0.00820 1.02670
600705 1 0.49810 -0.1107 -0.0396 -0.0174 0.96850
600223 1 0.52080 0.01080 0.13770 0.08240 1.11980
000007 1 0.24530 -0.7874 0.20790 0.02600 1.08440
600503 1 1.00750 -1.0603 0.27820 0.03420 0.92490
600722 1 0.54760 0.02570 0.07600 0.04840 1.11690
000100 1 0.99850 0.00720 -0.0326 -0.0563 1.10640
600609 1 0.53760 -0.3368 -0.0134 -0.0030 1.11060
600753 1 0.54400 0.02000 0.03050 0.00380 1.03730
600155 1 0.64530 0.03510 0.09710 0.08190 1.15000
600706 1 0.61740 0.26950 -0.1372 -0.0422 1.14220
000673 1 2.36370 0.05350 -0.0892 -0.0317 0.95020
000738 1 0.97850 -0.4369 -0.1642 -0.0585 0.95540
000928 1 0.63550 -0.1741 0.05060 0.01880 1.01940
600891 1 0.37630 0.06110 1.67350 0.13320 1.17090
600209 1 0.76390 -0.0686 0.20280 0.04090 1.05860
600516 1 0.86720 -0.1295 -0.0455 -0.0168 1.02800
600657 1 0.74570 -0.2685 -0.1230 -0.0527 0.96370
600386 1 0.37850 0.02490 0.16670 0.11580 1.20720
600862 1 0.59220 0.04720 -0.0641 -0.0431 0.99070
000509 1 0.54010 -0.1134 -0.1030 -0.0283 0.88860
600671 1 1.87030 0.05380 0.00650 0.00380 1.02990
600735 1 0.38260 0.02420 0.08070 0.04350 0.96440
000779 1 0.83520 -0.6655 -0.1763 -0.0820 1.12660
600645 1 0.74720 -0.1904 0.20540 0.09670 1.14270
000692 1 0.79580 0.02390 0.22440 0.06320 1.24710
600381 1 1.05820 0.10820 0.03420 0.02340 1.33020
000691 1 0.53650 -0.5348 0.36840 0.02630 1.13300
600716 1 0.37900 0.09610 0.25770 0.16950 1.25560
600854 1 1.72020 0.00520 0.05440 0.03840 1.05220
600734 1 0.82980 -0.1160 -0.1489 -0.1221 0.93090
000506 1 0.54400 -0.1826 0.10990 0.02520 1.04210
600579 1 0.59540 0.04600 -0.1191 -0.0369 1.07150
000735 1 1.04530 0.02560 0.22310 0.05210 0.92640
600052 1 0.41440 0.10700 -0.0165 -0.0020 1.25980
600699 1 0.63300 0.08870 0.12570 0.03650 1.26780
600213 1 0.69240 -0.0844 -0.0601 -0.0387 1.01150
000716 1 0.62600 0.07670 0.15540 0.05270 1.16670
600076 1 0.41270 -0.7656 -0.2874 -0.0492 0.95990
000920 1 0.83880 -0.0110 -0.1229 -0.0634 1.40560
600225 1 0.92720 -0.0748 0.12230 0.03210 1.00310
000545 1 0.76960 0.09070 0.06210 0.02300 1.10760
600217 1 0.58280 0.11090 0.13070 0.04960 1.19360
600599 1 1.97680 0.02750 0.08360 0.05760 1.01850
000965 1 1.27410 0.04940 0.08680 0.02960 1.10950
600080 1 0.90180 0.01290 0.09860 0.04720 1.11990
600207 1 1.03570 0.17560 0.09580 0.06950 1.24710 展开
公司代码 希望输出 X1 X2 X3 X4 X5
600173 1 0.77340 -0.1697 0.11970 0.04360 1.05190
600198 1 0.95160 0.02400 0.17240 0.07780 1.02460
600800 1 0.83780 0.05390 0.07750 0.00820 1.02670
600705 1 0.49810 -0.1107 -0.0396 -0.0174 0.96850
600223 1 0.52080 0.01080 0.13770 0.08240 1.11980
000007 1 0.24530 -0.7874 0.20790 0.02600 1.08440
600503 1 1.00750 -1.0603 0.27820 0.03420 0.92490
600722 1 0.54760 0.02570 0.07600 0.04840 1.11690
000100 1 0.99850 0.00720 -0.0326 -0.0563 1.10640
600609 1 0.53760 -0.3368 -0.0134 -0.0030 1.11060
600753 1 0.54400 0.02000 0.03050 0.00380 1.03730
600155 1 0.64530 0.03510 0.09710 0.08190 1.15000
600706 1 0.61740 0.26950 -0.1372 -0.0422 1.14220
000673 1 2.36370 0.05350 -0.0892 -0.0317 0.95020
000738 1 0.97850 -0.4369 -0.1642 -0.0585 0.95540
000928 1 0.63550 -0.1741 0.05060 0.01880 1.01940
600891 1 0.37630 0.06110 1.67350 0.13320 1.17090
600209 1 0.76390 -0.0686 0.20280 0.04090 1.05860
600516 1 0.86720 -0.1295 -0.0455 -0.0168 1.02800
600657 1 0.74570 -0.2685 -0.1230 -0.0527 0.96370
600386 1 0.37850 0.02490 0.16670 0.11580 1.20720
600862 1 0.59220 0.04720 -0.0641 -0.0431 0.99070
000509 1 0.54010 -0.1134 -0.1030 -0.0283 0.88860
600671 1 1.87030 0.05380 0.00650 0.00380 1.02990
600735 1 0.38260 0.02420 0.08070 0.04350 0.96440
000779 1 0.83520 -0.6655 -0.1763 -0.0820 1.12660
600645 1 0.74720 -0.1904 0.20540 0.09670 1.14270
000692 1 0.79580 0.02390 0.22440 0.06320 1.24710
600381 1 1.05820 0.10820 0.03420 0.02340 1.33020
000691 1 0.53650 -0.5348 0.36840 0.02630 1.13300
600716 1 0.37900 0.09610 0.25770 0.16950 1.25560
600854 1 1.72020 0.00520 0.05440 0.03840 1.05220
600734 1 0.82980 -0.1160 -0.1489 -0.1221 0.93090
000506 1 0.54400 -0.1826 0.10990 0.02520 1.04210
600579 1 0.59540 0.04600 -0.1191 -0.0369 1.07150
000735 1 1.04530 0.02560 0.22310 0.05210 0.92640
600052 1 0.41440 0.10700 -0.0165 -0.0020 1.25980
600699 1 0.63300 0.08870 0.12570 0.03650 1.26780
600213 1 0.69240 -0.0844 -0.0601 -0.0387 1.01150
000716 1 0.62600 0.07670 0.15540 0.05270 1.16670
600076 1 0.41270 -0.7656 -0.2874 -0.0492 0.95990
000920 1 0.83880 -0.0110 -0.1229 -0.0634 1.40560
600225 1 0.92720 -0.0748 0.12230 0.03210 1.00310
000545 1 0.76960 0.09070 0.06210 0.02300 1.10760
600217 1 0.58280 0.11090 0.13070 0.04960 1.19360
600599 1 1.97680 0.02750 0.08360 0.05760 1.01850
000965 1 1.27410 0.04940 0.08680 0.02960 1.10950
600080 1 0.90180 0.01290 0.09860 0.04720 1.11990
600207 1 1.03570 0.17560 0.09580 0.06950 1.24710 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询