{"repo":"mahdi-eth/Linear-Regression-from-Scratch","free":true,"listed":false,"github":"https://github.com/mahdi-eth/Linear-Regression-from-Scratch","clone":"git clone https://github.com/mahdi-eth/Linear-Regression-from-Scratch.git","description":"This project implements a Python-based linear regression model from scratch, complete with custom functions for mean squared error and gradient descent algorithm. It is tested on data, using features to predict target variables. The project offers a practical introduction to linear regression.","language":"Jupyter Notebook","stars":16,"topics":["algorithm","data-science","data-visualization","linear-regression","machine-learning","machine-learning-algorithms","python"],"license":"MIT","category":"machine-learning","readme_excerpt":"Linear Regression Model from Scratch This project contains an implementation of a Linear Regression model from scratch in Python, as well as an example usage of the model on a random dataset generated using scikit-learn. Usage To use the Linear Regression model, simply import the LinearRegression class from the Linear regression.py file in your Python code, create an instance of the class, and call the fit method on your training data to train the model. Once the model is trained, you can use the predict method to make predictions on new data. Example An example of using the Linear Regression model on a random dataset with multiple features can be found in the test model.ipynb file. This file generates a random dataset using scikit-learn, trains a Linear Regression model using the LinearRegression class, and makes predictions on the test set. The predicted values are then compared to the true values to evaluate the performance of the model. Contributions Contributions to this project are welcome. If you find a bug or have a suggestion for improvement, please feel free to open an issue or submit a pull request. License This project is licensed under the MIT License. See the LICENSE file for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mahdi-eth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mahdi-eth/Linear-Regression-from-Scratch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}