Linear Regression Projects
This repository contains multiple beginner-friendly Linear Regression machine learning projects built in a single Jupyter Notebook.
Projects Included
- Salary Prediction based on Experience
This project predicts salary using years of experience.
Input:
- Years of Experience
Output:
- Predicted Salary
Example:
- 2 years → ₹X salary
- 5 years → ₹X salary
- Ice Cream Sales Prediction based on Temperature
This project predicts ice cream sales depending on temperature.
Input:
- Temperature
Output:
- Ice Cream Sales
Example:
- 20°C → X sales
- 35°C → X sales
- Student Marks Prediction
This project predicts student marks based on study hours.
Input:
- Study Hours
Output:
- Marks
Example:
- 2 hours → X marks
- 8 hours → X marks
Machine Learning Algorithm Used
Linear Regression
Libraries Used
- Pandas
- NumPy
- Matplotlib
- Scikit-learn
Steps Performed
- Data Loading
- Data Cleaning
- Train-Test Split
- Model Training
- Prediction
- Evaluation
- Graph Visualization
Graphs Included
- Salary vs Experience Graph
- Ice Cream Sales vs Temperature Graph
- Study Hours vs Marks Graph
Purpose
These projects are created for learning and understanding the basics of Linear Regression.
Author
Farhan Tanwar