SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
Introduction to Machine
       Learning
                  Lecture 3

               Albert Orriols i Puig
              aorriols@salle.url.edu
                  i l @ ll       ld

     Artificial Intelligence – Machine Learning
         Enginyeria i Arquitectura La Salle
             gy           q
                Universitat Ramon Llull
Recap of Lecture 2
        Machine learning
                Learning = Improving with experience at some task
                          Improve over task T
                          With respect to a performance measure P
                          Based on experience E



        Three especial niches
                Data mining: extract information from historical data to help
                          g                                                 p
                decision making
                Software applications that are too complex to build a hard-
                           pp                         p
                wired solution for
                Self customizing p g
                               g programs

                                                                                Slide 2
Artificial Intelligence                     Machine Learning
Today’s Agenda


        Characteristics Desired for ML Methods
                General issues
                Concepts that will be used through lectures
        Summary of the Paradigms that We Won’t
              y              g
        Study
        Summary of the P bl
        S        f th Problems th t W Will Study
                               that We     St d




                                                              Slide 3
Artificial Intelligence           Machine Learning
Characteristics Desired ML
        We would like our ML techniques to have the following
                                   q                        g
        properties
                Be able to generalize but not too much
                           generalize,
                Be robust
                Be li bl
                B reliable
                Learn models of high quality
                Be scalable and efficient
                Be explicative
                Be determinist




                                                           Slide 4
Artificial Intelligence                Machine Learning
Characteristics Desired ML
        Be able to generalize, but not too much
                   g         ,
                We learn from a set of examples
                Imagine that we are doing d t regression
                I   i th t          d i data         i


                                                          Examples (observations)

                                                     -- Real domain

                                                          Learned function




                We only know the examples {e1, e2, e3, e4, e5, e6, e7, e8, e9}
                We do not know the real distribution
                So, does the learning function fits t e real d st but o
                         t e ea     g u ct o ts the ea distribution?

                                                                                    Slide 5
Artificial Intelligence                Machine Learning
Characteristics Desired ML
        Be able to generalize, but not too much
                   g         ,
                                                                   Examples (observations)

                                                              -- Real domain

                                                                   Learned function




                What could have happened?
                  at cou d a e appe ed
                          I may not be a good representation of the original distribution
                          The ML method may not work well (overfitting)

                So, what should we do?
                          Assume that I is a good representative of the original distribution
                                             g      p                      g
                          Go for the simplest solution




                                                                                             Slide 6
Artificial Intelligence                         Machine Learning
Characteristics Desired ML
        Be robust
                Real-world is imperfect and our measurements of real world
                may be e e more imperfect
                 ay    even o e pe ec
                Therefore, we will deal with domains with
                          Noise
                          Uncertainty
                          Vagueness
                We have to keep this in mind when designing our algorithms




                                                                         Slide 7
Artificial Intelligence                 Machine Learning
Characteristics Desired ML
        Learn models of high quality
                          gq       y                                                                  Test set


                How do we evaluate learning quality?                                New instance

                               Information based                      Knowledge
                               on experience                          extraction
                                                    Learner                          Model
               Dataset


                                                                                   Predicted Output




                                Training set
                                       g



                More advanced validation methods:
                          k-fold cross-validation
                          Holdout


                                                                                                       Slide 8
Artificial Intelligence                            Machine Learning
Characteristics Desired ML
        Be reliable
                What do you prefer?
                          Do not predict something that you doubt about?
                          Or just bet for an option?
                Classes are cost sensitive?
                Cl             t     iti ?
                          What happens if I say that a patient, who has actually cancer,
                          is healthy?
                          What happens if I say that a patient, who is actually healthy,
                          has cancer?
                Do I prefer to model one class as opposed to the other?
                          Fraud detection (0.1% of fraudulent transactions)
                                          (%                              )
                          Geez, I modeled perfectly the non-fraudulent transactions!
                              Am I successful?


                                                                                    Slide 9
