[Note-1] Supervised and Unsupervised learning

在coursera上聽Andrew Ng講machine learning


重點(diǎn)在于區(qū)分幾類問題和概念
監(jiān)督學(xué)習(xí):對于給定的數(shù)據(jù)集午磁,已經(jīng)知道輸出結(jié)果是什么樣子的催跪。
分為兩類問題:

  • regression(回歸):預(yù)測結(jié)果是一個(gè)連續(xù)值(如房價(jià))
  • classification(分類):預(yù)測結(jié)果是離散的值
    非監(jiān)督學(xué)習(xí):對于給定的數(shù)據(jù)集,不知道輸出結(jié)果是什么樣子。
    分為兩類問題:
  • clustering(聚類):根據(jù)特征,對數(shù)據(jù)集進(jìn)行分組
  • non-clustering(非聚類):對數(shù)據(jù)集中的數(shù)據(jù)按某種規(guī)則進(jìn)行提取
Supervised Learning

In supervised learning, we are given a data set and already know what our correct output should look like, having the idea that 【there is a relationship between the input and the output】

Supervised learning problems are categorized into "regression" and "classification" problems. In a regression problem, we are trying to predict results within a continuous output, meaning that we are trying to map input variables to some continuous function. In a classification problem, we are instead trying to predict results in a discrete output. In other words, we are trying to map input variables into discrete categories.

Example 1:

Given data about the size of houses on the real estate market, try to predict their price. Price as a function of size is a continuous output, so this is a regression problem.

We could turn this example into a classification problem by instead making our output about whether the house "sells for more or less than the asking price." Here we are classifying the houses based on price into two discrete categories.

Example 2:

(a) Regression - Given a picture of a person, we have to predict their age on the basis of the given picture

(b) Classification - Given a patient with a tumor, we have to predict whether the tumor is malignant or benign.

Unsupervised Learning

Unsupervised learning allows us to approach problems with little or no idea what our results should look like. We can derive structure from data where we don't necessarily know the effect of the variables.
We can derive this structure by clustering the data based on relationships among the variables in the data.
With unsupervised learning there is no feedback based on the prediction results.

Example:

Clustering: Take a collection of 1,000,000 different genes, and find a way to automatically group these genes into groups that are somehow similar or related by different variables, such as lifespan, location, roles, and so on.

Non-clustering: The "Cocktail Party Algorithm", allows you to find structure in a chaotic environment. (i.e. identifying individual voices and music from a mesh of sounds at a cocktail party).

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末颜阐,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子吓肋,更是在濱河造成了極大的恐慌凳怨,老刑警劉巖,帶你破解...
    沈念sama閱讀 222,252評論 6 516
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件是鬼,死亡現(xiàn)場離奇詭異猿棉,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)屑咳,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,886評論 3 399
  • 文/潘曉璐 我一進(jìn)店門萨赁,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人兆龙,你說我怎么就攤上這事杖爽。” “怎么了紫皇?”我有些...
    開封第一講書人閱讀 168,814評論 0 361
  • 文/不壞的土叔 我叫張陵慰安,是天一觀的道長。 經(jīng)常有香客問我聪铺,道長化焕,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,869評論 1 299
  • 正文 為了忘掉前任铃剔,我火速辦了婚禮撒桨,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘键兜。我一直安慰自己凤类,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,888評論 6 398
  • 文/花漫 我一把揭開白布普气。 她就那樣靜靜地躺著谜疤,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上夷磕,一...
    開封第一講書人閱讀 52,475評論 1 312
  • 那天履肃,我揣著相機(jī)與錄音,去河邊找鬼坐桩。 笑死尺棋,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的撕攒。 我是一名探鬼主播陡鹃,決...
    沈念sama閱讀 41,010評論 3 422
  • 文/蒼蘭香墨 我猛地睜開眼烘浦,長吁一口氣:“原來是場噩夢啊……” “哼抖坪!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起闷叉,我...
    開封第一講書人閱讀 39,924評論 0 277
  • 序言:老撾萬榮一對情侶失蹤擦俐,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后握侧,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體蚯瞧,經(jīng)...
    沈念sama閱讀 46,469評論 1 319
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,552評論 3 342
  • 正文 我和宋清朗相戀三年品擎,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了埋合。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,680評論 1 353
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡萄传,死狀恐怖甚颂,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情秀菱,我是刑警寧澤振诬,帶...
    沈念sama閱讀 36,362評論 5 351
  • 正文 年R本政府宣布,位于F島的核電站衍菱,受9級特大地震影響赶么,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜脊串,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 42,037評論 3 335
  • 文/蒙蒙 一辫呻、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧琼锋,春花似錦印屁、人聲如沸烁巫。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,519評論 0 25
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽包竹。三九已至锁摔,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間浩峡,已是汗流浹背锥债。 一陣腳步聲響...
    開封第一講書人閱讀 33,621評論 1 274
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留旗吁,地道東北人踩萎。 一個(gè)月前我還...
    沈念sama閱讀 49,099評論 3 378
  • 正文 我出身青樓,卻偏偏與公主長得像很钓,于是被迫代替她去往敵國和親香府。 傳聞我的和親對象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,691評論 2 361

推薦閱讀更多精彩內(nèi)容

  • 小時(shí)侯码倦,幸福是一件東西企孩,擁有就幸福;長大后袁稽,幸福是一個(gè)目標(biāo)勿璃,達(dá)到就幸福;成熟后推汽,發(fā)現(xiàn)幸福原來是一種心態(tài)补疑,領(lǐng)悟就幸福...
    古墓道人閱讀 157評論 0 0
  • 了解了SIFT算子之后,來看看HOG算子吧~其實(shí)仔細(xì)看看歹撒,會發(fā)現(xiàn)HOG和SIFT特征感覺像是孿生兄弟呢~當(dāng)然莲组,即便...
    sunsimple閱讀 3,097評論 0 2
  • 音樂響起,總有那么幾句歌詞打動(dòng)你 是否也有歌詞蕩氣回腸 是否也有歌詞讓你淚如雨下 是否也有歌詞讓你陶醉 是否也有歌...
    綾筱初夏閱讀 287評論 0 3