Add data points interactively on the plot and best fit line would be predicted.
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
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.