Artificial Intelligence                          Machine Learning
Characteristics Desired ML
        Be scalable and efficient
                Huge amount of data
                Information hidden i th
                If     ti hidd in these d t
                                        data
                I need to process them quickly!


                Two types o costs
                  o       of costs:
                          Cost to build the model
                          Cost to classify new test examples
                                         y              p




                                                                Slide 10
Artificial Intelligence                      Machine Learning
Characteristics Desired ML

        Be explicative
                Should
                Sh ld I care about giving an explanation?
                              b t ii            l   ti ?
                          Text/speech recognition
                                                  fast.                   huge,
                             Things happen too fast If errors are not too huge I do not care if
                             I read “a” instead of “e”
                          Medical diagnosis
                                     g
                             I really care about obtaining an accurate explanation, since the
                             diagnosis may involve applying surgery to a patient or not




                                                                                         Slide 11
Artificial Intelligence                       Machine Learning
Characteristics Desired ML
        Be determinist

                If my data does not change
                          The learned model should be always the same
                          The answer for a given test instance should be always the
                          same

                If my data changes
                          I should adapt to the changes




                                                                                 Slide 12
Artificial Intelligence                      Machine Learning
Paradigms in ML

        Typically, techniques in ML have been divided in
        different paradigms
                Inductive learning
                Explanation-based learning
                  p                      g
                Analogy-based learning
                Evolutionary learning
                Connectionist Learning




                                                           Slide 13
Artificial Intelligence                 Machine Learning
Inductive Learning
        Induce rules, trees or, in general, patterns from a set of
                    ,         ,g          ,p
        examples
                Start from a specific experience
                Draw inferences or generalizations from it


        That is
                Initial state: Original data
                State: Symbolic description of the data with a certain degree of
                generalization/specialization
                Final state: Model with maximum generalization that implies the
                input data



                                                                            Slide 14
Artificial Intelligence                  Machine Learning
Explanation-Based Learning
        Deduce information from a set of observations
                Humans learn a lot from few examples
                Machine: use results f
                M hi             lt from one example t solve th next
                                                  l to l the       t
                problem



            Domain theory for the problem



                                                    EBL         New domain theory
                             Goal concept


                          Training example




                                                                                    Slide 15
Artificial Intelligence                      Machine Learning
Explanation-Based Learning
Domain:
D   i
    R1: striped(x) ^ feline(x)   tiger(x)
                                                                                 tiger (Flare)
    R2: runs(x)    feline(x)
    R3: ca
      3 carnivorous(x) ^ has Tail(x)
              o ous( )      as_ a ( )     feline(x)
                                           e e( )
    R4: eats_meat(x)      carnivorous(x)
    R5: teeth(x) ^mammal(x)       carnivorous(x)                     feline (Flare)              striped (Flare)
    R6: hairy(x)    mammal(x)
    R7: feeds milk(x)
        feeds_milk(x)     mammal(x)
    R8: warm_blood(x)       mammal(x)
                                                                   carnivorous (Flare)
                                            runs (Flare)                                  has_tail (Flare)
Goal: TIGER
Example:
     feeds_milk( Flare )
     has_tail ( Flare )
                                        eats_meat
                                        eats meat (Flare)           mammal (Flare)           teeth (Flare)
     striped ( Flare )
     teeth ( Flare)


                                          hairy (Flare)            feeds_milk (Flare)      warm_blood (Flare)




                                                                                                       Slide 16
    Artificial Intelligence                     Machine Learning
Explanation-based Learning
        Example
                Goal: Get to Brecon
                Training data
                          Near (Cardiff, Brecon)
                          Airport (Cardiff)
                Domain Knowledge
                          Near(x,y) ^ holds( loc(x), s )    holds( loc(y), result(drive(x,y),s) )
                          Airport(z)   loc(z),
                                       loc(z) result( fly(z), s )
                                                      fly(z)

                Operational criterion: We must express concept definition in pure description
                language syntax
                Our goal can be expressed as
                          Holds ( loc(Brecon), s)




                                                                                                    Slide 17
