Artificial Intelligence Machine learning Fall 2008 professor: Luigi Ceccaroni.

Slides:



Advertisements
Presentaciones similares
Definición Machine learning traducido al español significa el aprendizaje automático o también aprendizaje de las maquinas. A partir de esto podemos darle.
Advertisements

Inteligencia Artificial Adquisición automática del conocimiento
Telling Time.
Ángel M. Ramos Domínguez Curso de Doctorado Análisis Conjunto
4.1 Continuidad en un punto 4.2 Tipos de discontinuidades 4.3 Continuidad en intervalos.
Hoy vamos a…….. repasar palabras para describir el carácter aprender cómo comparar cosas.
de septiembre.  ¿Qué hora es? La participación #1 = dibuja una FLOR GRAN DE 3. 4.
3.1 Descriptive Adjectives
Fact Family4, 5, 20 (provided by the teacher) Problem4 X 5= 20 Perimeter = 18 cm Area4 x 5= 20 sq cm 5 cm 4 cm Example: Teachers: Assign students.
Notes #18 Numbers 31 and higher Standard 1.2
HYPERBOLAS Standard 4, 9, 16, 17 DEFINITION OF A HYPERBOLA
Objective: At the end of today’s lesson, you will be able to introduce a person in Spanish. You will demonstrate that you’ve accomplished this objective.
1A Test Prep.
Los verbos reflexivos Objective:
Study this picture for 1 minute. Try to remember as much as possible about it. Now tell your partner about the picture. Take it in turns to say something.
Hoy es lunes, el 8 de diciembre. Esponja: ¿De quienes son las cosas? 1. perro, Adalicia 2. camisetas, los estudiantes 3. zapatos, la señora Márquez 4.
HAZLO AHORA DAY # 43 Pick up handout Please have your homework out- I am going to come around and collect it Copy, Translate in english and then answer.
El uso del artículo como sustantivo
Los verbos reflexivos Objective: To be able to talk about your daily routine. Getting ready for a special event.
ALC #7 Do the math problems and write the answer in Spanish.
First Grade – High Frequency Word Reading Competition Classroom Competition Created by: Malene Golding School Improvement Officer: Kimberly Fonteno.
Telling Time La hora. Telling Time To ask what time it is in Spanish, ask: ¿Qué hora es? To answer: Es la una… (12:31 – 1:30) or Son las (hour). (1:31.
Unit 2A: Lesson 2 How to Talk About Your Schedule Gramática- Present tense of –ar verbs.
Digital Photography: Selfie Slides
First Grade – High Frequency Word Reading Competition Classroom Competition Created by: Malene Golding School Improvement Officer: Kimberly Fonteno.
Digital Photography: Selfie Slides By: Essence L. Thomas.
Indirect Object Pronouns
Las Preguntas (the questions) Tengo una pregunta… Sí, Juan habla mucho con el profesor en clase. No, Juan no habla mucho en clase. s vo s vo Forming.
INDIRECT OBJECT PRONOUNS: To whom or for whom something is done…
Masculine Femenine Singularunmuchounamucha cuantopococuantapoca Pluralunosmuchosunasmuchas cuantospocoscuantaspocas Next.
Photo Vocabulary Scavenger Hunt Rich Bradshaw. What is this? - A group activity for middle or high school students. - Highly interactive and very fun.
1. Escribe la fecha y el objetivo. 2. Saca la tarea! 3. Translate the following sentences from Spanish to English. 1. Me gustan los deportes porque son.
Bienvenida ALC 135 Miércoles el 13 de abril. objetivo Yo puedo presentar el ppt de la Semana Santa.
+ Four Square Vocabulary. + What it is. Whole class, small group or individual activity that: Presents new vocabulary Reviews vocabulary Practices sentence.
Vocab: el día escolar Grammar: Subject Pronouns & Present Tense of –ar Verbs.
Cornell Notes Set up your notes page like that one  Notes will always go on the RIGHT side; if you need to use more pages, tape them in! The present tense.
Stem-Changing Verbs. Review: The Parts of a Verb Every verb has two parts: 1. 1.the stem 2. 2.the ending The most basic form of a verb is called the infinitive.
Objectives To learn some different techniques to help you memorise your ‘Healthy Living’ Written Controlled Assessment. To practise these techniques and.
Objetivo: to identify phrases that express someone must do something. Ahora: List 3 adverbs and where are they placed in a sentence.
LECCIÓN 2: SEGUNDA PARTE Today you will learn: To discusses subjects and classes at school Today you will review: How to tell time in Spanish.
ALC 49 Responde a las preguntas Hoy es lunes el 30 de enero ¿Cómo estás? 2.¿Dónde estás? 3.¿Qué estás haciendo? 4.¿De dónde eres? 5.¿Cómo eres?
Overclipping It’s very important as a trader that you understand your clip size and what positions this allows you to have. In addition it will help you.
Repaso: Los Verbos. What are the three kinds of regular verbs?
Survival Spanish for travelers Lesson 4: Verbs, verbs everywhere! Part 1.
©2014 by Vista Higher Learning, Inc. All rights reserved The verbs tener (to have) and venir (to come) are among the most frequently used in Spanish.
Indirect Object Pronouns Original PowerPoint was by Ms. Martin of Tri-Center Community Schools.
Preparacion Hoy es viernes el 4 de diciembre. Today is Friday, December 4. DO NOW: In preparation for some exercises in class do the following with the.
Double Object Pronouns What happens when we have both direct and indirect object pronouns in the same sentence? What goes where? Information for this lesson.
Matter and changes in state Classification of Matter Physical and Chemical Properties More questions
¿New media? Lev Manovich It is responsible for one of the works of reference for the interpretation of the new media. “The language of new media (2001)”
Essential question: How do I say what I like and what interests/bores me?
Forming Questions ¡Aprenda! Forming Questions By Patricia Carl October 2013.
¡Bienvenidos a clase! viernes, el 30 de octubre.
Agenda: 26/04/2016 *Boot verbs and jugar *La Familia *Tener: Quack Video *Descripciones Students will be learning new vocabulary with the family and tener.
Los verbos reflexivos Objective: To be able to talk about your daily routine. Getting ready for a special event.
Campanada guidelines in your composition notebook ¿Cómo es tu familia? (10 points) Ex. Hoy es Miercoles el 27 de enero First line will start with the date.
LAS PREGUNTAS (Question Formation). Asking “yes/no” questions To ask spoken questions that can be answered with a simple “yes” or “no,” simply raise the.
Escribir *You can get creative. You can write in the first person which means you are the character, you can use the third person which means you are talking.
Learning Objective (skill-concept-context) Today we will conjugate the irregular* verb TENER (to have) in Spanish. *doesn’t follow the rules What are we.
EQUILIBRIUM OF A PARTICLE IN 2-D Today’s Objectives: Students will be able to : a) Draw a free body diagram (FBD), and, b) Apply equations of equilibrium.
Hoy es el _1 / 4____ de _marzo____ del __2013________
i=2I.
Los números.
Direct objects and direct object pronouns
©2014 by Vista Higher Learning, Inc. All rights reserved The verb ir (to go) is irregular in the present tense. Note that, except for the yo form.
Kindergarten Spanish High Frequency Words
Inteligencia Artificial Adquisición automática del conocimiento
Welcome to PowerPoint gdskcgdskfcbskjc. Designer helps you get your point across PowerPoint Designer suggests professional designs for your presentation,
Transcripción de la presentación:

