Comparative Analysis of Linear Regression Method and Principal Component Analysis in House Price Prediction

Authors

  • Muhammad Rizki Eka Darmawan Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Suryana Meilanti Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Shofania Lestari Ahmad Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Anjelita Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Ayu Rahmah Wati Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author

DOI:

https://doi.org/10.66256/permata.v2i2.29

Keywords:

Linear Regression, Principal Component Analysis (PCA), House Price Prediction, Linear Algebra, Machine Learning

Abstract

This study compares the role of linear algebra in predicting home prices using Linear Regression and Principal Component Analysis. As a supervised learning method, Linear Regression utilizes matrix operations to estimate model parameters. Meanwhile, PCA, an unsupervised learning method, uses the eigenvalues and eigenvectors of the covariance matrix for dimension reduction. The results showed that Linear Regression achieved very high prediction accuracy, with an R-Squared value of ≈ 0.999, MSE ≈ 11.43, and MAE ≈ 2.86 million Rupiah. In contrast, PCA reduced dimensionality to two main components (PC1 and PC2), which retained 98.23% of the total variance. Comparatively, Linear Regression excels in predictive accuracy and model interpretability, while PCA is more effective in reducing data complexity and addressing multicollinearity issues in large-scale datasets. The results of this study confirm that linear algebra is a crucial foundation for building an efficient and accurate Machine Learning system.

Downloads

Download data is not yet available.

References

[1] P. Kusuma, Machine Learning: Theories, Programs, and Case Studies. Yogyakarta, 2020.

[2] E. Retnoningsih and R. Pramudita, “Getting to Know Machine Learning With Supervised and Unsupervised Learning Techniques Using Python,” BINA Insa. ICT J., vol. 7, no. 2, p. 157, 2020.

[3] I. T. Jolliffe and J. Cadima, “Principal Component Analysis: A Review and Recent Developments,” Philos. Trans. R. Soc. A, vol. 374, 2016.

[4] D. Kartini et al., “PCA and Genetic Algorithm for Microarray Data Classification,” IJEEEMI, vol. 7, no. 1, pp. 154–166, 2025.

[5] L. Asaliontin et al., “Spearman Rank PCA for Mixed Scale Indicator,” CAUCHY J. Math., vol. 10, no. 1, pp. 201–212, 2025.

[6] D. C. Lay, Linear Algebra and Its Applications. Boston, MA: Pearson, 2021.

[7] C. D. Meyer, Matrix Analysis and Applied Linear Algebra. Philadelphia, PA: SIAM, 2000.

[8] J. Nocedal and S. Wright, Numerical Optimization. Springer, 2006.

[9] G. Strang, Introduction to Linear Algebra. Cambridge, MA: Cambridge University Press, 2023.

[10] P. Vincent et al., “Matrix Factorization for Recommended Systems,” IEEE Comput., vol. 42, no. 8, pp. 30–37, 2009.

[11] N. Sihite, Identification of Financial Transaction Fraud Using KNN and Data Dimension Reduction with PCA. Medan, 2025.

[12] T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning. New York, NY: Springer, 2009.

[13] H. Hariyani et al., “Eigenvalue and Eigenvector in PCA for Data Reduction,” J. Comput. Sci., vol. 9, no. 3, pp. 211–221, 2023.

[14] V. Laparra, J. Malo, and G. Camps-Valls, “Dimensionality Reduction via Regression in Hyperspectral Imagery,” IEEE Trans. Geosci. Remote Sens., vol. 54, no. 10, pp. 1–13, 2016.

[15] J. Han, “Modern Application of Linear Algebra in Artificial Intelligence,” IEEE Access, vol. 11, pp. 56481–56492.

Downloads

Published

2026-12-01

Issue

Section

Articles

How to Cite

[1]
“Comparative Analysis of Linear Regression Method and Principal Component Analysis in House Price Prediction”, Perspect. Math. Appl., vol. 2, no. 02, pp. 1–16, Dec. 2026, doi: 10.66256/permata.v2i2.29.

Similar Articles

1-10 of 14

You may also start an advanced similarity search for this article.