Artificial Intelligence                              Machine Learning
Learning Based on Analogy
        A is similar to A’ according to α
                                                                                      α
                                                                                  A        A’
        If I have B, can I get B’?
                Learn the causality relationship β                                           β
                                                                                             β'
                                                                              β
                Transform α to α’
                                                                                      α'
                                                                                  B        B’
                Get B according to B and α’
                    B’                   α

        Where is the trick?
                In learning α’ and β

                               Partial mapping

                                                     Previously
            New Problem
                                                   solved problem
                                                                 Derivation
                                 Transformation

           Solution to the                         Solution of this
              problem                              known problem

                                                                                           Slide 18
Artificial Intelligence                           Machine Learning
Evolutionary Learning
        Nature as problem solver
                  p
                Nature evolved adapted solutions to life
                Let’s
                L t’ use thi concepts t learn f
                         this      t to l     from experience
                                                        i




                                                                Slide 19
Artificial Intelligence                Machine Learning
Connectionist Learning
        Mimic brain structure to build machines that are able to
        learn
        A brain consists of
                Connected neurons that behave in a specific way
                Let’s assume that this behavior can be coded functionally




                                                                            Slide 20
Artificial Intelligence               Machine Learning
Problems That We’ll Study
        Typical ML courses go through the different families
         yp                g       g
                Structured courses
                Big i t
                Bi picture of th diff
                            f the different l
                                          t learning paradigms
                                                 i       di
        However
                Emergence of hybrid intelligent systems
                          Concepts come all mixed together
                                                    g
                We are engineers. We need to solve problems
        So,
        So we propose to go problem-oriented
                            problem oriented
                Techniques of different paradigms will come on our way




                                                                         Slide 21
Artificial Intelligence                     Machine Learning
Problems That We’ll Study

        Data classification: C4.5, kNN, Naïve Bayes …
1.

        Statistical learning: SVM
2.
2

        Association analysis: A-priori
3.

        Link mining: Page Rank
4.

        Clustering: k-means
                 g
5.

        Reinforcement learning: Q-learning, XCS
6.

        Regression
7.
7

        Genetic Fuzzy Systems
8.




                                                        Slide 22
Artificial Intelligence             Machine Learning
Next Class



        How I Would Like my Problem to Look Like?
        Summary of the Paradigms that we Won’t Study




                                                       Slide 23
Artificial Intelligence     Machine Learning
Introduction to Machine
       Learning
                  Lecture 3

               Albert Orriols i Puig
              aorriols@salle.url.edu
                  i l @ ll       ld

     Artificial Intelligence – Machine Learning
         Enginyeria i Arquitectura La Salle
             gy           q
                Universitat Ramon Llull

Más contenido relacionado

La actualidad más candente

An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural NetworksAshray Bhandare
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine LearningVARUN KUMAR
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AIMegha Sharma
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Preferred Networks
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptronomaraldabash
 
Autoencoders
AutoencodersAutoencoders
AutoencodersCloudxLab
 
Deep Learning: Application & Opportunity
Deep Learning: Application & OpportunityDeep Learning: Application & Opportunity
Deep Learning: Application & OpportunityiTrain
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 
Activation functions
Activation functionsActivation functions
Activation functionsPRATEEK SAHU
 
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018Universitat Politècnica de Catalunya
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Gaurav Mittal
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgdataHacker. rs
 
Uninformed Search technique
Uninformed Search techniqueUninformed Search technique
Uninformed Search techniqueKapil Dahal
 

La actualidad más candente (20)

Chapter 13
Chapter 13Chapter 13
Chapter 13
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Activation function
Activation functionActivation function
Activation function
 
Transfer Learning
Transfer LearningTransfer Learning
Transfer Learning
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Cnn
CnnCnn
Cnn
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Lecture11 - neural networks
Lecture11 - neural networksLecture11 - neural networks
Lecture11 - neural networks
 
Autoencoders
AutoencodersAutoencoders
Autoencoders
 
Deep Learning: Application & Opportunity
Deep Learning: Application & OpportunityDeep Learning: Application & Opportunity
Deep Learning: Application & Opportunity
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Activation functions
Activation functionsActivation functions
Activation functions
 
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew Ng
 