Artificial Intelligence Machine learning Fall 2008 professor: Luigi Ceccaroni

2 Knowledge acquisition Reference frame: construction of a knowledge-based system: –Knowledge acquisition –Knowledge representation –Definition of a resolution method –Construction of an inference engine 2

3 Knowledge acquisition Adquisició del coneixement ≡ Traspàs del coneixement d’un o més experts (o fonts de coneixement) en un domini determinat, cap a un formalisme de representació computable del coneixement 3 Base de coneixement Enginyer del coneixement FC 1 ≡ Expert 1.. FC n ≡ Expert n Coneixement Domini (fets, relacions, associacions) Procés de resolució (heurístiques, mètodes)

4 Methodologies to acquire knowledge Interviews with experts Techniques based on inductive machine learning –Construction of decision trees: Nodes represent descriptors Branches represent possible values of the descriptor 4

5 Inductive machine learning Techniques oriented to analysis problems (classification/interpretation) The expert expresses his knowledge in a familiar form: observations/examples 5

6 Inductive machine learning Sample data: 6

7 Inductive machine learning First objective: Grouping similar objects via clustering methods 7

8 Inductive machine learning Second objective: Classifying new objects The starting point is more informed, given that groups have been already defined. Specific characteristics of each group/class are determined, to be able to assign a new object to a class. 8

