Comparative Analysis of Linear Regression Method and Principal Component Analysis in House Price Prediction
DOI:
https://doi.org/10.66256/permata.v2i2.29Keywords:
Linear Regression, Principal Component Analysis (PCA), House Price Prediction, Linear Algebra, Machine LearningAbstract
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
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
Issue
Section
License
Copyright (c) 2026 Muhammad Rizki Eka Darmawan, Suryana Meilanti, Shofania Lestari Ahmad, Anjelita, Ayu Rahmah Wati (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in Perspectives in Mathematics and Applications (PERMATA) are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
This license allows anyone to:
-
Share — copy and redistribute the material in any medium or format,
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially,
as long as appropriate credit is given, a link to the license is provided, and any changes are indicated.
If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
???? Read the full license: https://creativecommons.org/licenses/by-sa/4.0/







