# NPTEL Python for Data Science Assignment 4 Answers 2022 NPTEL Python for Data Science Assignment 4 Answers:- Hello students in this article we are going to share NPTEL Python for Data Science assignment week 4 answers. All the Answers provided below to help the students as a reference, You must submit your assignment at your own knowledge.

Below you can find NPTEL Python for Data Science Assignment 4 Answers

### NPTEL Python for Data Science Assignment 4 Answers 2022:-

Q1. The power consumption of an individual house in a residential complex has been recorded for the previous year. This data is analysed to predict the power consumption for the next year. Under which type of machine learning problem does this fall under?

a. Classification
b. Regression
c. Reinforcement Learning
d. None of the above

Q2. A dataset contains data collected by the Tamil Nadu Pollution Control Board on environmental conditions (154 variables) from one of their monitoring stations. This data is further analyzed to understand the most significant factors that affect the Air Quality Index. The predictive algorithm that can be used in this situation is ___________.

Q3. A regression model with the following function y = 60 + 5.2x was built to understand the impact of humidity (x) on rainfall (y). The humidity this week is 30 more than the previous week. What is the predicted difference in rainfall?

Q4. Which of the following machine learning techniques would NOT be appropriate to solve the problem given in the problem statement?

Q5. The plot shown below denotes the percentage distribution of the target column values within the train_data dataframe. Which of the following options are correct?

Answer: b. No > 70, Yes > 20

Q6. After applying logistic regression, what is/are the correct observations from the resultant confusion matrix?

Answer: b. True Positive = 94, True Negative = 29

Q7. The logistic regression model built between the input and output variables is checked for its prediction accuracy of the test data. What is the accuracy range (in %) of the predictions made over test data?

Q8. How are categorical variables preprocessed before model building?

Q9. A multiple linear regression model is built on the Global Happiness Index dataset “GHI_Report.csv”. What is the RMSE of the baseline model?

Q10. X and Y are two variables that have a strong linear relationship. Which of the following statements are incorrect?

Answer: a. There cannot be a negative relationship between the two variables

c. One variable may or may not cause a change in the other variable.