Uninformed Search technique
Uninformed Search techniqueUninformed Search technique
Uninformed Search technique
 

Destacado

An Efficient Approach for Outlier Detection in Wireless Sensor Network
An Efficient Approach for Outlier Detection in Wireless Sensor NetworkAn Efficient Approach for Outlier Detection in Wireless Sensor Network
An Efficient Approach for Outlier Detection in Wireless Sensor NetworkIOSR Journals
 
Fault tolerance in wsn
Fault tolerance in wsnFault tolerance in wsn
Fault tolerance in wsnElham Hormozi
 
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...Sigma web solutions pvt. ltd.
 
Session 5.6 towards a semantic outlier detection framework in wireless sens...
Session 5.6   towards a semantic outlier detection framework in wireless sens...Session 5.6   towards a semantic outlier detection framework in wireless sens...
Session 5.6 towards a semantic outlier detection framework in wireless sens...semanticsconference
 
Threats in wireless sensor networks
Threats in wireless sensor networksThreats in wireless sensor networks
Threats in wireless sensor networksPriya Kaushal
 
Intrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networksIntrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networksBala Lavanya
 
Linear books to open world adventure
Linear books to open world adventureLinear books to open world adventure
Linear books to open world adventuresemanticsconference
 
Basic Architecture of Wireless Sensor Network
Basic Architecture of Wireless Sensor NetworkBasic Architecture of Wireless Sensor Network
Basic Architecture of Wireless Sensor NetworkKarthik
 
Data aggregation in wireless sensor network , 11751 d5811
Data aggregation in wireless sensor network , 11751 d5811Data aggregation in wireless sensor network , 11751 d5811
Data aggregation in wireless sensor network , 11751 d5811praveen369
 
Energy conservation in wireless sensor networks
Energy conservation in wireless sensor networksEnergy conservation in wireless sensor networks
Energy conservation in wireless sensor networksahmad abdelhafeez
 
Power Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksPower Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksMshari Alabdulkarim
 
Issues of Wireless Sensor Networks
Issues of Wireless Sensor NetworksIssues of Wireless Sensor Networks
Issues of Wireless Sensor NetworksSouhaiel tekaya
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networksrajatmal4
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor NetworksKarthik
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor networkdeawoo Kim
 
Wireless sensor network security issues
Wireless sensor network security issuesWireless sensor network security issues
Wireless sensor network security issuesMaha Saad
 
Basics of Wireless sensor networks
Basics of Wireless sensor networksBasics of Wireless sensor networks
Basics of Wireless sensor networksRushin Shah
 

Destacado (20)

An Efficient Approach for Outlier Detection in Wireless Sensor Network
An Efficient Approach for Outlier Detection in Wireless Sensor NetworkAn Efficient Approach for Outlier Detection in Wireless Sensor Network
An Efficient Approach for Outlier Detection in Wireless Sensor Network
 
Fault tolerance in wsn
Fault tolerance in wsnFault tolerance in wsn
Fault tolerance in wsn
 
Wireless Sensor Networks ppt
Wireless Sensor Networks pptWireless Sensor Networks ppt
Wireless Sensor Networks ppt
 
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
Fault tolerance in wireless sensor networks by Constrained Delaunay Triangula...
 
Session 5.6 towards a semantic outlier detection framework in wireless sens...
Session 5.6   towards a semantic outlier detection framework in wireless sens...Session 5.6   towards a semantic outlier detection framework in wireless sens...
Session 5.6 towards a semantic outlier detection framework in wireless sens...
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networks
 
Threats in wireless sensor networks
Threats in wireless sensor networksThreats in wireless sensor networks
Threats in wireless sensor networks
 
Intrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networksIntrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networks
 
Linear books to open world adventure
Linear books to open world adventureLinear books to open world adventure
Linear books to open world adventure
 
Data aggregation in wireless sensor networks
Data aggregation in wireless sensor networksData aggregation in wireless sensor networks
Data aggregation in wireless sensor networks
 
