🫀 Heart Disease ML Predictor

Powered by PCA Dimensionality Reduction + Random Forest Logic. Trained on UCI Heart Disease Data.

Live Input

🔻 PCA Patient Projection (PC1 vs PC2)

DIMENSIONALITY REDUCTION

The Red Dot represents your current patient. Its position is calculated by projecting the 5 clinical inputs onto the first two Principal Components derived from the training set.

How PCA works here:

We use a linear projection matrix. Your inputs are scaled and multiplied by eigenvector coefficients to plot the 2D coordinate.

Random Forest logic:

We simulate the ensemble by aggregating weighted thresholds (Entropy/Gini) for the 5 selected features.