small adjustment

This commit is contained in:
Morten Hjorth-Jensen
2022-11-18 05:50:27 +01:00
parent e3034398b7
commit e93e980131
8 changed files with 293 additions and 287 deletions
+2 -1
View File
@@ -1509,6 +1509,7 @@ sol <span style="color: #666666">=</span> solvers<span style="color: #666666">.<
<span style="color: #408080; font-style: italic"># Extract optimal value and solution</span>
sol[<span style="color: #BA2121">&#39;x&#39;</span>]
sol[<span style="color: #BA2121">&#39;primal objective&#39;</span>]
<span style="color: #008000">print</span>(sol[<span style="color: #BA2121">&#39;x&#39;</span>] )
</pre>
</div>
</div>
@@ -1543,7 +1544,7 @@ $$
With the slack constants this leads to the additional constraint \( 0\leq \lambda_i \leq C \).
</p>
<p>Using the <b>CVXOPT</b> library, the matrix \( P \) would then be defined by the </p>
<p>Using the <b>CVXOPT</b> library, the matrix \( P \) would then be defined by the above matrix while the KKT conditions would all be collected by the matrix \( G \).</p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="basic-ideas-of-the-principal-component-analysis-pca">Basic ideas of the Principal Component Analysis (PCA) </h2>