Basic Architecture of Wireless Sensor Network
Basic Architecture of Wireless Sensor NetworkBasic Architecture of Wireless Sensor Network
Basic Architecture of Wireless Sensor Network
 
Data aggregation in wireless sensor network , 11751 d5811
Data aggregation in wireless sensor network , 11751 d5811Data aggregation in wireless sensor network , 11751 d5811
Data aggregation in wireless sensor network , 11751 d5811
 
Energy conservation in wireless sensor networks
Energy conservation in wireless sensor networksEnergy conservation in wireless sensor networks
Energy conservation in wireless sensor networks
 
Power Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksPower Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor Networks
 
Issues of Wireless Sensor Networks
Issues of Wireless Sensor NetworksIssues of Wireless Sensor Networks
Issues of Wireless Sensor Networks
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor network
 
Wireless sensor network security issues
Wireless sensor network security issuesWireless sensor network security issues
Wireless sensor network security issues
 
Basics of Wireless sensor networks
Basics of Wireless sensor networksBasics of Wireless sensor networks
Basics of Wireless sensor networks
 

Similar a Lecture3 - Machine Learning

Overton, Apple Flavored ML
Overton, Apple Flavored MLOverton, Apple Flavored ML
Overton, Apple Flavored MLsource{d}
 
5 Essential Machine Learning Ideas
5 Essential Machine Learning Ideas5 Essential Machine Learning Ideas
5 Essential Machine Learning IdeasCarl Dawson
 
Building intelligent applications with Large Language Models
Building intelligent applications with Large Language ModelsBuilding intelligent applications with Large Language Models
Building intelligent applications with Large Language ModelsSpeck&Tech
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsXavier Amatriain
 
Build, Train and Deploy Machine Learning Models at Scale (April 2019)
Build, Train and Deploy Machine Learning Models at Scale (April 2019)Build, Train and Deploy Machine Learning Models at Scale (April 2019)
Build, Train and Deploy Machine Learning Models at Scale (April 2019)Julien SIMON
 
Build, train and deploy ML models at scale.pdf
Build, train and deploy ML models at scale.pdfBuild, train and deploy ML models at scale.pdf
Build, train and deploy ML models at scale.pdfAmazon Web Services
 
Build, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdfBuild, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdfAmazon Web Services
 
Build, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleBuild, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleAmazon Web Services
 
Learned Representations
Learned RepresentationsLearned Representations
Learned RepresentationsEddie Bell
 
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete DeckAI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete DeckSlideTeam
 

Similar a Lecture3 - Machine Learning (20)

Lecture2 - Machine Learning
Lecture2 - Machine LearningLecture2 - Machine Learning
Lecture2 - Machine Learning
 
Lecture1 - Machine Learning
Lecture1 - Machine LearningLecture1 - Machine Learning
Lecture1 - Machine Learning
 
Lecture6 - C4.5
Lecture6 - C4.5Lecture6 - C4.5
Lecture6 - C4.5
 
Lecture8 - From CBR to IBk
Lecture8 - From CBR to IBkLecture8 - From CBR to IBk
Lecture8 - From CBR to IBk
 
Lecture4 - Machine Learning
Lecture4 - Machine LearningLecture4 - Machine Learning
Lecture4 - Machine Learning
 
Lecture7 - IBk
Lecture7 - IBkLecture7 - IBk
Lecture7 - IBk
 
Lecture19
Lecture19Lecture19
Lecture19
 
Overton, Apple Flavored ML
Overton, Apple Flavored MLOverton, Apple Flavored ML
Overton, Apple Flavored ML
 
5 Essential Machine Learning Ideas
5 Essential Machine Learning Ideas5 Essential Machine Learning Ideas
5 Essential Machine Learning Ideas
 
Building intelligent applications with Large Language Models
Building intelligent applications with Large Language ModelsBuilding intelligent applications with Large Language Models
Building intelligent applications with Large Language Models
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systems
 
