Machine Learning by Andrew Ng - 1.2 & 1.3

  • Supervised Learning
  • Unsupervised Learning


    Supervised Learning and Unsupervised Learning.png

Supervised Learning

"Right Answers“ given; Predict continuous output.

Already know that is the data set of 'correct answers' that we would like that algorithms have predict on that data set.

Regression Problem

Predict continuous valued output (e.g., price)

Regression Problem.png

Classification Problem

Discrete valued output (0 or 1) (or more than two values)

Classification Problem.png

A represents a linear classification problem and B represents a non-linear classification problem.

About infinite number of features?

A learning algorithm that might deal with an infinite number of features.
So how to deal with an infinite number of features? And how to store an infinite number of attributes?

The answer is Support Vector Machine

Support Vector Machine

There will be a neat mathematical trick that will allow a computer to deal with an infinite number of features.

Support Vector Machine.png

Unsupervised Learning

Unsupervised learning is a type of machine learning algorithm used to draw inferences from datasets consisting of input data without labeled responses.

The most common unsupervised learning method is cluster analysis, which is used for exploratory data analysis to find hidden patterns or grouping in data.

Given a data set, we're not told what to do with it and we're not told each data point is. Instead, we just find some structure in the data.


Unsupervised Learning.png

Given this data set, an Unsupervised Learning algorithm might decide that the data lives in two different clusters.

Unsupervised Learning algorithm may break these data into these two separate clusters. So this is called a clustering algorithm.

Examples of Unsupervised Learning Algorithm

  • Organize computing clusters
  • Social network analysis
  • Market segmentation
  • Astronomical data analysis
  • Cocktail party problem (/effect)
    Cocktail Party Problem.png

    Cocktail party problem algorithm with Octave programming environment
    [W,s,v] = svd ( ( repmat ( sum ( x. * x, 1 ), size ( x, 1), 1 ). * x ) * x' );
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 要做这样一件事:通过融云的聊天功能,发送一个房源(就先按链接算吧)给某人。这怎么办呢?只能想到一个最不“用户友好”...
    NoteCode阅读 398评论 3 1
  • 我来了 好似一别经年 恰是那黄昏里 落单的鸟儿 寻觅着,游荡着 那干瘪的藤枝留下的痕迹 是百年的风霜与雨雪 那布满...
    陪你砸流星阅读 195评论 0 0
  • 今天有点兴奋。因为投稿第一次过了。虽然不是首页。只是一个专题。但是整个人感觉像是加满了氮气。动力爆棚。 这是第一次...
    骁出函谷阅读 218评论 3 0
  • 我不知道为啥感觉到幸福,也不知为啥会觉得不幸 掰掰手指,工作已迈入第四个年头。时间不等人,来不及回顾他就甩得你...
    天蓝的新灵阅读 307评论 0 0
  • 十载藏锋得子贤,一朝反战驾龙鸾。 金戈铁马声声远,忠魂侠骨埋玉关。 金殿暖,国城安,故人难复共凭栏。 秋庭寂寞深宫...
    霜染公子阅读 682评论 0 0