项目作者: CO18325

项目描述 :
UNIVARIATE LINEAR REGRESSION - MACHINE LEARNING
高级语言: Python
项目地址: git://github.com/CO18325/UNIVARIATE-LINEAR-REGRESSION.git
创建时间: 2020-09-02T19:33:45Z
项目社区:https://github.com/CO18325/UNIVARIATE-LINEAR-REGRESSION

开源协议:

下载


LINEAR REGRESSION

INDERPREET SINGH

inderpreet221099@gmail.com


Python 3.6
version


INSTALLATION PROCESS

  1. git clone https://github.com/CO18325/UNIVARIATE-LINEAR-REGRESSION.git
  2. pip install numpy
  3. pip install pandas
  4. pip install matplotlib
  5. pip install seaborn
  6. python script.py



INTRODUCTION


Linear Regression is a supervised machine learning algorithm where the predicted output is continuous and has a constant slope. Linear regression is used for finding linear relationship between target and one or more predictors. It’s used to predict values within a continuous range, (e.g. sales, price) rather than trying to classify them into categories (e.g. cat, dog).

The core idea is to obtain a line that best fits the data. The best fit line is the one for which total prediction error (all data points) are as small as possible. Error is the distance between the point to the regression line.





## PROJECT DESCRIPTION


This project is on Linear Regression Model of Machine Learning. It is built completely from scratch ie no library which consists of pre-defined Machine Learning models such as scdfdsfs is used. In this model we used Gradient Descent to optimize the Cost Function. Core language is Python. This model is build in the form of a complete end-to-end program rather than a model on Jupyter Notebook

DATASET DESCRIPTION


We have a dataset of manufacturing company. The dataset consists of two colummns:

>>POPULATION OF EACH CITY

>>PROFIT PER CITY


Thus, we need to find the relation of profit of the company and the population of the city. Thus, after finding the optimal relation we can predict the profits for various unknown cities based on the knowledge of their population.



EVENT CERTIFICATION CRITERIA

  • FORK THE REPOSITORY
  • OPEN THE EVENTS FOLDER (IN YOUR FORKED REPO)
  • CREATE A NEW FILE WITH YOUR GITHUB USERNAME AS YOUR FILENAME
  • IN FIRST TWO LINES WRITE YOUR NAME AND EMAIL-ID RESPECTIVELY
  • WRITE THE SUMMARY OF THE EVENT IN YOUR WORDS
  • COMMIT THE FILE
  • CREATE A PULL REQUEST

    AND YOU ARE DONE!!😁😁