Principal component regression (PCR)

I am trying to fit PCR in a dataset. My problem is, how I can fit the regression model on another dataset say Test data after doing the PCA ? My first problem is on the dimension of test data, mismatching. If I take test data from the original one as a 70-30 then I am getting less for the fitted regressors for a suitable components but expecting a better goodness of fit. Or it's not possible to apply PCR on test data ?

댓글 수: 1

Image Analyst
Image Analyst 2021년 9월 25일
Attach your dataset. Try the Regression Learner App on the Apps tab of the tool ribbon.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

질문:

2021년 9월 24일

댓글:

2021년 9월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by