github-hosted

  • | |

    Medallion Architecture in Practice

    🇺🇸🇰🇷 A pipeline that carries data from untouched source files to a model-ready dataset in five stages: Original, Raw, Clean, Structured, and Feature. Each consumes only the stage before it and maps onto one Medallion layer, so immutability, deterministic transforms, and column-level lineage let any prediction be traced back to its source record.

  • | | |

    Centered R² vs Uncentered R²

    🇺🇸🇰🇷 Centered R² measures variance explained relative to the mean, while uncentered R² measures agreement relative to zero. This article compares the two, derives the uncentered form from the orthogonality of residuals, reads both as angles between vectors, and argues that uncentered R² is the better metric for judging 1:1-line agreement on same-unit data.

  • |

    Variance Components in $R^2$ (Coefficient of Determination)

    🇺🇸🇰🇷 R² is a ratio, not an absolute measure of accuracy, so it moves with the spread of the data rather than with the correctness of the model alone. Higher residual variance drives it down, a wider range of the predictor pushes it up, and a narrow target range makes even small errors look like failure.

  • | | |

    Regression Metrics

    🇺🇸🇰🇷 Regression metrics split into three families: variance-based indices that track the trend, mean-based indices that measure absolute distance, and agreement indices that demand both at once. Read against the 1:1 line, each family answers a different question, and the variance-based ones collapse when the target range is narrow.