0% found this document useful (0 votes)
6 views

Examples ML Algorithm

Examples

Uploaded by

Sheetal Unhale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Examples ML Algorithm

Examples

Uploaded by

Sheetal Unhale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1. Which of the following are classification tasks?

A. Detect pneumonia from chest X-ray image

B. Predict the price of a house based on floor area, number of rooms etc.

C. Predict the temperature for the next day

D. Predict the amount of rainfall

Correct Answer: A

Detailed Solution : The number of classes in pneumonia detection is discrete. So, it’s a

classification task. In other options, the output variable is a continuous class, so these are

regression tasks.

2. Which of the following is not a type of supervised learning?

A. Classification

B. Regression

C. Clustering

D. None of the above

Correct Answer: C. Clustering

Detailed Solution : Classification and Regression are both supervised learning methods

as they need class labels or target values for training, but Clustering doesn't need target

Which of the following tasks is NOT a suitable machine learning task?

A. Finding the shortest path between a pair of nodes in a graph

B. Predicting if a stock price will rise or fall

C. Predicting the price of petroleum

D. Grouping mails as spams or non-spams

Correct Answer : A. Finding the shortest path between a pair of nodes in a graph
Detailed Solution : Finding the shortest path is a graph theory based task, whereas

other options are completely suitable for machine learning.

Which of the following is/are supervised learning problems?

A. Predicting disease from blood samples.

B. Grouping students in the same class based on similar features.

C. Face recognition to unlock your phone.

Correct Answer: A, C

Detailed Solution: Option B is an unsupervised learning problem.

Aliens challenge you to a complex game that no human has seen before. They give you

time to learn the game and develop strategies before the final showdown. You choose to

use machine learning because an intelligent machine is your only hope. Which machine

learning paradigm should you choose for this?

A. Supervised learning

B. Unsupervised learning

C. Reinforcement learning

D. Use a random number generator and hope for the best

Correct Answer: C. Reinforcement learning

Detailed Solution: Reinforcement learning is the optimal method for building agents for

complex games where no expert trajectories exist. It is possible to design a reward

function/signal that depends on the outcome of the game. The objective of the player

agent is to maximize the total reward collected from the game.


You are given reviews of few movies marked as positive, negative or neutral. Classifying reviews of a new movie is an example of
a.Supervised learning
b.Unsupervised learning
c.Semi-Supervised learning
d.Reinforcement learning

Correct Answer: a

Detailed Solution: Supervised learning is defined as the learning from labelled examples.Given labelled reviews, the model
can learn from them and predict on the new examples.

Which of the following is/are classification tasks?


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

Correct Answers: a, c

Explanation:
In (c), the amount of rainfall is a continuous variable. But, we are predictingwhether there will be
abnormally heavy rainfall next year or not. So it is a Classificationtask. Similarly, the number of classes
in gender identification (a) is discrete. So, it’s aclassification task. The output variable is a continuous
class in other options, so these areregression tasks.

Which of the following is/are classification tasks?

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 conies of a book that will be sold this month

Answer :- a. Find the gender of a person by analyzing his writing style

c. Predict whether there will be abnormally heavy rainfall next year

Explanation:

a. Finding the gender of a person based on writing style involves classifying the person into one of two
classes - male or female.
c. Predicting whether there will be abnormally heavy rainfall next year involves classifying the
occurrence of heavy rainfall as either "abnormally heavy rainfall" or "not abnormally heavy rainfall."
This can be treated as a binary classification problem.

I am the marketing consultant of a leading e-commerce website. I have been given a task of making a system
that recommends products to users based on their activity on Facebook. I realize that user interests could be
highly variable. Hence, I decide to
T1) Cluster the users into communities of like-minded people and
T2) Train separate models for each community to predict which product category (e.g., electronic gadgets.
cosmetics. etc.) would be the most relevant to that community.

The task T1 is a/an _________ learning problem and T2 is a/an ________problem.

Choose from the options:

a. Supervised and unsupervised


b. Unsupervised and supervised
c. Supervised and supervised
d. Unsupervised and unsupervised learning problem and I2 is a/an

Answer :- b

You might also like