Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 639 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 639 Bytes

Learn_Simple_Linear_Regression

Predicting Adipose Tissue with the help of Waist Circumference

Import libraries

Import data

Correlation

Fitting a Linear Regression Model

Predict for new data point

Mean Squared Error (MSE)

Root Mean Squared Error (RMSE)

WC-AT example

image

Creating model with SKLearn

Model Validation

Model with Statsmodels

Applying Transformations

  • y = 𝛼 *log(x) + 𝛽
  • log(y) = 𝛼 *x + 𝛽
  • log(y) = 𝛼x + 𝛼𝑥2 + 𝛽
  • BoxCox Transformation