A Practical Guide to Linear Regression
I use Kaggle public dataset "Insurance Premium Prediction" in this exercise. The data includes independent variables: age, sex, bmi, children, smoker, region, and target variable -- expenses. Firstly, let's load the data and have a preliminary examination of the data using df.info() EDA is essential to both investigate the data quality and reveal hidden correlations among variables. In this exercise, I cover three techniques relevant to linear regression.
Sep-18-2021, 13:45:11 GMT
- Technology: