updated book
This commit is contained in:
@@ -1270,10 +1270,10 @@ covariance matrix through the <strong>np.linalg.eig()</strong> function.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.05005634426334421
|
||||
4.366375489616074
|
||||
[[ 0.93787605 2.95563211]
|
||||
[ 2.95563211 10.33025801]]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.0369544130635358
|
||||
3.662836197064178
|
||||
[[1.058997 3.11439407]
|
||||
[3.11439407 9.99498272]]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1310,10 +1310,10 @@ a more brute force way. Here we scale the mean values for each column of the des
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.07808426989543932
|
||||
1.4121966338442804
|
||||
[[1. 0.70362677]
|
||||
[0.70362677 1. ]]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.08826182458028335
|
||||
1.7026722043092946
|
||||
[[1. 0.61113781]
|
||||
[0.61113781 1. ]]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1343,30 +1343,30 @@ this matrix we easily see that it is a positive definite matrix.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[-0.34661376 -1.6809195 ]
|
||||
[ 0.05792927 0.30915293]
|
||||
[ 0.65183066 3.00564344]
|
||||
[ 1.75018686 4.35667342]
|
||||
[-0.75682834 -1.67875366]
|
||||
[ 1.16654048 3.9065894 ]
|
||||
[-1.86267497 -5.53585173]
|
||||
[ 0.29803738 2.45731144]
|
||||
[-0.63031478 -2.76157429]
|
||||
[-0.3280928 -2.37827145]]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[-0.7252563 -2.26264849]
|
||||
[ 1.19052935 3.11261935]
|
||||
[-0.62158409 -2.99662602]
|
||||
[-0.06216141 -0.18120973]
|
||||
[ 1.32065614 3.50269821]
|
||||
[ 0.83995705 2.80855691]
|
||||
[ 0.1571284 0.96919021]
|
||||
[-0.03404758 1.01551815]
|
||||
[-0.23596934 0.77449804]
|
||||
[-1.82925222 -6.74259663]]
|
||||
0 1
|
||||
0 -0.346614 -1.680920
|
||||
1 0.057929 0.309153
|
||||
2 0.651831 3.005643
|
||||
3 1.750187 4.356673
|
||||
4 -0.756828 -1.678754
|
||||
5 1.166540 3.906589
|
||||
6 -1.862675 -5.535852
|
||||
7 0.298037 2.457311
|
||||
8 -0.630315 -2.761574
|
||||
9 -0.328093 -2.378271
|
||||
0 -0.725256 -2.262648
|
||||
1 1.190529 3.112619
|
||||
2 -0.621584 -2.996626
|
||||
3 -0.062161 -0.181210
|
||||
4 1.320656 3.502698
|
||||
5 0.839957 2.808557
|
||||
6 0.157128 0.969190
|
||||
7 -0.034048 1.015518
|
||||
8 -0.235969 0.774498
|
||||
9 -1.829252 -6.742597
|
||||
0 1
|
||||
0 1.000000 0.959076
|
||||
1 0.959076 1.000000
|
||||
0 1.000000 0.963187
|
||||
1 0.963187 1.000000
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1423,37 +1423,37 @@ this matrix we easily see that it is a positive definite matrix.</p>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 0 1 2 3 4 5 6 7 \
|
||||
0 0.0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
|
||||
1 0.0 0.084996 0.084434 0.084712 0.085455 0.086212 0.075771 0.076638
|
||||
2 0.0 0.084434 0.084514 0.084042 0.085120 0.086230 0.075176 0.076259
|
||||
3 0.0 0.084712 0.084042 0.089718 0.090439 0.091159 0.083479 0.084358
|
||||
4 0.0 0.085455 0.085120 0.090439 0.091388 0.092347 0.084091 0.085139
|
||||
5 0.0 0.086212 0.086230 0.091159 0.092347 0.093554 0.084695 0.085918
|
||||
6 0.0 0.075771 0.075176 0.083479 0.084091 0.084695 0.079903 0.080657
|
||||
7 0.0 0.076638 0.076259 0.084358 0.085139 0.085918 0.080657 0.081544
|
||||
8 0.0 0.077567 0.077411 0.085294 0.086250 0.087210 0.081457 0.082482
|
||||
9 0.0 0.078557 0.078636 0.086286 0.087424 0.088574 0.082303 0.083471
|
||||
10 0.0 0.066997 0.066458 0.075909 0.076389 0.076857 0.074221 0.074824
|
||||
11 0.0 0.067764 0.067380 0.076693 0.077304 0.077906 0.074892 0.075602
|
||||
12 0.0 0.068592 0.068369 0.077539 0.078284 0.079027 0.075615 0.076436
|
||||
13 0.0 0.069484 0.069427 0.078447 0.079334 0.080222 0.076393 0.077329
|
||||
14 0.0 0.070441 0.070558 0.079420 0.080453 0.081494 0.077226 0.078282
|
||||
1 0.0 0.077382 0.076459 0.074114 0.076542 0.079074 0.064978 0.067074
|
||||
2 0.0 0.076459 0.078118 0.070150 0.073866 0.078123 0.059624 0.062356
|
||||
3 0.0 0.074114 0.070150 0.076618 0.077248 0.077529 0.070432 0.071572
|
||||
4 0.0 0.076542 0.073866 0.077248 0.078731 0.080082 0.069802 0.071449
|
||||
5 0.0 0.079074 0.078123 0.077529 0.080082 0.082803 0.068607 0.070859
|
||||
6 0.0 0.064978 0.059624 0.070432 0.069802 0.068607 0.066865 0.067168
|
||||
7 0.0 0.067074 0.062356 0.071572 0.071449 0.070859 0.067168 0.067809
|
||||
8 0.0 0.069439 0.065556 0.072752 0.073253 0.073422 0.067367 0.068408
|
||||
9 0.0 0.072092 0.069317 0.073923 0.075198 0.076333 0.067380 0.068897
|
||||
10 0.0 0.056856 0.051021 0.063637 0.062282 0.060288 0.061848 0.061588
|
||||
11 0.0 0.058361 0.052856 0.064604 0.063560 0.061921 0.062263 0.062231
|
||||
12 0.0 0.060085 0.055000 0.065679 0.065007 0.063802 0.062700 0.062932
|
||||
13 0.0 0.062053 0.057514 0.066855 0.066633 0.065963 0.063133 0.063673
|
||||
14 0.0 0.064294 0.060470 0.068116 0.068446 0.068446 0.063525 0.064427
|
||||
|
||||
8 9 10 11 12 13 14
|
||||
0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
|
||||
1 0.077567 0.078557 0.066997 0.067764 0.068592 0.069484 0.070441
|
||||
2 0.077411 0.078636 0.066458 0.067380 0.068369 0.069427 0.070558
|
||||
3 0.085294 0.086286 0.075909 0.076693 0.077539 0.078447 0.079420
|
||||
4 0.086250 0.087424 0.076389 0.077304 0.078284 0.079334 0.080453
|
||||
5 0.087210 0.088574 0.076857 0.077906 0.079027 0.080222 0.081494
|
||||
6 0.081457 0.082303 0.074221 0.074892 0.075615 0.076393 0.077226
|
||||
7 0.082482 0.083471 0.074824 0.075602 0.076436 0.077329 0.078282
|
||||
8 0.083564 0.084702 0.075463 0.076351 0.077301 0.078313 0.079391
|
||||
9 0.084702 0.085996 0.076138 0.077141 0.078210 0.079347 0.080555
|
||||
10 0.075463 0.076138 0.070095 0.070630 0.071208 0.071831 0.072500
|
||||
11 0.076351 0.077141 0.070630 0.071252 0.071921 0.072638 0.073405
|
||||
12 0.077301 0.078210 0.071208 0.071921 0.072684 0.073499 0.074368
|
||||
13 0.078313 0.079347 0.071831 0.072638 0.073499 0.074417 0.075392
|
||||
14 0.079391 0.080555 0.072500 0.073405 0.074368 0.075392 0.076479
|
||||
1 0.069439 0.072092 0.056856 0.058361 0.060085 0.062053 0.064294
|
||||
2 0.065556 0.069317 0.051021 0.052856 0.055000 0.057514 0.060470
|
||||
3 0.072752 0.073923 0.063637 0.064604 0.065679 0.066855 0.068116
|
||||
4 0.073253 0.075198 0.062282 0.063560 0.065007 0.066633 0.068446
|
||||
5 0.073422 0.076333 0.060288 0.061921 0.063802 0.065963 0.068446
|
||||
6 0.067367 0.067380 0.061848 0.062263 0.062700 0.063133 0.063525
|
||||
7 0.068408 0.068897 0.061588 0.062231 0.062932 0.063673 0.064427
|
||||
8 0.069486 0.070556 0.061154 0.062058 0.063064 0.064166 0.065352
|
||||
9 0.070556 0.072344 0.060453 0.061656 0.063017 0.064547 0.066256
|
||||
10 0.061154 0.060453 0.058245 0.058254 0.058234 0.058152 0.057961
|
||||
11 0.062058 0.061656 0.058254 0.058427 0.058593 0.058721 0.058770
|
||||
12 0.063064 0.063017 0.058234 0.058593 0.058970 0.059340 0.059669
|
||||
13 0.064166 0.064547 0.058152 0.058721 0.059340 0.059992 0.060652
|
||||
14 0.065352 0.066256 0.057961 0.058770 0.059669 0.060652 0.061706
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user