Coursera Machine Learning 第一周 引言(Introduction) quiz 习题答案


1.

A computer program is said to learn from experience E with

respect to some task T and some performance measure P if its

performance on T, as measured by P, improves with experience E.

Suppose we feed a learning algorithm a lot of historical weather

data, and have it learn to predict weather. What would be a

reasonable choice for P?

The probability of it correctly predicting a future date's weather.

The process of the algorithm examining a large amount of historical weather data.

None of these.

The weather prediction task.


第一题Answer:这是一道监督学习的题目,根据以往的天气,预测将来的天气,E为之前天气的数据,P为测量的准确率,T为预测算法,故选B

2.

Suppose you are working on weather prediction, and use a

learning algorithm to predict tomorrow's temperature (in

degrees Centigrade/Fahrenheit).

Would you treat this as a classification or a regression problem?

Classification

Regression

第二题Answer:这是一道监督学习的题目,根据以往的天气,预测将来的天气,由于预测的温度是连续的值,故为回归问题,如为离散的值,则为分类问题,如预测第二天(多云,晴,阴,雨)此为分类。故此题选择回归B。

3.

Suppose you are working on stock market prediction. You would like to predict whether or not a certain company will win a patent infringement lawsuit (by training on data of companies that had to defend against similar lawsuits). Would you treat this as a classification or a regression problem?

Regression

Classification

第三题Answer:这是一道监督学习的题目,根据以往股票数据预测公司胜诉的几率,由于此题中公司只有胜诉或者败诉两种情况,故属于分类问题选择B。

 

4.

Some of the problems below are best addressed using a supervised

learning algorithm, and the others with an unsupervised

learning algorithm. Which of the following would you apply

supervised learning to? (Select all that apply.) In each case, assume some appropriate

dataset is available for your algorithm to learn from.

Examine a large collection of emails that are known to be spam email, to discover if there are sub-types of spam mail.

Given historical data of children's ages and heights, predict children's height as a function of their age.

Given 50 articles written by male authors, and 50 articles written by female authors, learn to predict the gender of a new manuscript's author (when the identity of this author is unknown).

Take a collection of 1000 essays written on the US Economy, and find a way to automatically group these essays into a small number of groups of essays that are somehow "similar" or "related".

第四题Answer:第一个根据垃圾邮件发现垃圾邮件的子类型,没有给正确答案属于分类,第四个搜集1000篇文章,没有给文章的类型,以及应该怎么分类,故属于非监督学习。PS:界定监督学习与非监督学习,看给的数据是否有想要的正确答案即可选择BC。





5. 

Which of these is a reasonable definition of machine learning?

Machine learning is the field of study that gives computers the ability to learn without being explicitly programmed.

Machine learning is the field of allowing robots to act intelligently.

Machine learning is the science of programming computers.

Machine learning learns from labeled data.


第五题Answer:机器学习是给计算机一种不需要明确程序命令可以自学习的能力选择A。

 







  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值