top of page

Yujin Kim,

PhD

The objective of this task is to implement the linear regression in Section - ArcGIS using Python [1] instead of the ArcGIS Pro. Python packages, including NumPy [2], Pandas [3], Matplotlib [4], seaborn [5] and scikit-learn [6] were used. The same data set from Section - ArcGIS was input: the dependent variable COOLING and the 12 independent variables.

Aim

Prediction Using Python

Python – Linear Regression Modelling

Python code

Fig. 1.1 displays code that I wrote to analyse relationships between the variables, train the data set, build a linear regression model and validate the results [1–6].

Fig. 1.11. Linear Regression using Python
 

[1] Python,
https://www.python.org/.

[2] NumPy,
https://numpy.org/.

[3] Pandas,
https://pandas.pydata.org/.

[4] Matplotlib,
https://matplotlib.org/.

[5] seaborn,
https://seaborn.pydata.org/.

[6] scikit-learn,
https://scikit-learn.org/stable/.
 

References

bottom of page