如何在博客園插入數學公式


在博客園設置--->頁首html添加代碼

<script src="http://latex.codecogs.com/latex.js" type="text/javascript"></script>

舉例輸入:

$y = \theta^{T}x + \theta^{T}x^{2}$
$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

顯示為:

$y = \theta^{T}x + \theta^{T}x^{2}$

$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

 

用​ ​​​$ μ^1, μ^2, ..., μ^k $ 來表示聚類中心,

用  ​ ​​​$ c^{(1)}, c^{(2)}, ..., c^{(k)} $ 來存儲與​ ​​​$ μ^1, μ^2, ..., μ^k $ 第​個實例數據最近的聚類中心的索引,K-均值算法的偽代碼如下:

 

公式在線編輯器: https://www.codecogs.com/latex/eqneditor.php

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM