Skip to content

rohit1576/ML-Algorithms

Repository files navigation

Linear-Regression

Add data points interactively on the plot and best fit line would be predicted.

alt text

Instructions:
Clone the repository or download as a zip file
Set your current directory
Run python '.\Linear Regression.py'

Note: This code may not work on Jupyter Notebook.

Linear Regression on Anscombe data set:

Run python anscombe.py

alt text

This shows that the regressor predicts same line for 4 different data sets, so data scientists should first analyze the data before applying any Machine Learning Model.

Logistic Regression from scratch has been implemented in python.

The Iris dataset has been used. alt text