A Principal-Components-Regression method by using Cp to choose the best number of principal components.
Include the realisation of PCAR, contrast of PCAR & LR, analyse on the influnce of standardized y and intercept.
Folder "source" includes some functions and a class we need.
Created by Tuozhenliu on 2020/4/1 through jupyter notebook for Data Mining homework.