finding boundaries

조회 수: 1 (최근 30일)
FIR
FIR 2012년 1월 4일
I have an matrix ,i have found minimum and maximum valure for it ,please tell how to do the following
ho to Initialize all possible interval boundaries B with the minimum and maximum
[Merged from duplicate]
i have dataset
age attribute=[3;56;15;17;21;35;45;46;51;56;57;66;70;71]
please tell how to process the following ------CACC USED BELOW refers to discretization algorithm
CACC finds the minimum (d0 = 3) and maximum (dn = 71) of the age attribute, and then sorts all values in ascending order. The Globalcacc is set to 0 as default. In the first loop, CACC gets the cutting point for which the maximum cacc (=0.5045) is age = 10.50. Since 0.5045 > Globalcacc (=0), CACC updates the Globalcacc = 0.5045 and runs the second loop. At this point, the attribute age is discretized into two intervals: [3.00, 10.50] and (10.50, 71]. Similarly, CACC generates the second cutting point at 61.50 and its corresponding cacc (=0.6473) > Globalcacc (=0.5045), so that Globalcacc is updated to 0.6473 and the third loop is processed. CACC continues to follow the same process for the third cutting point (age = 28.00) with the corresponding Globalcacc = 0.6612, and for the fourth cutting point (age = 48.50) with the corresponding
  댓글 수: 10
FIR
FIR 2012년 1월 5일
Walter please look at this file,
http://www.sendspace.com/file/v63szh
and give suggestion
Walter Roberson
Walter Roberson 2012년 1월 5일
We assume on this forum that you have already studied the theory behind what you want to do, and that you can explain the key points in an understandable manner. This forum is for assistance with the MATLAB language, not for assistance in understanding theory papers.
And it is time for me to estivate.

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

답변 (1개)

Walter Roberson
Walter Roberson 2012년 1월 6일
Your duplicate question has been deleted and the content moved to here.
Your duplicate still had far far too many "magic numbers" for anyone to make any sense of.
  댓글 수: 4
FIR
FIR 2012년 1월 10일
walter value of 10.5 i calculate by
age=[3;5;6;15;17;21;35;45;46;51;56;57;66;70;71]
ignoring min and max value we get
age=[5;6;15;17;21;35;45;46;51;56;57;66;70]
by taking mid pointd of ever 2 variables
we get
10.5
16
;
;
;
;
;
68
value of cacc is calculted by formula
FIR
FIR 2012년 1월 10일
http://www.sendspace.com/file/scymbl

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by