Exercises (Week 1)

Enter the password to see the solutions.




Question 1

Name example tasks for...

(a) ...supervised learning.

(b) ...unsupervised learning.

Question 2

Explain whether each scenario is a classification or regression problem. In the case of classification, what are the number of classes? Finally, provide the values of \(N\) and \(D\).

(a) We are considering launching a new product and wish to know whether it will be a success or a failure. We collect data on 20 similar products that were previously launched. For each product, we recorded if it was a success or failure, the price charged for the product, the marketing budget, the competition price, and ten other variables.

(b) We are interested in predicting the percentage change in the GBP/EUR exchange rate in relation to weekly changes in world stock markets. We collect weekly data for all of 2018, and for each week, we record the percentage change in the GBP/EUR exchange rate, the percentage change in the UK market, the percentage change in the German market, the percentage change in the US market, and the percentage change in the Chinese market.

(c) We are interested in identifying species of birds based on audio recordings. We have ten-second audio recordings of 645 birds, and 35 features have been extracted to represent the signals in the raw audio recordings. There are 19 bird species in the dataset.

(d) An e-commerce company sells fresh produce online. Currently, every product must be manually inspected to determine if it is rotten before being sent to the customer. To save resources, the company is interested in automating this process. They have collected 2,000 images of strawberries of size \(50 \times 50\) and have manually determined whether each strawberry is rotten.

Question 3

Think of some example real-life applications for the following types of learning.

(a) Describe the responce and potential predictors for a Classification project.

(b) Describe the responce and potential predictors for a Regression project.

(c) Describe a potential Clustering project.