Download Data-Models-Represen..

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Data Models, Representation,
Transformation
Adapted from
Stone & Zellweger
Basic Elements of a Data Model
• A data model represents some aspect of the
world
• Data models consist of these basic elements:
▫ Entities (objects)
▫ Attributes (values/characteristics of Entities)
▫ Relationships between entities
Basic Elements: Entities
Adapted from
Stone & Zellweger
• Entities are objects of interest
▫ Places, people, movies, animals
• Entities allow you to define and reason about
a domain
▫ Business
▫ Family tree
▫ University
▫ Scientific model
Basic Elements: Values
Adapted from
Stone & Zellweger
• Attributes are properties of Entities
• Two major types
▫ Quantitative
▫ Categorical (several classes)
• Appropriate visualizations often depend upon
the type of the data values
Basic Elements: Relations
Adapted from
Stone & Zellweger
• Relations relate two or more Entities
▫ leaves are part of a plant
▫ a department consists of employees
▫ A person is related to another person
Common Data Types
• Categorical (unordered set, supports =)
• Ordinal (ordered set, supports <, >, =)
• Interval (starts out as quantitative, but is
made categorical by subdividing into ordered
ranges)
• Continuous (ordered and proportional,
supports general arithmetic operators)
Categorical
• unordered set
• Operators: = (equality)
• Also know as “Nominal”
• Examples
▫ Eye Color
▫ Fruits
▫ Directions: East, West, South, North
▫ Symbols
▫ Colors
▫ Music Genre
Ordinal
• ordered set
• Operators: =, <, >
• Also know as “Ordered”
• Examples
▫ Low, Medium, High
▫ Cold, Warm, Hot
▫ First-born, second-born, third-born, …
Interval
▫ Boxing Weight Classes
▫ Months: Jan, Feb, Mar, Apr, …
▫ Binned numbers 0-9, 10-19, 20-29, …
▫ Women’s dress sizes 
Continuous
• Proportional, ordered set
• Operators: =, <, >, *, /, %
• Also know as “Quantitative, Ratio”
• Examples
▫ Temperature
▫ Weight
▫ Pressure
▫ Population
▫ Number of words in document
▫ Any quantities properly represented by integers
or rational numbers
Related documents