**Physical Address**

304 North Cardinal St.

Dorchester Center, MA 02124

Question: You train a ridge regression model, you get a R^2 of 1 on your training data and you get a R^2 of 0 on your validation data, what should you do: Nothing your model performs flawlessly on your test…

Question: We create a polynomial feature as follows “PolynomialFeatures(degree=2)”, what is the order of the polynomial 0 1 2 Correct Answers: 3 Introduction to Data Analysis with Python Course Learn how to analyze data using Python. This course will take…

Question: What is the maximum value of R^2 that can be obtained 10 1 0 Correct Answers: 2 Introduction to Data Analysis with Python Course Learn how to analyze data using Python. This course will take you from the basics…

Question: What does the following line of code do: lm = LinearRegression() fit a regression object lm create a linear regression object predict a value Correct Answers: 2 Introduction to Data Analysis with Python Course Learn how to analyze data…

Question: if the p value of the Pearson Correlation is 1: the variables are correlated the variables are not correlated none of the above Correct Answers: 3 Introduction to Data Analysis with Python Course Learn how to analyze data using…

Question: if the Pearson Correlation of two variables is zero: the two variable have zero mean the two variables are not correlated Correct Answers: 2 Introduction to Data Analysis with Python Course Learn how to analyze data using Python. This…

Question: what is the largest possible element resulting in the following operation “df.corr()” 100 1000 1 Correct Answers: 3 Introduction to Data Analysis with Python Course Learn how to analyze data using Python. This course will take you from the…

Question: If we have 10 columns and 100 samples how large is the output of df.corr() 10 x 100 10 x 10 100×100 100×100 Correct Answers: 2 Introduction to Data Analysis with Python Course Learn how to analyze data using…

Question: What task does the following command to df.to_csv(“A.csv”) perform change the name of the column to “A.csv” load the data from a csv file called “A” into a dataframe Save the dataframe df to a csv file called “A.csv”…

Question: What dictionary value would we use to perform a grid search for the following values of alpha: 1,10, 100. No other parameter values should be tested alpha=[1,10,100] [{‘alpha’: [1,10,100]}] [{‘alpha’: [0.001,0.1,1, 10, 100, 1000,10000,100000,100000],’normalize’:[True,False]} ] Correct Answers: 2 Introduction…