9 Inductive machine learning Methods: –Decision trees: CART, ID3, ASSISTANT, C4.5, C5.1 –Classification rules If Act1 is steps Then Act2 is ioga Rule's probability: 0.9 The rule exists in 52 records. 9

10 Decision trees Té tos Té mucositat Té febre Pols alterat No A lot A little Yes NoYesNo Yes No Decisión 1 Decisión 2Decisión 3Decisión 4Decisión 5Decisión 6

11 ID3 ID3 ≡ Induction of Decision Trees [Quinlan, 1979, 1986] Top-down strategy Starting from a set of examples/instances and their classes, it creates the tree which best explains them. 11

12 ID3 It’s a greedy algorithm for the automatic construction of decision trees, which selects at each step the best descriptor. → The best one is the most discriminant (potentially more useful). It lets reduce the size of the decision tree. The selection is done maximizing a function G(X,A), which represents the information gain. 12

ID3 The construction process is iterative: 1.A subset of instances (window) is selected from the training set. 2.The decision tree is built, which allows to discriminate the instances of the window. 3.If the decision tree explains the rest of instances of the training set then it is the final tree, else the instances wrongly classified (exceptions) are added to the window and the process go back to (2) endIf 13

Information gain Information (X = instances, C = classification): Entropy (A = attribute, [A(x) = v i ] represents instances with value v i ): Information gain: 14

15 ID3: example

16 ID3: example I (X, C) = -1/2 log 2 1/2 -1/2 log 2 1/2 = 1 ( 1,2,5,8 ) ( 3,4,5,7 ) C+ C- E (X, Ulls) = 3/8 (-1 log log 2 0) + 2/8 (-0 log log 2 1) + 3/8 (-1/3 log 2 1/3 - 2/3 log 2 2/3) = E (X, Cabell) = 2/8 (-1/2 log 2 1/2 - 1/2 log 2 1/2) + 6/8 (-3/6 log 2 3/6 - 3/6 log 2 3/6) = 1 E(X, Estatura) = 2/8 (-1 log log 2 0) + 4/8 (-1/2 log 2 1/2 - 1/2 log 2 1/2) + 2/8 (-0 log log 2 1) =

17 ID3: example G (X, Ulls) = = G (X, Cabell) = = 0 G (X, Estatura) = = 0.5 Ulls 1,2,8 3,6 4,7, Cabell Estatura Classe E4 Moreno Mitjà C- E5 Moreno Alt C+ E7 Ros Baix C- Blaus Marrons Verds

I (X, C) = -1/3 log 2 1/3 -2/3 log 2 1/3 = 0,918 ( 5 ) ( 4,7 ) E (X, Cabell) = 1/3 (- 0 log log 2 1) + 2/3 (-1/2 log 2 1/2 - 1/2 log 2 1/2) = 2/3 E (X, Estatura) = 1/3 (-0 log log 2 1) + 1/3 (-1 log log 2 0) + 1/3 (-0 log log 2 1) = 0 G (X, Cabell) = 0, ,666 = 0,252 G (X, Estatura) = 0, = 0,918 Ros ID3: example

Ulls 1,2,8 3,6 4,7, Blaus Marrons Verds Estatura Alt Mitjà baix ID3: example

Ulls = Blaus → C+ Ulls = Marrons → C- Ulls = Verds ∧ Estatura = Alt → C+ Ulls = Verds ∧ Estatura = Mitjà → C- Ulls = Verds ∧ Estatura = Baix → C- ID3: example

ID3: algorithm

Tipos de aprendizaje Aprendizaje inductivo: Creamos modelos de conceptos a partir de generalizar ejemplos simples. Buscamos patrones comunes que expliquen los ejemplos. Aprendizaje analítico o deductivo: Aplicamos la deducción para obtener descripciones generales a partir de un ejemplo de concepto y su explicación.

Tipos de aprendizaje Aprendizaje genético: Aplica algoritmos inspirados en la teoría de la evolución para encontrar descripciones generales a conjuntos de ejemplos. Aprendizaje conexionista: Busca descripciones generales mediante el uso de la capacidad de adaptación de redes de neuronas artificiales.