{"id":306,"date":"2014-08-09T03:01:27","date_gmt":"2014-08-08T18:01:27","guid":{"rendered":"https:\/\/www.dogrow.net\/octave\/?p=306"},"modified":"2019-10-26T20:39:12","modified_gmt":"2019-10-26T11:39:12","slug":"blog32","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/octave\/blog32\/","title":{"rendered":"(32) \u91ce\u7403\u9078\u624b\u306e\u6210\u7e3e\u3092\u4e3b\u6210\u5206\u5206\u6790"},"content":{"rendered":"<p>octave\u3067\u4e3b\u6210\u5206\u5206\u6790\u3092\u3084\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u300c\u4e3b\u6210\u5206\u5206\u6790\u3068\u306f\uff1f\u300d\u306b\u3064\u3044\u3066\u306f\u3001\u305d\u306e\u307e\u3093\u307e\u30b0\u30b0\u308b\u3068\u89aa\u5207\u306a\u30da\u30fc\u30b8\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306f\u3068\u3066\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/www.slideshare.net\/sanoche16\/tokyor31-22291701\" target=_blank rel=\"noopener noreferrer\">\u306f\u3058\u3081\u3088\u3046\u591a\u5909\u91cf\u89e3\u6790<\/a><br \/>\n<a href=\"http:\/\/www.cfme.chiba-u.jp\/~haneishi\/class\/2009\/20091118.pdf\" target=_blank rel=\"noopener noreferrer\">\u4e3b\u6210\u5206\u5206\u6790\u306e\u9069\u7528\u4f8b<\/a><\/p>\n<h3 class=\"my_h\">\u30c6\u30fc\u30de\u306f\u91ce\u7403\u9078\u624b\u306e\u7dcf\u5408\u8a55\u4fa1<\/h3>\n<p>\u500b\u4eba\u7684\u306b\u306f\u3001\u4f55\u3067\u3082\u305d\u3064\u306a\u304f\u3053\u306a\u3059\u9078\u624b\u304c\u597d\u304d\u3067\u3059\u306e\u3067\u3001<br \/>\n\u672c\u5841\u6253\u3001\u6253\u70b9\u3001\u6253\u7387\u306a\u3069\u306e\u5358\u4e00\u9805\u76ee\u3067\u306e\u8a55\u4fa1\u3067\u306a\u304f\u3001<span class=\"my_fc_deeppinkB\">\u5404\u9805\u76ee\u3092\u8907\u5408\u3057\u305f\u9078\u624b\u80fd\u529b\u306e\u7269\u5dee\u3057<\/span>\u306b\u8208\u5473\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5165\u529b\u30c7\u30fc\u30bf\u306f\uff12\uff10\uff11\uff14\u5e74\uff18\u6708\uff18\u65e5\u306e\u30bb\u30ea\u30fc\u30b0\u6253\u8005\u6210\u7e3e\u6253\u7387\u4e0a\u4f4d\uff13\uff10\u4eba\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/bbscore_for_pca.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-310\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/bbscore_for_pca.gif\" alt=\"bbscore_for_pca\" width=\"600\" height=\"541\" \/><\/a><\/p>\n<p>\u4e3b\u6210\u5206\u5206\u6790\u306e\u5bfe\u8c61\u3068\u3059\u308b\u5909\u91cf\uff08\u6253\u8005\u6210\u7e3e\u9805\u76ee\uff09\u306f\u3001\u4ee5\u4e0b\u306e\uff11\uff14\u9805\u76ee\u3068\u3057\u307e\u3059\u3002<br \/>\n\u6253\u5e2d\u6570\u3001\u5b89\u6253\u3001\u4e8c\u5841\u6253\u3001\u4e09\u5841\u6253\u3001\u672c\u5841\u6253\u3001\u5841\u6253\u6570\u3001\u6253\u70b9\u3001\u5f97\u70b9\u3001\u4e09\u632f\u3001\u56db\u7403\u3001\u6b7b\u7403\u3001\u72a0\u6253\u3001\u72a0\u98db\u3001\u76d7\u5841<\/p>\n<h3 class=\"my_h\">octave\u3067\u4e3b\u6210\u5206\u5206\u6790\u3092\u5b9f\u884c<\/h3>\n<p>\u524d\u8ff0\u306e\u6253\u8005\u6210\u7e3e\u3092CSV\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304d\u3001\u3053\u308c\u3092octave\u3067\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<br \/>\n\u4e3b\u6210\u5206\u5206\u6790\u3067\u306foctave\u306e <span class=\"my_fc_deeppinkBBig\">statistics<\/span> \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u3053\u308c\u3082\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:1&gt; pkg load <span class=\"my_fc_deeppinkB\">statistics<\/span>\r\noctave:2&gt; X=csvread('bbscore.csv')\r\nX =\r\n   410   127    24     0    11   184    62    40    44    36     4     0     5     2\r\n   466   135    32     1    21   232    65    77    63    54     7     2     4     9\r\n   375   111    20     4    13   178    59    62    59    37     5     0     2     8\r\n   431   130    21     2     8   179    54    64    42    31     3     5     2     2\r\n   439   126    24     2     7   175    41    61    58    19     2    32     4    19\r\n   440   131     9     2     2   150    24    68    38    26     5     4     2    21\r\n   441   120    20     2     7   165    52    74    55    62     2     1     3     9\r\n   404   114    14     2    17   183    62    70    74    41     0     1     0     9\r\n   436   112    19     4    15   184    45    69    63    69     2     0     3    19\r\n   332    80     8     0    23   157    51    48    75    57     2     0     2     1\r\n   412   107    20     0    10   157    39    55    56    36     2     4     4    18\r\n   420   107    24     1    18   187    80    54   109    45     5     0     2     1\r\n   340    86    19     1    17   158    61    44    71    38     0     0     2     1\r\n   390    96    16     5     6   140    25    66    64    46     3     5     1    12\r\n   388   100    16     1     7   139    39    46    60    29     3     3     2     6\r\n   416   101    22     0     9   150    66    48    48    52     1     4     4     2\r\n   399    98    23     3     9   154    45    52    85    45     5     2     1    26\r\n   356    85    12     2    16   149    65    40    38    45     4     0     5     2\r\n   406    99    14     0    33   212    90    61   135    32     6     0     3     2\r\n   391    93    13     0    13   145    43    33    51    27     7     0     2     2\r\n   376    88    11     3     6   123    28    48    63    22     7    11     0     5\r\n   332    77    19     1    11   131    37    30    40    25     5     0     4     0\r\n   347    76    17     0    11   126    34    32    42    42     3     0     1     0\r\n   292    60     6     1     2    74    18    27    48    15     3    26     2     2\r\n   302    67    13     0    18   134    41    35    44    15     3     2     3     1\r\n   338    71    10     1     4    95    24    34    34    22     3    16     0    15\r\n   367    73    12     1     1    90    19    42    38    24     3    31     1     8\r\noctave:3&gt; size(X)\r\nans =\r\n   27   14\r\n<\/pre>\n<p>\u6253\u8005\u9805\u76ee\u306b\u3088\u3063\u3066\u6570\u5024\u306e\u7bc4\u56f2\u306b\u3070\u3089\u3064\u304d\u304c\u3042\u308b\u305f\u3081\u3001\u5e73\u5747\uff10\u3001\u5206\u6563\uff11\u306b\u6a19\u6e96\u5316\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u3067\u3082\u3001\u9805\u76ee\u306b\u3088\u3063\u3066\u4fa1\u5024\u304c\u3060\u3044\u3076\u9055\u3046\u3082\u306e\u3082\u3042\u308b\u306e\u3067\u3001\u9805\u76ee\u5225\u306e\u91cd\u307f\u4ed8\u3051\u3082\u5fc5\u8981\u304b\u3082&#8230;<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:4&gt; Xm=repmat(mean(X), size(X,1),1);\r\noctave:5&gt; Xs=repmat(std(X), size(X,1),1);\r\noctave:6&gt; Xv = (X - Xm) .\/ Xs\r\nXv =\r\n   0.5116564   1.3186125   1.1697424  -1.0347284  -0.0921100   0.8600634   0.8131214  -0.7577263  -0.6692737  -0.0519840   0.2470689  -0.5821085   1.8196848  -0.7253695\r\n   1.7514394   1.6938698   2.4995549  -0.3183780   1.2895402   2.2243744   0.9757456   1.7655023   0.1701821   1.2112265   1.7864982  -0.3711430   1.1276920   0.2009470\r\n  -0.2632079   0.5680979   0.5048362   1.8306732   0.1842200   0.6895245   0.6504971   0.7425718  -0.0065455   0.0181944   0.7602120  -0.5821085  -0.2562936   0.0686160\r\n   0.9765750   1.4593340   0.6710628   0.3979724  -0.5066051   0.7179476   0.3794566   0.8789625  -0.7576375  -0.4028758  -0.2660742  -0.0546948  -0.2562936  -0.7253695\r\n   1.1536869   1.2717054   1.1697424   0.3979724  -0.6447701   0.6042551  -0.3252485   0.6743764  -0.0507273  -1.2450161  -0.7792173   2.7933393   1.1276920   1.5242563\r\n   1.1758259   1.5062412  -1.3236559   0.3979724  -1.3355952  -0.1063236  -1.2467861   1.1517440  -0.9343650  -0.7537676   0.7602120  -0.1601775  -0.2562936   1.7889181\r\n   1.1979649   0.9902624   0.5048362   0.3979724  -0.6447701   0.3200236   0.2710405   1.5609162  -0.1832730   1.7726534  -0.7792173  -0.4766257   0.4356992   0.2009470\r\n   0.3788226   0.7088194  -0.4925231   0.3979724   0.7368801   0.8316402   0.8131214   1.2881347   0.6561828   0.2989078  -1.8055035  -0.4766257  -1.6402792   0.2009470\r\n   1.0872699   0.6150050   0.3386097   1.8306732   0.4605501   0.8600634  -0.1084162   1.2199394   0.1701821   2.2639020  -0.7792173  -0.5821085   0.4356992   1.5242563\r\n  -1.2151841  -0.8860242  -1.4898825  -1.0347284   1.5658703   0.0926384   0.2168324  -0.2121634   0.7003647   1.4217616  -0.7792173  -0.5821085  -0.2562936  -0.8577005\r\n   0.5559344   0.3804692   0.5048362  -1.0347284  -0.2302750   0.0926384  -0.4336647   0.2652042  -0.1390911  -0.0519840  -0.7792173  -0.1601775   1.1276920   1.3919253\r\n   0.7330463   0.3804692   1.1697424  -0.3183780   0.8750452   0.9453328   1.7888670   0.1970088   2.2025487   0.5796213   0.7602120  -0.5821085  -0.2562936  -0.8577005\r\n  -1.0380722  -0.6045812   0.3386097  -0.3183780   0.7368801   0.1210616   0.7589133  -0.4849448   0.5236371   0.0883728  -1.8055035  -0.5821085  -0.2562936  -0.8577005\r\n   0.0688768  -0.1355096  -0.1600700   2.5470236  -0.7829351  -0.3905551  -1.1925780   1.0153533   0.2143640   0.6497996  -0.2660742  -0.0546948  -0.9482864   0.5979398\r\n   0.0245989   0.0521191  -0.1600700  -0.3183780  -0.6447701  -0.4189782  -0.4336647  -0.3485541   0.0376364  -0.5432325  -0.2660742  -0.2656602  -0.2562936  -0.1960458\r\n   0.6444903   0.0990262   0.8372893  -1.0347284  -0.3684401  -0.1063236   1.0299537  -0.2121634  -0.4925462   1.0708698  -1.2923604  -0.1601775   1.1276920  -0.7253695\r\n   0.2681277  -0.0416953   1.0035159   1.1143228  -0.3684401   0.0073690  -0.1084162   0.0606181   1.1421835   0.5796213   0.7602120  -0.3711430  -0.9482864   2.4505728\r\n  -0.6838485  -0.6514884  -0.8249762   0.3979724   0.5987151  -0.1347468   0.9757456  -0.7577263  -0.9343650   0.5796213   0.2470689  -0.5821085   1.8196848  -0.7253695\r\n   0.4231005   0.0052119  -0.4925231  -1.0347284   2.9475205   1.6559115   2.3309479   0.6743764   3.3512777  -0.3326974   1.2733551  -0.5821085   0.4356992  -0.7253695\r\n   0.0910158  -0.2762311  -0.6587497  -1.0347284   0.1842200  -0.2484394  -0.2168324  -1.2350939  -0.3600005  -0.6835892   1.7864982  -0.5821085  -0.2562936  -0.7253695\r\n  -0.2410689  -0.5107669  -0.9912028   1.1143228  -0.7829351  -0.8737486  -1.0299537  -0.2121634   0.1701821  -1.0344810   1.7864982   0.5782017  -1.6402792  -0.3283767\r\n  -1.2151841  -1.0267457   0.3386097  -0.3183780  -0.0921100  -0.6463634  -0.5420809  -1.4396800  -0.8460012  -0.8239460   0.7602120  -0.5821085   1.1276920  -0.9900314\r\n  -0.8830993  -1.0736529   0.0061565  -1.0347284  -0.0921100  -0.7884792  -0.7047052  -1.3032892  -0.7576375   0.3690862  -0.2660742  -0.5821085  -0.9482864  -0.9900314\r\n  -2.1007433  -1.8241675  -1.8223356  -0.3183780  -1.3355952  -2.2664828  -1.5720347  -1.6442661  -0.4925462  -1.5257296  -0.2660742   2.1604428  -0.2562936  -0.7253695\r\n  -1.8793535  -1.4958174  -0.6587497  -1.0347284   0.8750452  -0.5610940  -0.3252485  -1.0987031  -0.6692737  -1.5257296  -0.2660742  -0.3711430   0.4356992  -0.8577005\r\n  -1.0823502  -1.3081887  -1.1574294  -0.3183780  -1.0592652  -1.6695967  -1.2467861  -1.1668985  -1.1110925  -1.0344810  -0.2660742   1.1056154  -1.6402792   0.9949325\r\n  -0.4403197  -1.2143744  -0.8249762  -0.3183780  -1.4737603  -1.8117124  -1.5178266  -0.6213356  -0.9343650  -0.8941243  -0.2660742   2.6878565  -0.9482864   0.0686160\r\n<\/pre>\n<p><span class=\"my_fc_deeppinkBBig\">corr<\/span> \u95a2\u6570\u3067\u5171\u5206\u6563\u884c\u5217\u3092\u6c42\u3081\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:7&gt; R1 = <span class=\"my_fc_deeppinkB\">corr<\/span>(Xv)\r\nR1 =\r\n   1.000000   0.917441   0.625741   0.241142   0.038235   0.705647   0.358418   0.802930   0.231084   0.439883   0.134384  -0.140606   0.238704   0.450093\r\n   0.917441   1.000000   0.630642   0.251153   0.065308   0.774014   0.398038   0.797047   0.144070   0.353524   0.082908  -0.219885   0.309752   0.370394\r\n   0.625741   0.630642   1.000000   0.066154   0.180789   0.669949   0.483119   0.423836   0.176020   0.399652   0.067315  -0.231639   0.444052   0.142541\r\n   0.241142   0.251153   0.066154   1.000000  -0.277890   0.071350  -0.200134   0.504802   0.022182   0.236108   0.039272   0.037135  -0.294460   0.493017\r\n   0.038235   0.065308   0.180789  -0.277890   1.000000   0.665591   0.788719   0.176485   0.674144   0.344464   0.127254  -0.564090   0.265990  -0.352778\r\n   0.705647   0.774014   0.669949   0.071350   0.665591   1.000000   0.794679   0.704416   0.535209   0.513877   0.143400  -0.518031   0.404411   0.070216\r\n   0.358418   0.398038   0.483119  -0.200134   0.788719   0.794679   1.000000   0.327019   0.623625   0.441877   0.047074  -0.549370   0.409742  -0.327218\r\n   0.802930   0.797047   0.423836   0.504802   0.176485   0.704416   0.327019   1.000000   0.352701   0.519591  -0.045163  -0.178053   0.025209   0.472583\r\n   0.231084   0.144070   0.176020   0.022182   0.674144   0.535209   0.623625   0.352701   1.000000   0.259144   0.166485  -0.269422  -0.105222  -0.014600\r\n   0.439883   0.353524   0.399652   0.236108   0.344464   0.513877   0.441877   0.519591   0.259144   1.000000  -0.212427  -0.535086   0.184152   0.111574\r\n   0.134384   0.082908   0.067315   0.039272   0.127254   0.143400   0.047074  -0.045163   0.166485  -0.212427   1.000000  -0.127532   0.024786  -0.048946\r\n  -0.140606  -0.219885  -0.231639   0.037135  -0.564090  -0.518031  -0.549370  -0.178053  -0.269422  -0.535086  -0.127532   1.000000  -0.174581   0.230993\r\n   0.238704   0.309752   0.444052  -0.294460   0.265990   0.404411   0.409742   0.025209  -0.105222   0.184152   0.024786  -0.174581   1.000000  -0.140228\r\n   0.450093   0.370394   0.142541   0.493017  -0.352778   0.070216  -0.327218   0.472583  -0.014600   0.111574  -0.048946   0.230993  -0.140228   1.000000\r\n<\/pre>\n<p><span class=\"my_fc_deeppinkBBig\">eig<\/span> \u95a2\u6570\u3067\u56fa\u6709\u30d9\u30af\u30c8\u30eb(v), \u56fa\u6709\u5024(l)\u3092\u6c42\u3081\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:8&gt; [v,l] = <span class=\"my_fc_deeppinkB\">eig<\/span>(R1)\r\nv =\r\n   4.4396e-16   7.3627e-01   5.9575e-02  -4.9581e-02  -2.0468e-01  -2.8964e-01  -1.1990e-01   9.3614e-02   2.6179e-01   7.4887e-02  -1.3007e-01  -1.4152e-01   2.7837e-01   3.3823e-01\r\n   4.5372e-01  -4.4766e-01   4.1276e-01  -2.2866e-02  -1.2642e-01   1.1162e-01   1.5779e-01   3.1094e-02   3.6749e-01   2.6054e-02  -1.0274e-01  -2.0307e-01   2.5139e-01   3.4325e-01\r\n   1.2803e-01   1.4641e-02  -1.2618e-01   1.4752e-01   2.2232e-01   2.6215e-01  -5.4187e-01  -5.2239e-01  -2.3418e-01  -1.2928e-02  -2.6486e-02  -3.2816e-01   6.6633e-02   3.0530e-01\r\n   5.9420e-02   1.8642e-01   1.5468e-01  -8.0449e-02  -1.3009e-01   1.4551e-01   4.2724e-01  -4.3635e-01  -3.5653e-01  -3.2416e-01   4.6928e-02   3.5864e-01   3.9079e-01   6.7460e-02\r\n   4.6211e-01   2.9483e-01   1.5904e-01  -9.3213e-02   5.2435e-01   9.2512e-02   1.6145e-01   1.9032e-01  -1.7222e-01   1.1479e-01  -2.9410e-02   2.1363e-01  -4.1345e-01   2.4386e-01\r\n  -7.4878e-01  -7.2006e-02   3.3896e-01  -5.2543e-02   2.7470e-01   1.8110e-01   1.3650e-01   1.2349e-02   4.8061e-02   5.8699e-02  -8.1210e-02  -1.8860e-02  -6.0432e-02   4.1604e-01\r\n   2.7741e-16  -1.0435e-01  -3.8506e-01  -6.6686e-01  -3.4413e-01   3.7267e-02   9.5506e-02  -1.8962e-01   1.3864e-02   1.4983e-01   1.4150e-02   1.2576e-02  -3.1325e-01   3.3182e-01\r\n   1.7452e-15  -1.4345e-01  -6.4493e-01   3.2915e-01   2.9056e-01  -1.2294e-01   2.9327e-01   4.1657e-02   1.7134e-01   1.1541e-01   4.6305e-02   1.7267e-01   2.9102e-01   3.2946e-01\r\n   8.3822e-16  -1.0575e-01   1.3567e-01   4.3200e-01  -4.3527e-01  -7.9053e-02  -1.8090e-01  -3.4551e-02  -2.1802e-01   3.9566e-01  -2.1254e-01   4.6694e-01  -1.8405e-01   2.3022e-01\r\n  -6.3512e-16  -2.2003e-01   1.5979e-01  -1.0944e-01   8.3585e-02  -6.1368e-01  -2.6445e-01   5.8435e-02  -1.6279e-01  -2.8035e-01   5.0428e-01   1.3893e-01   1.2460e-02   2.7979e-01\r\n  -1.2478e-16  -1.5082e-01  -1.0002e-01  -8.6817e-02   9.6465e-02  -2.8574e-01  -7.2603e-02   5.7974e-02  -9.9587e-02  -4.6940e-01  -7.8942e-01   4.1213e-02  -5.4695e-02   4.4772e-02\r\n  -3.9566e-16  -1.0101e-01   1.3125e-01  -2.3130e-01   2.5080e-01  -4.3098e-01   1.2837e-01  -2.5471e-01  -2.3276e-01   6.0320e-01  -1.8316e-01  -1.4585e-01   2.5143e-01  -2.3023e-01\r\n   9.6730e-16   1.3293e-02  -5.0913e-02   2.5686e-01  -2.3142e-01  -1.0234e-01   3.8679e-01   2.1451e-01  -5.0819e-01  -5.4992e-02   5.0236e-02  -5.9730e-01  -1.5163e-01   1.6746e-01\r\n  -3.2694e-16  -7.9032e-02  -8.9866e-02  -2.8050e-01  -1.7434e-02   3.0850e-01  -2.6595e-01   5.7797e-01  -3.9567e-01   1.1716e-01  -3.3058e-02   9.6885e-02   4.7065e-01   6.6918e-02\r\nl =\r\nDiagonal Matrix\r\n   2.2204e-16            0            0            0            0            0            0            0            0            0            0            0            0            0\r\n            0   3.7856e-02            0            0            0            0            0            0            0            0            0            0            0            0\r\n            0            0   5.3203e-02            0            0            0            0            0            0            0            0            0            0            0\r\n            0            0            0   1.0939e-01            0            0            0            0            0            0            0            0            0            0\r\n            0            0            0            0   1.8701e-01            0            0            0            0            0            0            0            0            0\r\n            0            0            0            0            0   3.2360e-01            0            0            0            0            0            0            0            0\r\n            0            0            0            0            0            0   4.3619e-01            0            0            0            0            0            0            0\r\n            0            0            0            0            0            0            0   4.7192e-01            0            0            0            0            0            0\r\n            0            0            0            0            0            0            0            0   5.1286e-01            0            0            0            0            0\r\n            0            0            0            0            0            0            0            0            0   8.6176e-01            0            0            0            0\r\n            0            0            0            0            0            0            0            0            0            0   1.2015e+00            0            0            0\r\n            0            0            0            0            0            0            0            0            0            0            0   1.5022e+00            0            0\r\n            0            0            0            0            0            0            0            0            0            0            0            0   2.8874e+00            0\r\n            0            0            0            0            0            0            0            0            0            0            0            0            0   5.4151e+00\r\n<\/pre>\n<p>\u4e3b\u6210\u5206\u306e\u30e9\u30f3\u30af\u4ed8\u3051\u304c\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u5bc4\u4e0e\u7387\u3092\u7b97\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:9&gt; r = l \/ sum(l(:))\r\nr =\r\nDiagonal Matrix\r\n   1.5860e-17            0            0            0            0            0            0            0            0            0            0            0            0            0\r\n            0   2.7040e-03            0            0            0            0            0            0            0            0            0            0            0            0\r\n            0            0   3.8002e-03            0            0            0            0            0            0            0            0            0            0            0\r\n            0            0            0   7.8135e-03            0            0            0            0            0            0            0            0            0            0\r\n            0            0            0            0   1.3358e-02            0            0            0            0            0            0            0            0            0\r\n            0            0            0            0            0   2.3114e-02            0            0            0            0            0            0            0            0\r\n            0            0            0            0            0            0   3.1156e-02            0            0            0            0            0            0            0\r\n            0            0            0            0            0            0            0   3.3709e-02            0            0            0            0            0            0\r\n            0            0            0            0            0            0            0            0   3.6633e-02            0            0            0            0            0\r\n            0            0            0            0            0            0            0            0            0   6.1554e-02            0            0            0            0\r\n            0            0            0            0            0            0            0            0            0            0   8.5818e-02            0            0            0\r\n            0            0            0            0            0            0            0            0            0            0            0   1.0730e-01            0            0\r\n            0            0            0            0            0            0            0            0            0            0            0            0   2.0624e-01            0\r\n            0            0            0            0            0            0            0            0            0            0            0            0            0   3.8680e-01\r\n<\/pre>\n<p>\u5bc4\u4e0e\u7387\u304c\u5927\u304d\u3044\u3082\u306e\u306f\u3001<br \/>\n\u7b2c1\u4e3b\u6210\u5206 r(14) 38.7%<br \/>\n\u7b2c2\u4e3b\u6210\u5206 r(13) 20.6%<br \/>\n\u7b2c3\u4e3b\u6210\u5206 r(12) 10.7%<br \/>\n\u7b2c4\u4e3b\u6210\u5206 r(11) 8.6%<br \/>\n\u7b2c5\u4e3b\u6210\u5206 r(10) 6.2%<br \/>\n\u3053\u3053\u307e\u3067\u3067 84.8% \u3067\u3059\u3002<\/p>\n<p>\u9078\u3093\u30605\u7a2e\u985e\u306e\u4e3b\u6210\u5206(=\u4e3b\u6210\u5206\u30b9\u30b3\u30a2)\u3092\u7b97\u51fa\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_octave\">\r\noctave:10&gt; scr14 = Xv * v(:,14);\r\noctave:11&gt; scr13 = Xv * v(:,13);\r\noctave:12&gt; scr12 = Xv * v(:,12);\r\noctave:13&gt; scr11 = Xv * v(:,11);\r\noctave:14&gt; scr10 = Xv * v(:,10);\r\n<\/pre>\n<p>\u3053\u308c\u3067\u8a08\u7b97\u304c\u5b8c\u4e86\uff01<\/p>\n<h3 class=\"my_h\">\u7d50\u679c\u3092\u898b\u3066\u307f\u308b<\/h3>\n<p>\u7b2c1\u4e3b\u6210\u5206~\u7b2c5\u4e3b\u6210\u5206\u306e\u56fa\u6709\u30d9\u30af\u30c8\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/eigenv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-313\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/eigenv.png\" alt=\"eigenv\" width=\"864\" height=\"403\" srcset=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/eigenv.png 864w, https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/eigenv-300x139.png 300w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/a><\/p>\n<h3>(1) \u7b2c1\u4e3b\u6210\u5206<\/h3>\n<p>\u56fa\u6709\u30d9\u30af\u30c8\u30eb\u3092\u898b\u308b\u3068\u3001\u51fa\u5834\u304c\u591a\u304f\u3001\u9577\u6253\u304c\u591a\u304f\u3001\u6253\u70b9\u3082\u5f97\u70b9\u3082\u591a\u304f\u3001\u3044\u308f\u3086\u308b\u30b9\u30e9\u30c3\u30ac\u30fc\u304c\u9ad8\u8a55\u4fa1\u3055\u308c\u308b\u7269\u5dee\u3057\u306e\u3088\u3046\u3067\u3059\u3002<br \/>\n\u7d50\u679c\u306f&#8230;<br \/>\n<a href=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca1st.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca1st.png\" alt=\"pca1st\" width=\"240\" height=\"514\" class=\"alignnone size-full wp-image-320\" srcset=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca1st.png 240w, https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca1st-140x300.png 140w\" sizes=\"auto, (max-width: 240px) 100vw, 240px\" \/><\/a><\/p>\n<h3>(2) \u7b2c2\u4e3b\u6210\u5206<\/h3>\n<p>\u56fa\u6709\u30d9\u30af\u30c8\u30eb\u3092\u898b\u308b\u3068\u3001\u3088\u304f\u51fa\u5834\u3057\u3001\u3088\u304f\u6253\u3061\u3001\u3088\u304f\u8d70\u308a\u3001\u3088\u304f\u5f97\u70b9\u3057\u3001\u3060\u3051\u3069\u975e\u529b\u3001\u3044\u308f\u3086\u308b\u30ea\u30fc\u30c9\u30aa\u30d5\u30de\u30f3\u304c\u9ad8\u8a55\u4fa1\u3055\u308c\u308b\u7269\u5dee\u3057\u306e\u3088\u3046\u3067\u3059\u3002<br \/>\n\u7d50\u679c\u306f&#8230;<br \/>\n<a href=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca2nd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-316\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca2nd.png\" alt=\"pca2nd\" width=\"241\" height=\"516\" srcset=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca2nd.png 241w, https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2014\/08\/pca2nd-140x300.png 140w\" sizes=\"auto, (max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>\u306a\u304b\u306a\u304b\u9762\u767d\u3044\u3067\u3059(^^)<\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>octave\u3067\u4e3b\u6210\u5206\u5206\u6790\u3092\u3084\u3063\u3066\u307f\u307e\u3059\u3002 \u300c\u4e3b\u6210\u5206\u5206\u6790\u3068\u306f\uff1f\u300d\u306b\u3064\u3044\u3066\u306f\u3001\u305d\u306e\u307e\u3093\u307e\u30b0\u30b0\u308b\u3068\u89aa\u5207\u306a\u30da\u30fc\u30b8\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306f\u3068\u3066\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002 \u306f\u3058\u3081\u3088\u3046\u591a\u5909\u91cf\u89e3\u6790 \u4e3b\u6210\u5206\u5206\u6790\u306e\u9069\u7528\u4f8b \u30c6\u30fc\u30de\u306f\u91ce\u7403\u9078\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/octave\/blog32\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-306","post","type-post","status-publish","format-standard","hentry","category-23"],"views":7684,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":30,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":1005,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/306\/revisions\/1005"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}