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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started