필터 지우기
필터 지우기

DO WE CONSIDER ZERO,S IN AVERAGE FILLING METHOD FOR PREDICTION

조회 수: 1 (최근 30일)
abdul wahab  aziz
abdul wahab aziz 2016년 8월 24일
댓글: John D'Errico 2016년 8월 24일
Do we consider zero,s in average filling method for trust predictions. for example if there is a row 2 3 0 0 4 i want to take average will it b like this 2+3+4/2 ? zeros are ignored
  댓글 수: 2
John D'Errico
John D'Errico 2016년 8월 24일
Why post the same question twice in a row? Post your question once.

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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 8월 24일
A=[2 3 0 0 4]
sum(A)/nnz(A)
  댓글 수: 2
abdul wahab  aziz
abdul wahab aziz 2016년 8월 24일
my question was that for this method shall we consider zero,s
Image Analyst
Image Analyst 2016년 8월 24일
In your example, you did not include zeros so Azzi didn't either. However we don't know why the last non-zero column in "2+3+4/2" - the 4 only - was divided by 2. Why 2, and why divide only the 4 by some number and none of the other numbers????

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

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by