**Prerequisites :** Data Mining

When we talk about data mining, we usually discuss about knowledge discovery from data. To get to know about the data it is necessary to discuss about data objects, data attributes and types of data attributes. Mining data includes knowing about data, finding relation between data. And for this we need to discuss about data objects and attributes.

Data objects are the essential part of a database. A data object represents the entity. Data Objects are like group of attributes of a entity. For example a sales data object may represent customer, sales or purchases.When a data object is listed in a database they are called data tuples.

**Attribute**

It can be seen as a data field that represents characteristics or features of a data object. For a customer object attributes can be customer Id, address etc. We can say that a **set of attributes used to describe a given object are known as attribute vector or feature vector.**

**Type of attributes :**

This is the First step of Data Data-preprocessing. We differentiate between different types of attributes and then preprocess the data. So here is description of attribute types.

1. Qualitative (Nominal (N), Ordinal (O), Binary(B)).

2. Quantitative (Discrete, Continuous)

**Qualitative Attributes**

**Nominal Attributes – related to names :**The values of a Nominal attribute are name of things, some kind of symbols. Values of Nominal attributes represents some category or state and that’s why nominal attribute also referred as**categorical attributes**and there is no order (rank, position) among values of nominal attribute.

Example :

**Binary Attributes :**Binary data has only 2 values/states. For Example yes or no, affected or unaffected, true or false.

i)**Symmetric :**Both values are equally important (Gender).

ii)**Asymmetric :**Both values are not equally important (Result).**Ordinal Attributes :**The Ordinal Attributes contains values that have a meaningful sequence or ranking(order) between them, but the magnitude between values is not actually known, the order of values that shows what is important but don’t indicate how important it is.

**Quantitative Attributes**

**Numeric :**A numeric attribute is quantitative because, it is a measurable quantity, represented in integer or real values. Numerical attributes are of 2 types,**interval**and**ratio**.

i) An**interval-scaled**attribute has values, whose differences are interpretable, but the numerical attributes do not have the correct reference point or we can call zero point. Data can be added and subtracted at interval scale but can not be multiplied or divided.Consider a example of temperature in degrees Centigrade. If a days temperature of one day is twice than the other day we cannot say that one day is twice as hot as another day.ii) A

**ratio-scaled**attribute is a numeric attribute with an fix zero-point. If a measurement is ratio-scaled, we can say of a value as being a multiple (or ratio) of another value. The values are ordered, and we can also compute the difference between values, and the mean, median, mode, Quantile-range and Five number summary can be given.**Discrete :**Discrete data have finite values it can be numerical and can also be in categorical form. These attributes has finite or countably infinite set of values.

Example

**Continuous**: Continuous data have infinite no of states. Continuous data is of float type. There can be many values between 2 and 3.

Example :

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.