Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
488
|
第十二章
以下我只列出一部分的名詞與答案(於本書的網頁可下載完整資料檔案
20Q.nb
)。
將資料儲存在變數
data
內,你可以看出
FindClusters
指令如何使用不同的布林距離將
這些資料分群。[Page-490]
ch12.indd 488 2014/4/2 下午 01:58:01
12.13 資料分群
|
489
將布林值轉換為 0 1 後,你可以看出
EuclideanDistance
ManhattanDistance
將輸
出大量分群。[Page-491]
串, 使
EditDistance
DamerauLevenshteinDistance
HammingDistance
等度量。
HammingDistance
度量必須使用等長的字串,否則將輸出錯誤訊息,因此我使用了一個
前置指令將短字串後面填上空格,使每個字串與字數最多的字串等長。
ch12.indd 489 2014/4/2 下午 01:58:02
490
|
第十二章
針對
FindClusters
的進
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106