SlideShare a Scribd company logo
1 of 24
Download to read offline
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

More Related Content

What's hot

An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
butest
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
Francesco Collova'
 

What's hot (20)

AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Computational learning theory
Computational learning theoryComputational learning theory
Computational learning theory
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learning
 
HOPFIELD NETWORK
HOPFIELD NETWORKHOPFIELD NETWORK
HOPFIELD NETWORK
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 
Perceptron algorithm
Perceptron algorithmPerceptron algorithm
Perceptron algorithm
 
Multi Layer Network
Multi Layer NetworkMulti Layer Network
Multi Layer Network
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
3.2 partitioning methods
3.2 partitioning methods3.2 partitioning methods
3.2 partitioning methods
 
Semantic net in AI
Semantic net in AISemantic net in AI
Semantic net in AI
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
 
Linear models for classification
Linear models for classificationLinear models for classification
Linear models for classification
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
backpropagation in neural networks
backpropagation in neural networksbackpropagation in neural networks
backpropagation in neural networks
 
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionArtificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge Acquisition
 
Backpropagation algo
Backpropagation  algoBackpropagation  algo
Backpropagation algo
 
Agents in Artificial intelligence
Agents in Artificial intelligence Agents in Artificial intelligence
Agents in Artificial intelligence
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 

Viewers also liked

Fault tolerance in wsn
Fault tolerance in wsnFault tolerance in wsn
Fault tolerance in wsn
Elham 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.
 
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
praveen369
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
rajatmal4
 
Wireless sensor network security issues
Wireless sensor network security issuesWireless sensor network security issues
Wireless sensor network security issues
Maha Saad
 
Basics of Wireless sensor networks
Basics of Wireless sensor networksBasics of Wireless sensor networks
Basics of Wireless sensor networks
Rushin Shah
 

Viewers also liked (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 to Lecture3 - Machine Learning

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
SlideTeam
 

Similar to 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
 

More from 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 intelligence
Albert Orriols-Puig
 
HAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasetsHAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasets
Albert 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 III
Albert 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 II
Albert Orriols-Puig
 
Lecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesLecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rules
Albert 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 XCS
Albert Orriols-Puig
 

More from 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
 
Lecture11 - neural networks
Lecture11 - neural networksLecture11 - neural networks
Lecture11 - neural networks
 
Lecture10 - Naïve Bayes
Lecture10 - Naïve BayesLecture10 - Naïve Bayes
Lecture10 - Naïve Bayes
 
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
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

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