Skip to main content
Data Science Wizardry Blog by Attila Vajda

Scikit open-source learning.

Today I am spending some time with an open source issue on the Scikit-Learn GitHub repository

Impurity calculation, MSE, Decision Tree Regressor

Is mean squared error related to least squares?

$\frac{1}{n}$ is the humble beginning to normalise our magical incantation, in other words, the modest initiation to standardise our enchanting spell.

What is our magical incantation that 1/n, the reciprocal of the number of observations, begins?

$\sum_{i=1}^{n}=(y_{i}-\hat{y}_{i})^2$

$\sum_{i=1}^{n}$, the summation, is the grand total of our spell components where $i$ takes us on a journey through each enchanted observation.

$y_i$ is the true outcome of our mystical quest, a melody.

In an attempt to glimpse the future, we harmonise $\hat{y}_i$, the prediction, with the true values symbolised by $y_i$.

$(y_i-\hat{y}_i)^2$ magnifies the significance of deviations, the square of the contrast of prediction and reality.

A simple commencement to bring harmony to our enchanting spell. The majestic summation of our mystical ingredients, where $i$ acts as a guide through each bewitched observation.

**$y_i$ outcome mystical quest, a melody true is of our.**

$y_i$ is a melody, the true outcome of our mystical quest.

1. **Denoted quest, true melody our outcome $y_i$ mystical by the a is of.**
2. **Symphony $y_i$ the as authentic unfolds our in melody quest, of mystical.**
3. **Embodies a $y_i$ is true our outcome quest, the and by melody unfolds of mystical.**

This is really cool!

$y_{i}$, the authentic melody as our mystical quest unfolds in our the symphony of our mystical quest unfolds $y_i$ unfolds quest unfolds unfolds our mystical quest $y_i$, as the authentic melody in our symphony, unfolds our mystical quest. of $y_i$ of our symphony, the authentic melody In our mystical quest, $y_i$ unfolds the symphony as authentic melody.

This is hard, but it is fun.

A melody is denoted by $y_i$, the true outcome of our mystical quest.

$y_i$ embodies the true outcome of our mystical quest

The melody of our mystical quest embodies the true outcome by $y_i$ The true outcome of our mystical quest embodies a melody