机器学习 吴恩达 课后习题

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?

E:经验 T:任务 P:性能

a The weather prediction task.

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

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

d None of these.

a选项是天气预测工作,这个应该指的是任务T,b选项该算法研究了大量的历史气象数据,这应该是指的经验E,c选项 它正确预测未来天气的概率,这指的是该算法的性能

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?

预测明天天气的温度,此问题应为回归问题

3 Suppose you are working on stock market prediction. You would like to predict whether or not a certain company will declare bankruptcy within the next 7 days (by training on data of similar companies that had previously been at risk of bankruptcy). Would you treat this as a classification or a regression problem?

预测是否问题一般是分类问题

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.

a Examine a large collection of emails that are known to be spam email, to discover if there are sub-types of spam mail. 检查是否是垃圾邮件,这是典型的分类问题,所以是监督学习

b 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". 这是聚类算法,是无监督学习

c Examine the statistics of two football teams, and predict which team will win tomorrow's match (given historical data of teams' wins/losses to learn from). 预测那一只足球队会在明天获胜,在给出历史记录的前提下

d Given genetic (DNA) data from a person, predict the odds of him/her developing diabetes over the next 10 years. 属于无监督学习

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值