Build, Train and Deploy Machine Learning Models at Scale (April 2019)
Build, Train and Deploy Machine Learning Models at Scale (April 2019)Build, Train and Deploy Machine Learning Models at Scale (April 2019)
Build, Train and Deploy Machine Learning Models at Scale (April 2019)
 
Build, train and deploy ML models at scale.pdf
Build, train and deploy ML models at scale.pdfBuild, train and deploy ML models at scale.pdf
Build, train and deploy ML models at scale.pdf
 
Build, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdfBuild, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdf
 
Build, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleBuild, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at Scale
 
Lecture20
Lecture20Lecture20
Lecture20
 
Learned Representations
Learned RepresentationsLearned Representations
Learned Representations
 
Ml product page
Ml product pageMl product page
Ml product page
 
Ml product page
Ml product pageMl product page
Ml product page
 
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete DeckAI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
 

Más de Albert Orriols-Puig

Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceAlbert Orriols-Puig
 
HAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasetsHAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasetsAlbert Orriols-Puig
 
Lecture16 - Advances topics on association rules PART III
Lecture16 - Advances topics on association rules PART IIILecture16 - Advances topics on association rules PART III
Lecture16 - Advances topics on association rules PART IIIAlbert Orriols-Puig
 
Lecture15 - Advances topics on association rules PART II
Lecture15 - Advances topics on association rules PART IILecture15 - Advances topics on association rules PART II
Lecture15 - Advances topics on association rules PART IIAlbert Orriols-Puig
 
Lecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesLecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesAlbert Orriols-Puig
 
Lecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-TheoryLecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-TheoryAlbert Orriols-Puig
 
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...Albert Orriols-Puig
 
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...Albert Orriols-Puig
 
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...Albert Orriols-Puig
 
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCS
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCSHIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCS
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCSAlbert Orriols-Puig
 

Más de Albert Orriols-Puig (20)

Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
 
HAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasetsHAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasets
 
Lecture24
Lecture24Lecture24
Lecture24
 
Lecture23
Lecture23Lecture23
Lecture23
 
Lecture22
Lecture22Lecture22
Lecture22
 
Lecture21
Lecture21Lecture21
Lecture21
 
Lecture18
Lecture18Lecture18
Lecture18
 
Lecture17
Lecture17Lecture17
Lecture17
 
Lecture16 - Advances topics on association rules PART III
Lecture16 - Advances topics on association rules PART IIILecture16 - Advances topics on association rules PART III
Lecture16 - Advances topics on association rules PART III
 
Lecture15 - Advances topics on association rules PART II
Lecture15 - Advances topics on association rules PART IILecture15 - Advances topics on association rules PART II
Lecture15 - Advances topics on association rules PART II
 
Lecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesLecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rules
 
Lecture13 - Association Rules
Lecture13 - Association RulesLecture13 - Association Rules
Lecture13 - Association Rules
 
Lecture12 - SVM
Lecture12 - SVMLecture12 - SVM
Lecture12 - SVM
 
Lecture10 - Naïve Bayes
Lecture10 - Naïve BayesLecture10 - Naïve Bayes
Lecture10 - Naïve Bayes
 
Lecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-TheoryLecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-Theory
 
Lecture5 - C4.5
Lecture5 - C4.5Lecture5 - C4.5
Lecture5 - C4.5
 
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...
New Challenges in Learning Classifier Systems: Mining Rarities and Evolving F...
 
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...
IWLCS'2008: First Approach toward Online Evolution of Association Rules wit...
 
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...
HIS'2008: Genetic-based Synthetic Data Sets for the Analysis of Classifiers B...
 
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCS
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCSHIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCS
HIS'2008: New Crossover Operator for Evolutionary Rule Discovery in XCS
 

Último

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Último (20)

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 

