Here is the code to learn and implement the linear regression using the weather dataset and to predict the max temperature by training the model with the given min and max temp data.
- Copy the python file and then download the dataset from https://www.kaggle.com/rafunlearnhub/weatherhistory?select=weatherHistory.csv.
- Install the required libraries and packages
- Run the python file or the .ipynb file in Jupyter or any other python interpreter to the execution of the code.