






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Data Mining Sanjay Ranka Fall 2003 2
University of Florida CISE department Gator Engineering
Data Mining Sanjay Ranka Fall 2003 3
Type of an Attribute
following properties:
Data Mining Sanjay Ranka Fall 2003 4
University of Florida CISE department Gator Engineering
Types of Attributes
Attribute Type
Description Examples Operations
Nominal Each value represents a label. (Typical comparisons between two values are limited to “equal” or “no equal”)
Flower color, gender, zip code
Mode, entropy, contingency correlation, χ^2 test
Ordinal The values can be ordered. (Typical comparisons between two values are “equal” or “greater” or “less”)
Hardness of minerals, {good, better, best}, grades, street numbers, rank, age
Median, percentiles, rank correlation, run tests, sign tests
Interval The differences between values are meaningful, i.e., a unit of measurement exists. (+, - )
Calendar dates, temperature in Celsius or Fahrenheit
Mean, standard deviation, Pearson's correlation, t and F tests Ratio Differences and ratios are meaningful. (*, /)
Monetary quantities, counts, age, mass, length, electrical current
Geometric mean, harmonic mean, percent variation
Data Mining Sanjay Ranka Fall 2003 7
Structured Data Sets
Data Mining Sanjay Ranka Fall 2003 8
University of Florida CISE department Gator Engineering
Record Data
mining work is focused
around data sets that
consist of a collection of
records (data objects),
each of which consists of
fixed set of data fields
(attributes)
Lynette F 1.75 m Medium
Amy F 1.8 m Medium
Kim F 1.9 m Tall
Todd M 1.95 m Medium
Debbie F 1.8 m Medium
Steven M 2.1 m Tall
Worth M 2.2 m Tall
Dave M 1.7 m Medium
Kathy F 1.6 m Medium
Bob M 1.85 m Medium
Stephanie F 1.7 m Medium
Martha F 1.88 m Tall
Maggie F 1.9 m Tall
Jim M 2 m Medium
Kristina F 1.6 m Medium
Name Gender Height Output
Source: Data Mining – Introductory and Advanced topics by Margaret Dunham
Data Mining Sanjay Ranka Fall 2003 9
Data Matrix
numeric attributes, then each object represents a
point (vector) in multi-dimensional space
dimension
Distance Load Thickness
Projection of Y load
Projection of X load
Data Mining Sanjay Ranka Fall 2003 10
University of Florida CISE department Gator Engineering
Document Data
each term is a component (attribute) of the
vector, and where the value of each component
of the vector is the number of times the
corresponding term occurs in the document
Document 1
timeout season team^ coach play ball score^ game win lost
Document 2
Document 3
3 0 5 0 2 6 0 2 0 2
0
0
7 0 2 1 0 0 3 0 0
1 0 0 1 2 2 0 3 0
Data Mining Sanjay Ranka Fall 2003 13
Ordered Data: Transaction Data
(AB) (D) (CE)
(BD) (C) (E)
(CD) (B) (AE)
Data Mining Sanjay Ranka Fall 2003 14
University of Florida CISE department Gator Engineering
Ordered Data: Genomic Sequence
Data
GGTTCCGCCTTCAGCCCCGCGCC
CGCAGGGCCCGCCCCGCGCCGTC
GAGAAGGGCCCGCCTGGCGGGCG
GGGGGAGGCGGGGCCGCCCGAGC
CCAACCGAGTCCGACCAGGTGCC
CCCTCTGCTCGGCCTAGACCTGA
GCTCATTAGGCGGCAGCGGACAG
GCCAAGTAGAACACGCGAAGCGC
TGGGCTGCCTGCTGCGACCAGGG
Data Mining Sanjay Ranka Fall 2003 15
Ordered Data: Spatio-temporal Data
patterns of interest to
earth scientists
values for a number of
variables on land surfaces
and water surfaces
10 to 50 years
SST
Precipitation
NPP Pressure
SST
Precipitation
NPP Pressure
Longitude
Latitude
grid cell (^) Time zone
. . .
Ocean and Land Temperature (Jan 1982)
Data Mining Sanjay Ranka Fall 2003 16
University of Florida CISE department Gator Engineering
Data Quality
Data Mining Sanjay Ranka Fall 2003 19
Missing Values:
Estimating Them
changes in a reasonably
smooth fashion. The
missing values can be
estimated by
interpolation
many similar data points,
a nearest neighbor
approach can be used to
estimate the missing
value. If the attribute is
continuous, then the
average attribute value of
the nearest neighbors can
be used. While if the
attribute is categorical, then the most commonly
occurring attribute value
can be taken
Data Mining Sanjay Ranka Fall 2003 20
University of Florida CISE department Gator Engineering
Missing Values: Using the Missing
Value As Another Value
modified to operate by ignoring missing
values
of data objects needs to be calculated. If
one or both objects of a pair have missing
values for some attributes, then the
similarity can be calculated by using only
the other attributes.