Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Proximity Measure for Nominal Attributes formula and example in data mining

How to calculate Proximity Measure for Nominal Attributes?

RollNoMarksGrade
190A
280B
382B
490A

 Try Our Automatic tool to find proximity measure  

Pairs for distance Measurement:

d(RollNo1,RollNo1)d(RollNo1,RollNo2)d(RollNo1,RollNo3)d(RollNo1,RollNo4)
d(RollNo2,RollNo1)d(RollNo2,RollNo2)d(RollNo2,RollNo3)d(RollNo2,RollNo4)
d(RollNo3,RollNo1)d(RollNo3,RollNo2)d(RollNo3,RollNo3)d(RollNo3,RollNo4)
d(RollNo4,RollNo1)d(RollNo4,RollNo2)d(RollNo4,RollNo4)d(RollNo3,RollNo4)

Formulae to calculate Proximity Measure for Nominal Attribute:

distance(object1, Object2) = P – M / P

P is total number of attributes

M is total number of matches

So in our case we have four objects RollNo1, RollNo2, RollNo3, RollNo4

d(1,1) = P – M / P

= 2 – 2 / 2

= 0

d(RollNo1,RollNo2)d(RollNo1,RollNo3)d(RollNo1,RollNo4)
(2,1) = P – M / P

= (2 – 0) / 2

= 1

(2,2) = P – M / P

= (2 – 2) / 2

= 0

d(RollNo2,RollNo3)d(RollNo2,RollNo4)
(3,1) = P – M / P

= (2 – 0) / 2

= 1

(3,2) = P – M / P

= (2 – 1 )/ 2

= 0.5

(3,3) = P – M / P

= (2 – 2 )/ 2

= 0

d(RollNo3,RollNo4)
(4,1) = P – M / P

= (2 – 2) / 2

= 0

(4,2) = P – M / P

= (2 – 0) / 2

= 1

(4,3) = P – M / P

=( 2 – 0 )/ 2

= 1

(4,4) = P – M / P

=( 2 – 2) / 2

= 0

 

Fazal Rehman Shamil Click Here to Know More
Instructor, Researcher, Blogger, SEO Expert, Poet and Publisher of International Journal Of Software, Technology & Science ISSN : 2616 - 5325
Dear Professors and Resarchers!You are welome to Cite these tutorials in your research or slides etc. Please don't forget to mention the reference of website. Copy Paste of text is strcitly forbidden. Images can be reuse because images are protected with watermark.

Leave a Reply

Your email address will not be published. Required fields are marked *