Which ONE of the following are regression tasks?
A) Predict the age of a person
B) Predict the country from where the person comes from
C) Predict whether the price of petroleum will increase tomorrow
D) Predict whether a document is related to science 1 point
Which of the following is a supervised learning problem?
A) Grouping people in a social network. B) Predicting credit approval based on historical data C) Predicting rainfall based on historical data D) all of the above 1 point Which of the following are classification tasks? (Mark all that apply) A) Find the gender of a person by analyzing his writing style B) Predict the price of a house based on floor area, number of rooms etc. C) Predict whether there will be abnormally heavy rainfall next year D) Predict the number of copies of a book that will be sold this month 1 point Which of these are categorical features? A) Height of a person B) Price of petroleum C) Mother tongue of a person D) Amount of rainfall in a day 1 point What would
Answers
There are multiple questions in this big question.
For the first question, the answer is C predict whether the price of petroleum will increase tomorrow.
This is the correct answer because the price of petrol may go down or up.
It is not certain.
The same is not possible for the other options such as age.
Answer to the first question:
When the output of a task is real or continuous value, then it is called a regression problem.
For the given question the option A will be the regression task, as its output will be a real value of person’s age. Whether, the country of a person cannot be a real value. As well as the price of petroleum and a document is related to science or not will be answered as either yes or no.
Answer to the second question:
In supervised learning there is an input variable and an output variable and there is an algorithm for mapping the input to the output. The mapping function should be appropriate that when a new input comes you can predict the output.
For the given question all of the options are correct.
Answer to the third question:
When the output variable is a category, such as gender, colour etc. then it falls on the category, classification.
Option A and C will be correct answer. The gender of a person can be either male or female and the there will be abnormally heavy rainfall next year will be predicted by the classification problem.
Answer to the fourth question:
The correct answer will be option C. Mother tongue of a person will be categorical.