1. 程式人生 > >【Andrew NG 機器學習公開課】CS229:Introduction、Linear Regression

【Andrew NG 機器學習公開課】CS229:Introduction、Linear Regression

這份筆記來源於Andrew NG在Coursera上的公開課和講義。

Introduction

機器學習問題

(一)有監督學習(Supervised Learning)

基本思想是:given the right answer for each example in the data.(即:我們資料集中的每個樣本都有相應的“正確答案",再根據這些樣本作出預測。)
迴歸(regression):our goal is to predict a continuous value output. 分類(classification):the goal is to predict a discrete value ouput.

(二)無監督學習(Unsupervised Learning)
         給定的樣本沒有標籤,需要靠機器自己去學習,對某類同樣的樣本進行標註、分類等。比如:聚類演算法。

Part  Ⅰ Linear Regression

linear function:hθ(x) = θ0 + θ1x1 + θ2x2
其中 θi 為引數