Question: PYTHON(USE GOOGLE COLABORATORY) Artificial intelligence Linear Regression with One Variable Linear Regression with Multiple Variable Question A) implement linear regression and get to show it

PYTHON(USE GOOGLE COLABORATORY)

Artificial intelligence

Linear Regression with One Variable

Linear Regression with Multiple Variable

Question

A)

implement linear regression and get to show it work on data.

Linear regression with one variable In this part of this exercise, you will implement linear regression with one variable to predict prots for a bakery franchise. Suppose you are the Chief Executive Officer of a bakery and are considering dierent cities for opening a new outlet. The chain already has outlets in various cities and you have data for prots and populations from the cities. You would like to use this data to help you select which city to expand to next.

B)

implement linear regression with multiple variables to predict the prices of houses.

Suppose you are selling your house and you want to know what a good market price would be. One way to do this is to rst collect information on recent houses sold and make a model of housing prices.

NOTE:

DO DISPLAY THE OUTPUT OF RUNNING PROGRAM

ADD COMMENTS FOR BETTER understanding OF SOLUTION

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 Databases Questions!