필터 지우기
필터 지우기

Warning: Regression design matrix is rank deficient to within machine precision.

조회 수: 3 (최근 30일)
Erik Öhrner
Erik Öhrner 2017년 4월 25일
댓글: Abhinav Gaur 2017년 7월 27일
I'm getting this error when I'm trying to do a regression analysis with the function 'model_output = fitlim'. I read somewhere online that it may be due to too many variables (it's a lot in the thousands) but shouldn't Matlab be able to handle it? I'm very new to Matlab just this week so don't have a lot of experience with the software.
I tried to only using about 30 variables and then the function worked but I absolutely need to be able to do with all of my variables. The variables originate from Excel sheets which I only have done log function on beforehand.
  댓글 수: 4
dpb
dpb 2017년 4월 25일
As Jan alludes to, the problem here is likely not Matlab but the underlying data. How many variables versus how many observations do you have? Does that tell you something?
Abhinav Gaur
Abhinav Gaur 2017년 7월 27일
Is it necessary to normalize all the design variables between 0 and 1 before trying to use fitglm?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by