News
8.2. Linear regression with a single explanatory variable There are many ways to do linear regression in Python. We have already used the heavyweight Statsmodels library, so we will continue to use it ...
I use Python 3 and Jupyter Notebooks to generate plots and equations with linear regression on Kaggle data. I checked the correlations and built a basic machine learning model with this dataset.
I then define to separate data frames: Y to hold my response variable (the single column “Strength”) X to hold my explanatory variables Note that I have excluded “AirEntrain” at this point because it ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results