完整編程作業代碼 GitHub 地址:https://github.com/coco-1998-2/Andrew-NG-Machine-Learning-Coursera
100%本地運行通過,不要直接拷貝,debug有問題的時候參考下就好。若是感覺有用,別忘記Star哦~
K-means algorithm 內嵌試題:
Optimization Objective:
Choosing the number of K:
Unsupervised Learning:
表示第i個樣本屬於的cluster,計算了下距離,離1最近.
Motivation I: Data Compression
解析:數據數量不變,維度降低。
PCA Algorithm:
How to choose K:
PCA:
1.Consider the following 2D dataset: