Skip to content

Linear regression with one variable to predict profits for a food truck.

Notifications You must be signed in to change notification settings

amoghasubramanya/Univariate-LinearRegression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Univariate-LinearRegression

Files: Dataset: ex1data.txt Code: UnivariateLR.py Plots and Results:LR.png, Results.png, Costvsiters.png

Linear regression with one variable to predict profits for a food truck. Suppose you are the CEO of a restaurant franchise and are considering different cities for opening a new outlet. The chain already has trucks in various cities and you have data for profits and populations from the cities. 3 You would like to use this data to help you select which city to expand to next. The file ex1data1.txt contains the dataset for our linear regression problem. The first column is the population of a city and the second column is the profit of a food truck in that city. A negative value for profit indicates a loss.

About

Linear regression with one variable to predict profits for a food truck.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages