Decision Tree

Curs
7/10 (1 vot)
Domeniu: Engleză
Conține 1 fișier: doc
Pagini : 17 în total
Cuvinte : 2963
Mărime: 973.02KB (arhivat)
Publicat de: Benone Toma
Puncte necesare: 0
Profesor îndrumător / Prezentat Profesorului: Moisil I
Explica arbori decizionali

Extras din curs

Decision tree is a popular classifier that does not require any knowledge or parameter setting. The approach is supervised learning. Given a training data, we can induce a decision tree. From a decision tree we can easily create rules about the data. Using decision tree, we can easily predict the classification of unseen records. In this decision tree tutorial, you will learn how to use, and how to build a decision tree in a very simple explanation.

Decision tree is a hierarchical tree structure that used to classify classes based on a series of questions (or rules) about the attributes of the class. The attributes of the classes can be any type of variables from binary, nominal, ordinal, and quantitative values, while the classes must be qualitative type (categorical or binary, or ordinal). In short, given a data of attributes together with its classes, a decision tree produces a sequence of rules (or series of questions) that can be used to recognize the class.

Let us start with an example. Throughout this tutorial, we will use the following 10 training data. The training data is supposed to be a part of a transportation study regarding mode choice to select Bus, Car or Train among commuters along a major route in a city, gathered through a questionnaire study. The data have 4 attributes which I selected for the shake of clarity. Attribute gender is binary type, car ownership is quantitative integer (thus behave like nominal). Travel cost/km is quantitative of ratio type but in here I put into ordinal type (because quantitative data need to be split into qualitative data) and income level is also an ordinal type.

Attributes Classes

Gender Car ownership Travel Cost ($)/km Income Level Transportation mode

Male 0 Cheap Low Bus

Male 1 Cheap Medium Bus

Female 1 Cheap Medium Train

Female 0 Cheap Low Bus

Male 1 Cheap Medium Bus

Male 0 Standard Medium Train

Female 1 Standard Medium Train

Female 1 Expensive High Car

Male 2 Expensive Medium Car

Female 2 Expensive High Car

Based on above training data, we can induce a decision tree as the following:

Notice that attribute “income level” is not included in the decision tree because based on the given data attribute “travel cost per km” would produce better classification than “income level”. We will see later how the decision is generated. In the next section, I will discuss how to use a decision tree to predict unseen record.

Decision tree can be used to predict a pattern or to classify the class of a data. Suppose we have new unseen records of a person from the same location where the data sample was taken. The following data are called test data (in contrast to training data ) because we would like to examine the classes of these data.

Person name Gender Car ownership Travel Cost ($)/km Income Level Transportation Mode

Alex Male 1 Standard High ?

Buddy Male 0 Cheap Medium ?

Cherry Female 1 Cheap High ?

The question is what transportation mode would Alex, Buddy and Cheery use? Using the decision tree that we have generated in the previous section, we will use deductive approach to classify whether a person will use car, train or bus as his or her mode along a major route in that city, based on the given attributes.

Preview document

Decision Tree - Pagina 1
Decision Tree - Pagina 2
Decision Tree - Pagina 3
Decision Tree - Pagina 4
Decision Tree - Pagina 5
Decision Tree - Pagina 6
Decision Tree - Pagina 7
Decision Tree - Pagina 8
Decision Tree - Pagina 9
Decision Tree - Pagina 10
Decision Tree - Pagina 11
Decision Tree - Pagina 12
Decision Tree - Pagina 13
Decision Tree - Pagina 14
Decision Tree - Pagina 15
Decision Tree - Pagina 16
Decision Tree - Pagina 17

Conținut arhivă zip

  • Decision Tree.doc

Alții au mai descărcat și

Risk Management - A Science Or An Art

Strategies for identifying and measuring risk can help treasury personnel develop a sound diversification policy Before a risk profile can be...

The Evolution of Computer Science

The Evolution Of Computer Science The birth of computers and information technology goes back many centuries. The development of mathematics led...

11th of September 2001

The day of September 11th 2001 will remain as a dark day in history. All people know about this day and what happened at this date. On this day,...

The Tempest

Type of Work - Play Genre - Romance Language - Elizabethan English Time and place written - 16101611; England Tone - Dreamy,...

Test de engleză 3

Part Three: Gapped Text You are going to read a magazine article about a trip to Australia. Seven paragraphs have been removed from the article...

Prezentare a Mediului de Afaceri Argentinian

INTRODUCTION Essential facts about Argentina Geert Hofstede analysis over Argentina and the Latin American countries BUSINESS ETIQUETTE...

Te-ar putea interesa și

Analiza diagnostic a activității firmei Mobexpert Prod SA

CAPITOLUL 1. PREZENTAREA GRUPULUI DE FIRME MOBEXPERT 1.1. SCURT ISTORIC AL GRUPULUI MOBEXPERT Prima firmă a grupului MOBERXPERT a fost înfiinţată...

Decizia managerială asistată de calculator pentru îndeplinirea obiectivelor propuse la firma SC PUIPIU SA

Proiectul la disciplina "Modelarea economică" oferă studenților facultății de Management posibilitatea de a rezolva o serie de probleme importante...

Decizia managerială asistată de calculator pentru îndeplinirea obiectivelor propuse la SC Valoris SRL

Decizia mangerială asistată de calculator pentru indeplinirea obiectivelor propuse la S.C VALORIS S.R.L 1.Situaţia tehnico-economică şi de...

Rapid Object Detection Using a Boosted Cascade of Simple Features

INTRODUCTION Computer vision is a diverse and relatively new field of study. In the early days of computing, it was difficult to process even...

Proiect Modelare - Management

1. Situatia tehnico-economica si de productie a societatii comerciale SC Promod SA Societatea Comerciala Promod SA realizeaza, de 2 ani, doua...

Biological Risk of Yogurt Production Line

1.Introduction Yogurt is a fermented milk product produced by bacterial fermentation of milk. The bacteria used to make yogurt are known as...

Modelare economică

Situaţia tehnico-economică şi de producţie a societăţii comerciale " PROMOD S.A." Societatea Comercială PROMOD S.A. operează pe piaţă unui bun de...

Decision making

Decision making is the process of making choices by identifying a decision, gathering information, and assessing alternative resolutions. Using a...

Ai nevoie de altceva?