Examples ML Algorithm
Examples ML Algorithm
B. Predict the price of a house based on floor area, number of rooms etc.
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.
A. Classification
B. Regression
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
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
Correct Answer: A, C
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
A. Supervised learning
B. Unsupervised learning
C. Reinforcement learning
Detailed Solution: Reinforcement learning is the optimal method for building agents for
function/signal that depends on the outcome of the game. The objective of the player
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.
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.
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.
Answer :- b