Lecture3 - Machine Learning

  • 1. Introduction to Machine Learning Lecture 3 Albert Orriols i Puig aorriols@salle.url.edu i l @ ll ld Artificial Intelligence – Machine Learning Enginyeria i Arquitectura La Salle gy q Universitat Ramon Llull
  • 2. Recap of Lecture 2 Machine learning Learning = Improving with experience at some task Improve over task T With respect to a performance measure P Based on experience E Three especial niches Data mining: extract information from historical data to help g p decision making Software applications that are too complex to build a hard- pp p wired solution for Self customizing p g g programs Slide 2 Artificial Intelligence Machine Learning
  • 3. Today’s Agenda Characteristics Desired for ML Methods General issues Concepts that will be used through lectures Summary of the Paradigms that We Won’t y g Study Summary of the P bl S f th Problems th t W Will Study that We St d Slide 3 Artificial Intelligence Machine Learning
  • 4. Characteristics Desired ML We would like our ML techniques to have the following q g properties Be able to generalize but not too much generalize, Be robust Be li bl B reliable Learn models of high quality Be scalable and efficient Be explicative Be determinist Slide 4 Artificial Intelligence Machine Learning
  • 5. Characteristics Desired ML Be able to generalize, but not too much g , We learn from a set of examples Imagine that we are doing d t regression I i th t d i data i Examples (observations) -- Real domain Learned function We only know the examples {e1, e2, e3, e4, e5, e6, e7, e8, e9} We do not know the real distribution So, does the learning function fits t e real d st but o t e ea g u ct o ts the ea distribution? Slide 5 Artificial Intelligence Machine Learning
  • 6. Characteristics Desired ML Be able to generalize, but not too much g , Examples (observations) -- Real domain Learned function What could have happened? at cou d a e appe ed I may not be a good representation of the original distribution The ML method may not work well (overfitting) So, what should we do? Assume that I is a good representative of the original distribution g p g Go for the simplest solution Slide 6 Artificial Intelligence Machine Learning
  • 7. Characteristics Desired ML Be robust Real-world is imperfect and our measurements of real world may be e e more imperfect ay even o e pe ec Therefore, we will deal with domains with Noise Uncertainty Vagueness We have to keep this in mind when designing our algorithms Slide 7 Artificial Intelligence Machine Learning
  • 8. Characteristics Desired ML Learn models of high quality gq y Test set How do we evaluate learning quality? New instance Information based Knowledge on experience extraction Learner Model Dataset Predicted Output Training set g More advanced validation methods: k-fold cross-validation Holdout Slide 8 Artificial Intelligence Machine Learning
  • 9. Characteristics Desired ML Be reliable What do you prefer? Do not predict something that you doubt about? Or just bet for an option? Classes are cost sensitive? Cl t iti ? What happens if I say that a patient, who has actually cancer, is healthy? What happens if I say that a patient, who is actually healthy, has cancer? Do I prefer to model one class as opposed to the other? Fraud detection (0.1% of fraudulent transactions) (% ) Geez, I modeled perfectly the non-fraudulent transactions! Am I successful? Slide 9 Artificial Intelligence Machine Learning
  • 10. Characteristics Desired ML Be scalable and efficient Huge amount of data Information hidden i th If ti hidd in these d t data I need to process them quickly! Two types o costs o of costs: Cost to build the model Cost to classify new test examples y p Slide 10 Artificial Intelligence Machine Learning
  • 11. Characteristics Desired ML Be explicative Should Sh ld I care about giving an explanation? b t ii l ti ? Text/speech recognition fast. huge, Things happen too fast If errors are not too huge I do not care if I read “a” instead of “e” Medical diagnosis g I really care about obtaining an accurate explanation, since the diagnosis may involve applying surgery to a patient or not Slide 11 Artificial Intelligence Machine Learning
  • 12. Characteristics Desired ML Be determinist If my data does not change The learned model should be always the same The answer for a given test instance should be always the same If my data changes I should adapt to the changes Slide 12 Artificial Intelligence Machine Learning
  • 13. Paradigms in ML Typically, techniques in ML have been divided in different paradigms Inductive learning Explanation-based learning p g Analogy-based learning Evolutionary learning Connectionist Learning Slide 13 Artificial Intelligence Machine Learning
  • 14. Inductive Learning Induce rules, trees or, in general, patterns from a set of , ,g ,p examples Start from a specific experience Draw inferences or generalizations from it That is Initial state: Original data State: Symbolic description of the data with a certain degree of generalization/specialization Final state: Model with maximum generalization that implies the input data Slide 14 Artificial Intelligence Machine Learning
  • 15. Explanation-Based Learning Deduce information from a set of observations Humans learn a lot from few examples Machine: use results f M hi lt from one example t solve th next l to l the t problem Domain theory for the problem EBL New domain theory Goal concept Training example Slide 15 Artificial Intelligence Machine Learning
  • 16. Explanation-Based Learning Domain: D i R1: striped(x) ^ feline(x) tiger(x) tiger (Flare) R2: runs(x) feline(x) R3: ca 3 carnivorous(x) ^ has Tail(x) o ous( ) as_ a ( ) feline(x) e e( ) R4: eats_meat(x) carnivorous(x) R5: teeth(x) ^mammal(x) carnivorous(x) feline (Flare) striped (Flare) R6: hairy(x) mammal(x) R7: feeds milk(x) feeds_milk(x) mammal(x) R8: warm_blood(x) mammal(x) carnivorous (Flare) runs (Flare) has_tail (Flare) Goal: TIGER Example: feeds_milk( Flare ) has_tail ( Flare ) eats_meat eats meat (Flare) mammal (Flare) teeth (Flare) striped ( Flare ) teeth ( Flare) hairy (Flare) feeds_milk (Flare) warm_blood (Flare) Slide 16 Artificial Intelligence Machine Learning
  • 17. Explanation-based Learning Example Goal: Get to Brecon Training data Near (Cardiff, Brecon) Airport (Cardiff) Domain Knowledge Near(x,y) ^ holds( loc(x), s ) holds( loc(y), result(drive(x,y),s) ) Airport(z) loc(z), loc(z) result( fly(z), s ) fly(z) Operational criterion: We must express concept definition in pure description language syntax Our goal can be expressed as Holds ( loc(Brecon), s) Slide 17 Artificial Intelligence Machine Learning
  • 18. Learning Based on Analogy A is similar to A’ according to α α A A’ If I have B, can I get B’? Learn the causality relationship β β β' β Transform α to α’ α' B B’ Get B according to B and α’ B’ α Where is the trick? In learning α’ and β Partial mapping Previously New Problem solved problem Derivation Transformation Solution to the Solution of this problem known problem Slide 18 Artificial Intelligence Machine Learning
  • 19. Evolutionary Learning Nature as problem solver p Nature evolved adapted solutions to life Let’s L t’ use thi concepts t learn f this t to l from experience i Slide 19 Artificial Intelligence Machine Learning
  • 20. Connectionist Learning Mimic brain structure to build machines that are able to learn A brain consists of Connected neurons that behave in a specific way Let’s assume that this behavior can be coded functionally Slide 20 Artificial Intelligence Machine Learning
  • 21. Problems That We’ll Study Typical ML courses go through the different families yp g g Structured courses Big i t Bi picture of th diff f the different l t learning paradigms i di However Emergence of hybrid intelligent systems Concepts come all mixed together g We are engineers. We need to solve problems So, So we propose to go problem-oriented problem oriented Techniques of different paradigms will come on our way Slide 21 Artificial Intelligence Machine Learning
  • 22. Problems That We’ll Study Data classification: C4.5, kNN, Naïve Bayes … 1. Statistical learning: SVM 2. 2 Association analysis: A-priori 3. Link mining: Page Rank 4. Clustering: k-means g 5. Reinforcement learning: Q-learning, XCS 6. Regression 7. 7 Genetic Fuzzy Systems 8. Slide 22 Artificial Intelligence Machine Learning
  • 23. Next Class How I Would Like my Problem to Look Like? Summary of the Paradigms that we Won’t Study Slide 23 Artificial Intelligence Machine Learning
  • 24. Introduction to Machine Learning Lecture 3 Albert Orriols i Puig aorriols@salle.url.edu i l @ ll ld Artificial Intelligence – Machine Learning Enginyeria i Arquitectura La Salle gy q Universitat Ramon Llull