NPTEL Machine Learning for Engineering and science applications Assignment 2 Answers 2024

NPTEL Machine Learning for Engineering and science applications Assignment 2 Answers 2024

Hello learners In this article we are going to discuss NPTEL Machine Learning for Engineering and science applications Assignment 2 Answers. All the Answers provided below to help the students as a reference, You must submit your assignment with your own knowledge and use this article as reference only.

About the course:-

Recent applications of machine learning have exploded due to cheaply available computational resources as well as wide availability of data. Machine Learning (ML) techniques provides a set of tools that can automatically detect patterns in data which can then be utilized for predictions and for developing models. Developments in ML algorithms and computational capabilities have now made it possible to scale engineering analysis, decision making and design rapidly.

NPTEL Machine Learning for Engineering and science applications Assignment 2 Answers 2024:

1. A survey is conducted on a group of 1000 people. 600 people are female, 400 people are male. 200 females and 100 males have a college degree. Let X be the random variable representing gender (1 for female, 0 for male) and Y the random variable representing education (1 for degree, 0 for no degree). Find the conditional probability P(X= 1|Y = 1).

Answer :- a

For question 2-3, An insurance company classifies insured policyholders into accident-prone or non- accident-prone. Their current risk model works with the following probabilities. The probability that an accident-prone insured has an accident within a year is 0.4. The probability that a non-accident-prone insured has an accident within a year is 0.2.

2.  If 30% of the population is accident-prone, what is the probability that a policyholder will have an accident within a year?

Answer :- c

3. Suppose now that the policyholder has had an accident within one year. What is the probability that he or she is accident-prone?

Answer :- d

For question 4-5, Suppose a factory has machines I, II, and III that produce iSung phones. The factory’s record shows that Machines I, II and III produce, respectively, 2%, 1%, and 3% defective iSungs. Out of the total production, machines I, II, and III produce, respectively, 35%, 25% and 40% of all iSungs. An iSung is selected at random from the factory.

4. What is probability that the iSung selected is defective?

Answer :- a

5. Given that the iSung is defective, what is the conditional probability that it was produced by machine III?

Answer :- b

For Question 6-7, Given a random variable (X) with the following probability distribution:
• (X = 1) with probability (0.2)
• (X = 2) with probability (0.3)
• (X = 3) with probability (0.5)

6. Calculate the expectation of (X):

Answer :- d

7. Calculate the Variance of (X):

Answer :- c

8. Given two random variables X and Y, with the joint distribution:

Answer :- d

9. A company is analyzing the relationship between the number of advertisements (X) and the number of products sold (Y) for two different products over 4 weeks. The joint distribution for the number of advertisements and products sold is given by:

Answer :- c

10. An email system correctly identifies 98% of spam emails (true positive) and correctly identifies 97% of non-spam emails (true negative). If 20% of emails received are spam, what is the probability that an email identified as spam is actually spam?

Answer :- c