Error in NMSE = MSE/MSE00 matrix dimensions don't match
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
Hi all
In case the target and input have multiple rows , meaning , more than one input and target , calculating the MSE , I get one single number , and for MSE00 , I have a 3 *1 matrix , since I have 8 inputs and 3 Targets
how to solve it ?
채택된 답변
Greg Heath
2015년 3월 13일
편집: Greg Heath
2015년 3월 14일
Apparently, you used the wrong equation. Both MSE and MSE00 are scalars.
Search
greg MSE00
댓글 수: 9
Dear Professor
I have used
mean(var(t'),1)
and size(t') = 1055 3 .
that 1055 is the samples. so if this command is wrong , what should I use ?
size(t) = [3 1055]
size(t') = [1055 3]
size(var(t')) = [ 1 3 ]
size(mean(var(t'))) = [ 1 1 ]
OK?
Yes Dear professor
but the above seems to be for MSE00a , not for MSE00 , right ?
I still find contradiction
MSE00=mean(var(t1,1)); % MSE00=0.0095
I used these lines and got the results that I have mentioned them besides the parameters, I would like to know if they are reasonable :
Ntrneq = N*O %3165
ynaive = mean(t,2); % 0.02*ones(O,1)
Nw00 = numel(ynaive) % 3
Ndof00 = Ntrneq-Nw00 % 3162
y00 = repmat(ynaive,1,N); % [3 1055]
SSE00 = sse(t-y00) % 1.2023e+04
MSE00 = SSE00/Ntrneq % 3.7988
MSE00a = SSE00/Ndof00 % 3.8024
% MSE00 = mean(var(targets',1)) %
% MSE00a = mean(var(targets',0)) %
% LINEAR MODEL y0 = W0*[ones(1,N); inputs];
W0 = t/[ones(1,N); x];
Nw0 = numel(W0) % 27
Ndof0 = Ntrneq-Nw0 % 3138
y0 = W0*[ones(1,N); x];
SSE0 = sse(t-y0) % 2.9892e+03 isn't this too big ???
MSE0 = SSE0/Ntrneq % 0.9445 biased
MSE0a = SSE0/Ndof0 % 0.9526 DOFa
R20 = 1-MSE0/MSE00 % 0.7514
R20a = 1-MSE0a/MSE00a % 0.7495
the R2a in neural is 0.999 and mostly 1
I just wanted to know if these lines are correct
My data are 8 inputs and 3 outputs , I am wondering why my regression looks like this

I just don't know why the results are accumulated around the end part
It would be really good If I could know my numbers in the code make sense and are in an agreeable range and also if the ROC diagram is correct
could someone help me in evaluation of the posts above ?
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
