This is a simple machine learning project that demonstrates how to implement both linear (with Multi-Feature equation and Gradient Descent) and polynomial regression models using Jupyter Notebook.
- Python 3.1.1
- Jupyter Notebook
- NumPy
- Pandas
- Scikit-learn
- matplotlib
- Clone this repository.
- Install the required packages using
pip install -r requirements.txt
- Open the
MLProject.ipynbfile in Jupyter Notebook. - Run the cells in the notebook to see how the models are implemented.
- Modify the code to suit your needs.
The linear regression model is implemented using scikit-learn's LinearRegression class. The model is trained on a dataset of car prices and mileage.
The polynomial regression model is implemented using scikit-learn's PolynomialFeatures class and LinearRegression class. The model is trained on a dataset of car prices and mileage.
This project demonstrates how to implement both linear and polynomial regression models using Jupyter Notebook. You can use this project as a starting point for your own machine learning projects.