Question: 4. Perform the below steps for linear regression: Create a linear regression model Set feature_cols to Installers column data only Set X to feature_cols Set

4. Perform the below steps for linear regression: Create a linear regression model Set feature_cols to Installers column data only Set X to feature_cols Set y to installer retained for 30 days Print the shape of X Print the description of X Print the shape of y Print the description of X Fit the linear regression model with X and y Get predictions for retained for 30 days with 1 install Get predictions for retained for 30 days with 2 installs Get predictions for retained for 30 days with 4 installs Print the intercept Print the coefficient

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!