Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
247 views2 pages

Types of Attributes

This document defines and describes different types of attributes that can be used to represent characteristics of data objects. It discusses nominal, ordinal, binary, numeric (interval-scaled and ratio-scaled), discrete, and continuous attributes. Nominal attributes represent categories or names without order, ordinal attributes have a meaningful order or ranking, and binary attributes have only two possible states. Numeric attributes can be interval-scaled, where only differences have meaning, or ratio-scaled, where true zero exists and ratios can be determined. Discrete attributes have a finite set of possible values, while continuous attributes can have any real number value.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
247 views2 pages

Types of Attributes

This document defines and describes different types of attributes that can be used to represent characteristics of data objects. It discusses nominal, ordinal, binary, numeric (interval-scaled and ratio-scaled), discrete, and continuous attributes. Nominal attributes represent categories or names without order, ordinal attributes have a meaningful order or ranking, and binary attributes have only two possible states. Numeric attributes can be interval-scaled, where only differences have meaning, or ratio-scaled, where true zero exists and ratios can be determined. Discrete attributes have a finite set of possible values, while continuous attributes can have any real number value.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Types Of Attributes

Attribute (or dimension, feature, variable)is a data field,representing a


characteristic or a feature of a data object.E.g., Patient_ID, name, address
Types
Nominal
Ordinal
Binary
Numeric: quantitative
Interval-scaled
Ratio-scaled
Nominal :categories, states, or
names of things .
Hair_color = {black, brown, blond, red, grey, white} ,
marital status, occupation, ID numbers, zip codes
Binary:

Nominal attribute with only 2 states (0 and 1)

Symmetric binary: both outcomes equally important.


e.g., gender
Asymmetric binary: outcomes not equally important.
e.g., medical test (positive vs. negative)
Convention: assign 1 to most important outcome (e.g.,HIV positive)
Ordinal:
Values have a meaningful order (ranking) but magnitude
between successive values is not known.
Eg. Size = {small, medium, large}, grades, army rankings
Quantity (integer or real-valued)
Interval-Scaled : Measured on a scale of equal-sized units .
Values have order.
E.g., temperature in Cor F, calendar dates No true zero-point (we can add
and subtract degrees -100 is 10 warmer than 90-.
we cannot multiply values or create ratios -100 is not twice as warm as
50-).
Ratio-Scaled : Inherent zero-point .
We can speak of values as being an order of magnitude larger than the unit
of measurement (10 K is twice as high as 5 K)
E.g., temperature in Kelvin, length, counts, monetary quantities.
A 6-foot person is 20% taller than a 5-foot person.

A baseball game lasting 3 hours is 50% longer than a game lasting 2


hours.
Discrete Attribute: Has only a finite or countably infinite set of values.
E.g., zip codes, profession, or the set of words in a collection of documents.
Sometimes, represented as integer variables
Note: Binary attributes are a special case of discrete attributes
Continuous Attribute:
Has real numbers as attribute values.
E.g., temperature, height, or weight. Practically, real values can only be
measured and represented using a finite number of digits.Continuous
attributes are typically represented as floating-point variables( float, double ,
long double)

You might also like