# Month: April 2021

## Coefficient of Determination

Coefficient of Determination Introduction The Coefficient of Determination is a metric for evaluating the goodness of fit for a linear regression model. This quantity is often defined as:    (1) where is the sum of squared errors, and is the sum of squared total variance. Let’s define these, along with the sum of squared regression …

## Build a Bagging Classifier in Python from Scratch

Build a Bagging Classifier in Python from Scratch Motivation to Build a Bagging Classifier In this article, we will build a bagging classifier in Python from the ground-up. Through this exercise it is hoped that you will gain a deep intuition for how bagging works.  We saw in a previous post that the bootstrap method was …

## Mean Squared Error

Mean Squared Error Introduction In this post we’ll cover the Mean Squared Error (MSE), arguably one of the most popular error metrics for regression analysis. The MSE is expressed as:    (1) where are the model output and are the true values. The summation is performed over individual data points available in our sample. The advantage …