Why this total residual error shows 0.5?

조회 수: 1 (최근 30일)
Spreadea
Spreadea 2019년 12월 17일
편집: Spreadea 2019년 12월 17일
I confirm the function 'findchangepts' following code.
findchangepts([0 1 2],'MinThreshold',0.5)
this result shows total residual error = 0.5. But, in my understanding, each points of residual error are 0, -0.5, +0.5, so the total residual error is 0. Because the values of residual error is each points to red line.
Could you explain me why this total residual value is 0.5?

채택된 답변

Shunichi Kusano
Shunichi Kusano 2019년 12월 17일
Hi Kazuki,
as described in the documentation, it is "the sum of the residual (squared) error".
Hence, in this case, 0^2 + (+0.5)^2 + (-0.5)^2 = 0.5.
HTH.
  댓글 수: 1
Spreadea
Spreadea 2019년 12월 17일
편집: Spreadea 2019년 12월 17일
I see,I just miss understanding. Thank you very much answer for me!!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by