Skari Blog
한국어

Skari Blog

In-depth guides on data analysis, statistics, and machine learning — from first principles to real-world application.

53 articles

Statistics · Featured

Complete Clustering Guide: Master K-Means, DBSCAN, SOM and More

Master all clustering algorithms from first principles. Learn distance metrics, hyperparameter tuning, algorithm comparison, and real-world application with SKARI.

SKSkari Team·July 2026·18 min read
Read more

Cluster Analysis

K-Means · k=3

K-Means partitions points into k groups, each summarised by its centroid.

Cluster 1Cluster 2Cluster 3

Model Lab

Advanced Clustering Techniques: Ensemble & Multi-Layer Analysis

Go beyond K-Means. Learn ensemble (consensus) clustering, soft/probabilistic assignment, density and hierarchical methods, and how to evaluate clusters properly.

SKSkari Team·July 2026·13 min read
Read more

Co-association Matrix

consensus

How often each pair of points lands in the same cluster across many runs. Dark blocks are the stable clusters the ensemble agrees on.

Model Lab

Regression Analysis: Reading Coefficients, R², and Residuals

What linear regression really tells you — simple vs multiple, how to read the output, the four assumptions, and the mistakes that quietly mislead.

SKSkari Team·July 2026·11 min read
Read more

Linear Regression

R² ≈ 0.8

Regression fits the line that minimises the squared distance to every point.

Model Lab

Classification Models Compared: Logistic, Trees, XGBoost

How the main classifiers differ, which to reach for, the metrics that matter, and why accuracy alone can mislead on imbalanced data.

SKSkari Team·July 2026·11 min read
Read more

Confusion Matrix

Correct predictions sit on the diagonal (TP, TN); off-diagonal cells are the errors.

82TP11FN14FP93TNPNPred +Pred −

Model Lab

Overfitting & Regularization: Bias, Variance, Ridge and Lasso

Why models memorize instead of learn — the bias-variance tradeoff, how to spot overfitting, and how Ridge and Lasso regularization fix it.

SKSkari Team·July 2026·10 min read
Read more

Overfitting

complexity

Training error keeps falling; validation error turns back up. The gap is overfitting — the sweet spot is the dip.

best fit
Validation Training

Model Lab

Decision Trees Explained: Splits, Depth, and Overfitting

How a decision tree learns by asking one question at a time — Gini and entropy, why deep trees overfit, and how pruning and forests fix it.

SKSkari Team·July 2026·8 min read
Read more

Decision Tree

Each split asks one yes/no question, partitioning the data until leaves hold a prediction.

yesno

Model Lab

Gradient Boosting & XGBoost: Turning Weak Trees Strong

How boosting builds trees in sequence, each correcting the last — why XGBoost and LightGBM dominate tabular data, and the settings that matter.

SKSkari Team·July 2026·9 min read
Read more

Gradient Boosting

Each new tree corrects the previous errors — the residual shrinks round after round.

residual error →

Model Lab

Cross-Validation: Scoring a Model You Can Trust

Why a single train/test split can lie, how k-fold cross-validation gives a stable estimate, and the leakage that quietly inflates every score.

SKSkari Team·July 2026·8 min read
Read more

K-Fold Cross-Validation

The data is split into k folds; each takes a turn as the validation set while the rest train.

■ validation□ training

Model Lab

Hyperparameter Tuning: Grid, Random, and the Validation Curve

The difference between parameters and hyperparameters, how grid and random search find the sweet spot, and why the validation curve keeps you from overfitting the tuning itself.

SKSkari Team·July 2026·8 min read
Read more

Hyperparameter Tuning

Training error keeps falling, but validation error bottoms out — the sweet spot before overfitting.

besttrainvalidation

Model Lab

PCA & Dimensionality Reduction: Fewer Columns, Same Signal

How Principal Component Analysis compresses many correlated columns into a few, what the components mean, why scaling matters, and when to use it.

SKSkari Team·July 2026·8 min read
Read more

PCA

PCA finds the axes of greatest variance — the long arrow (PC1) captures most of the spread.

PC1PC2