- %数据标准化处理
- %未标准化的建模数据集
- mg_data=[0.093094 -0.57393 -0.87823 -0.52121 -0.06666 2.3245;
- -0.32246 0.94733 -0.87823 -0.68983 0.62931 -0.60889;
- -0.32246 -0.32039 -0.52929 -0.35258 -0.41465 -0.47555;
- 2.5864 -0.32039 -1.2272 -1.0271 -0.67564 -0.34221;
- 0.093094 0.94733 0.86645 -0.35258 -0.41465 -0.74222;
- -0.53023 -0.066843 -1.2272 -0.68983 -0.50164 -0.60889;
- -0.32246 0.69379 -0.52929 -0.18396 0.19433 -0.47555;
- -0.11468 0.69379 0.16858 -0.52121 -1.2846 -1.4089;
- -0.53023 -0.82747 0.16858 -0.85846 0.45532 -0.47555;
- -0.73801 -0.066843 0.16858 -0.01533 0.020337 -0.47555;
- -0.53023 0.94733 0.16858 -1.0271 -0.50164 -0.20887;
- -0.53023 0.69379 -0.52929 -0.68983 0.36832 -0.74222;
- -0.11468 0.94733 0.16858 -0.35258 -0.50164 -0.47555;
- -0.73801 0.94733 0.16858 -0.35258 -0.84963 -0.87556;
- -0.53023 0.94733 -1.925 -1.1957 -1.3716 -3.009;
- -0.73801 0.69379 -0.87823 -0.68983 -0.41465 -2.7423;
- -0.32246 -1.8416 -0.87823 -0.85846 -0.50164 2.1912;
- 2.7942 -0.57393 -1.5761 -0.35258 -1.0236 -1.1422;
- 0.92419 -0.32039 -1.925 -1.3643 -0.84963 -1.4089;
- 0.093094 -0.57393 -0.87823 -1.533 -1.1976 -1.2756;
- -0.53023 0.44024 -0.87823 -0.68983 -0.67564 -1.0089;
- 0.30087 0.1867 0.51751 -0.85846 -0.76263 0.45782;
- -0.73801 0.94733 0.86645 -0.52121 -1.0236 0.45782;
- 0.30087 0.69379 0.51751 -1.1957 -1.0236 0.99117;
- -0.73801 -0.066843 0.16858 -0.52121 -0.58864 1.1245;
- -0.53023 1.2009 0.16858 -1.0271 -0.84963 0.32448;
- -0.94578 0.1867 0.86645 -1.0271 -1.1976 0.45782;
- -0.11468 0.1867 0.16858 -0.01533 -0.50164 0.99117;
- -0.32246 1.2009 -0.18036 -1.1957 -1.5456 -0.47555;
- -0.11468 0.44024 -0.18036 -1.7016 -1.4586 -0.075535;
- -0.32246 -0.32039 -1.2272 -0.52121 -1.1976 -0.34221;
- -0.53023 0.69379 0.86645 -0.85846 -0.84963 0.99117;
- -0.94578 1.4544 0.86645 -1.533 -1.1976 -0.20887;
- 0.30087 0.1867 0.16858 -1.0271 -1.3716 0.59115;
- -0.73801 0.1867 -0.52929 -0.68983 -0.84963 0.45782;
- -0.53023 1.2009 0.86645 -0.01533 -0.84963 -1.2756;
- -0.11468 0.94733 1.9133 -0.52121 -1.5456 0.72449;
- -0.73801 1.708 0.86645 -0.68983 -1.0236 -0.74222;
- -0.53023 0.1867 -1.2272 -0.68983 -0.41465 0.32448;
- -0.53023 0.69379 0.86645 -0.68983 -0.67564 -0.20887;
- -0.94578 1.4544 -0.18036 -1.7016 -0.84963 -0.075535;
- -0.94578 0.69379 1.5643 -0.68983 0.10733 1.3912;
- -0.94578 -1.081 0.86645 -0.52121 -0.41465 0.59115;
- -0.94578 0.94733 0.86645 -0.35258 -0.76263 -0.60889;
- 3.0019 0.69379 -1.5761 0.32192 0.45532 -0.34221;
- 1.9631 0.1867 -0.87823 -0.35258 -0.32765 1.2578;
- -0.73801 0.44024 1.9133 2.0082 1.4123 0.057803;
- 3.6253 0.1867 -1.5761 1.1651 0.19433 -1.1422;
- 4.0408 -1.3346 -1.925 -0.01533 -0.50164 -0.075535;
- 0.92419 0.1867 0.16858 -0.01533 0.19433 -0.47555;
- -0.94578 -0.066843 -0.52929 0.99643 1.5863 2.1912;
- -0.53023 0.1867 -0.87823 -0.68983 -0.32765 -1.1422;
- -0.94578 -0.57393 -0.87823 2.0082 2.1083 0.45782;
- -0.32246 -0.57393 -0.87823 2.3454 2.1083 0.99117;
- -0.94578 -1.3346 0.86645 2.8513 2.4562 -0.34221;
- -0.73801 -1.8416 -0.52929 2.3454 2.2822 0.21485;
- 0.92419 1.2009 0.86645 0.49055 0.71631 -0.87556;
- 1.5475 -0.82747 -0.18036 0.99643 -0.15366 0.057803;
- -0.53023 -1.5881 -1.5761 2.0082 1.9343 -0.075535;
- -0.11468 -1.3346 -0.52929 2.5141 1.2383 0.85783;
- -0.73801 -0.066843 0.86645 0.99643 1.3253 -0.60889;
- 1.5475 -0.066843 0.16858 0.65918 0.71631 -0.74222;
- -0.94578 0.44024 1.5643 0.99643 1.2383 2.1912;
- 0.30087 0.94733 1.9133 -1.0271 -0.15366 0.99117;
- -0.11468 -0.066843 0.86645 -0.01533 0.020337 -0.47555;
- 2.1708 1.2009 -0.18036 -0.85846 -0.76263 -0.87556;
- 2.7942 -1.5881 1.2154 1.3337 0.8903 0.32448;
- 0.92419 0.1867 -0.52929 -0.35258 -0.32765 -1.4089;
- 1.3397 -2.6023 0.16858 1.3337 1.2383 -0.075535;
- -0.11468 -1.3346 -1.5761 2.5141 1.5863 -0.34221;
- -0.32246 -0.57393 -2.6229 -0.68983 -0.50164 -0.87556;
- 0.71642 -0.32039 0.16858 0.65918 2.1083 0.45782;
- 0.92419 -0.57393 -0.18036 -0.35258 -0.41465 -0.34221;
- 0.50864 -1.3346 -0.52929 1.3337 1.5863 -0.60889;
- -0.11468 -1.8416 0.51751 1.3337 1.5863 -0.09035;
- -0.73801 -1.8416 -0.18036 -0.35258 -0.50164 1.3912;
- 0.50864 -0.57393 -0.18036 0.1533 0.020337 0.99117;
- 1.5475 -2.6023 -0.87823 -0.01533 0.36832 0.99117;
- 1.3397 -0.32039 -0.52929 1.3337 2.2822 -0.20887;
- 0.093094 -1.3346 -1.5761 1.6709 2.1083 0.85783;
- 0.093094 0.69379 0.86645 0.1533 0.71631 -1.4089;
- 0.92419 -0.82747 0.16858 0.32192 0.10733 -0.20887;
- -0.11468 -0.57393 0.86645 0.8278 1.0643 -0.20887;
- 0.71642 -0.57393 -0.52929 1.6709 1.4123 -0.20887;
- 0.093094 0.1867 -1.2272 1.3337 2.0213 -0.74222;
- -0.94578 -1.3346 1.2154 -0.01533 -0.84963 -0.74222;
- -0.73801 -0.066843 0.86645 0.65918 0.71631 -1.1422;
- -0.32246 -1.3346 0.51751 0.32192 0.71631 -0.20887;
- 0.50864 -1.8416 -1.2272 0.99643 2.1083 0.59115;
- -0.53023 -0.82747 0.16858 0.32192 1.7603 0.19114;
- -0.73801 0.69379 1.2154 0.32192 -0.15366 -2.2089;
- -0.94578 0.69379 0.86645 1.3337 1.4123 -1.8089;
- -0.32246 -0.32039 2.9601 -0.18396 0.36832 -1.2459;
- -0.53023 0.69379 2.2622 -0.18396 -0.41465 -0.87556;
- -0.73801 -0.82747 0.51751 0.65918 0.36832 0.19114;
- 0.92419 -0.57393 0.16858 -0.52121 -0.15366 -0.47555;
- 3.4175 -0.32039 -0.52929 -0.52121 -0.32765 -0.47555;
- -0.94578 0.44024 1.5643 0.65918 0.45532 -1.1422;
- -0.53023 0.44024 0.51751 0.32192 -0.41465 -1.4089;
- -0.11468 0.1867 1.2154 0.65918 0.020337 -2.3423;
- 0.30087 0.69379 0.16858 -0.35258 0.54232 0.99117;
- -0.73801 -0.066843 0.16858 -0.35258 0.19433 0.32448;
- 0.30087 1.2009 1.5643 0.8278 0.54232 -0.34221;
- -0.73801 0.94733 1.2154 -0.01533 -0.15366 -1.8089;
- -0.53023 0.69379 1.2154 0.99643 0.45532 0.99117;
- -0.53023 0.94733 0.86645 0.32192 1.0643 -0.74222;
- 0.093094 0.1867 1.2154 -0.01533 -0.32765 1.2578;
- 0.71642 -0.066843 0.16858 -0.52121 -0.06666 0.45782;
- -0.53023 -0.066843 1.2154 -0.01533 -0.58864 0.45782;
- -0.32246 -0.32039 0.16858 0.49055 -0.06666 -0.74222;
- 0.92419 -0.32039 -0.18036 -0.35258 -0.32765 0.057803;
- -0.73801 -0.32039 0.16858 -0.35258 -0.58864 -0.20887;
- 0.093094 -0.82747 0.16858 2.0082 1.2383 1.3912;
- -0.73801 -1.8416 0.16858 0.8278 0.8903 0.59115;
- -0.73801 -2.3487 -2.6229 0.65918 0.54232 0.19114;
- -0.32246 -1.8416 -1.2272 1.1651 1.0643 1.2578;
- 0.093094 -0.82747 -1.5761 0.99643 1.2383 0.32448;
- 1.9631 -2.0952 -0.52929 2.1768 1.4123 0.99117;
- 0.92419 -0.066843 -1.5761 1.1651 0.8903 -0.34221;
- 0.50864 -0.57393 -1.5761 0.49055 1.2383 1.1245;
- 0.92419 -1.081 -1.2272 0.1533 -0.84963 0.19114;
- -0.73801 0.1867 1.2154 0.99643 0.71631 0.99117;
- -0.11468 -0.82747 1.5643 1.3337 0.36832 0.45782;
- -0.32246 -1.5881 0.51751 2.3454 1.7603 0.1911];
- Xmax=max(mg_data);
- Xmin=min(mg_data);
- e1=ones(124,1);e2=ones(124,6);
- %建模数据集m_data[]
- m_data=0.9*e2-0.8*(e1*Xmax-mg_data)/(e1*(Xmax-Xmin));
- %测试数据集t_data[]