SlideShare a Scribd company logo
Introduction to Machine
       Learning
                     Lecture 4
     Slides based on Francisco Herrera course on Data Mining




                  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 3

        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 2
Artificial Intelligence                 Machine Learning
Recap of Lecture 3

        Problems that we’ll study
                Data l
                D t classification: C4 5 kNN N ï B
                         ifi ti     C4.5, kNN, Naïve Bayes …
        1.

                Statistical learning: SVM
        2.

                Association analysis: A-priori
        3.

                Link mining: Page Rank
        4.

                Clustering: k-means
        5.

                Reinforcement learning: Q-learning, XCS
                                     g           g,
        6.

                Regression
        7.

                Genetic Fuzzy Systems
        8.
        8




                                                               Slide 3
Artificial Intelligence                     Machine Learning
Today’s Agenda

        Situation: Where Are We?
        Classification
        Prediction
        Clustering
        Association
        Data Mining Systems
        D t Mi i S t




                                                  Slide 4
Artificial Intelligence        Machine Learning
Situation: Where Are We?

       The input consists of examples featured by
       different characteristics




                                                           Slide 5
Artificial Intelligence                 Machine Learning
Situation: Where Are We?
        What can we do with a bunch of examples?
        Depend on the type of examples we may have
                Classification: Find the class to which a new instance belongs to
                                                                            g
                          E.g.: Find whether a new patient has cancer or not

                Numeric prediction: A variation of classification in which the output
                         p                                                        p
                consists of numeric classes
                          E.g.: Find the frequency of cancerous cell found

                Regression: Find a function that fits your examples
                          E.g.: Find a function that controls your chain process

                Association: Find association among your problem attributes or
                variables
                          E.g.: Find relations such as a patient with high-blood-pressure i
                          E     Fi d l ti         h        ti t ith hi h bl d             is
                          more likely to have heart-attack disease

                Clustering: Process to cluster/group the instances into classes
                          E.g.: Group clients whose purchases are similar
                                                                                           Slide 6
Artificial Intelligence                         Machine Learning
Data Classification

                                                                                                  Test set



                                                                                New instance

                           Information based                      Knowledge
                           on experience                          extraction
                                                                    t ti
                                                Learner                          Model
               Dataset


                                                                               Predicted Output




                            Training set




                                                                                                   Slide 7
Artificial Intelligence                        Machine Learning
Example of Data Classification

                  Data Set               Classification Model         How




       The classification model can be implemented in several ways:
               • Rules
               • Decision trees
               • Mathematical formulae




                                                                            Slide 8
Artificial Intelligence                    Machine Learning
Classification as a Two-Step Process

        Model usage: to classify future or unknown objects
                 g             y                     j
                Estimate the accuracy of the model
                          The known label of test samples is compared with the label
                          predicted by the system
                          The accuracy rate is the p p
                                       y            proportion of test examples that are
                                                                           p
                          correctly classified by the model
                          The test set is independent of the training set


                If the experts thing that the model is acceptable
                          Then, use to the model to predict unknown examples




                                                                                    Slide 9
Artificial Intelligence                       Machine Learning
Going to Real World
                                                      katydids


 Definition: Given a collection of
 a o a ed data (in s
 annotated da a ( this case katydids
                                a yd ds
 and grasshoppers), decide what type
 of insect in the following one



                                                    grasshoppers




                                                                   Slide 10
Artificial Intelligence          Machine Learning
Going to Real World
        How can I put a katydid or a g
                  p        y         grasshopper into my
                                            pp         y
        computer?




                                                           Slide 11
Artificial Intelligence          Machine Learning
Going to Real World
        Thus, the classification problem has been reduced to
            ,                    p

                          Insect   Abdomen           Antennae        Insect
                            ID      Length
                                    L     th          Length
                                                      L     th       Class
                                                                     Cl
                             1        2.7               5.5       Grasshopper
                             2        8.0               9.1         Katydid
                             3        0.9
                                      09                4.7
                                                        47        Grasshopper
                             4        1.1               3.1       Grasshopper
                             5        5.4               8.5         Katykid
                             6        2.9               1.9       Grasshopper
                             7        6.1               6.6         Katydid
                             8        0.5               1.0       Grasshopper
                             9        8.3               6.6         Katydid
                            10        8.1
                                      81                4.7
                                                        47          Katydid



                We have an observation with abdomen length 5 1 and
                                                           5.1
                antennae length 7?



                                                                                Slide 12
Artificial Intelligence                        Machine Learning
Going to Real World
        Actually, we could write that
               y,




        How do I classify this domain?
                                                    Slide 13
Artificial Intelligence          Machine Learning
How to Create Classification Models




        We will study some of this methods:
                The decision tree C4 5
                                  C4.5
                The instance based classifier kNN
                The probabilistic classifier Naïve Bayes
                                                            Slide 14
Artificial Intelligence                  Machine Learning
Regression or Prediction
        Prediction vs data classification
                Similarities: Both learn from a data set
                Difference:
                Diff
                          In classification, each example has a class associated
                          In
                          I prediction, each example has a numerical value
                               di ti       h      lh            ill
                          associated




                                                                                   Slide 15
Artificial Intelligence                      Machine Learning
How to Extract a Model?

        Prediction works analogously to data classification
                Use
                U an algorithm to b ild a model
                                  build
                      l ih                  dl
                Use this model to predict the new unknown example
        Types of regression
                          Linear and multiple regression
                          Non-linear regression

        Two of the most-used approaches to regression
                              pp             g
                Neural networks
                F       lb     d    t
                Fuzzy rule-based systems




                                                                    Slide 16
Artificial Intelligence                    Machine Learning
Clustering
        The clustering problem
                     gp
                Given a data base D={t1, t2, …, tn} of transactions and an
                integer value k, the c us e g p ob e refers to de e a
                   ege a ue , e clustering problem e e s o define
                mapping f: D {1,…, k} where each ti is assigned to one cluster
                kj, 1<=j<=k
        Main difference with classification
                In classification, each example is labeled with a class
                   classification
                In clustering, examples are not labeled
                                                          Examples of clustering
                                                                Segment customer data base based on
                                                                similar buying patterns
                                                                Group houses in a town into
                                                                G     h      i    t    it
                                                                neighborhoods based on similar features
                                                                Identify new plant species
                                                                Identify similar web usage patterns



                                                                                              Slide 17
Artificial Intelligence                Machine Learning
Example of Clustering
        Put these people in different clusters
                  pp


                                                  Which are the keys?
                                                    Define what’s similar
                                                    Group similar things in
                                                    different clusters
                                                       Size of the clusters?

                                                    Which type of clustering do I want?

                                                       Hierarchical clustering?

                                                       Partition-based clustering?




                                                                               Slide 18
Artificial Intelligence        Machine Learning
Are They Similar?




                                                   Slide 19
Artificial Intelligence         Machine Learning
How to Group the Elements?




                                             Slide 20
Artificial Intelligence   Machine Learning
Which Type of Clustering?
        Many types of clustering
           y yp                g
                Hierarchical: Nested set of clusters
                Partition-based: One set of clusters
                Incremental: Each element handled at one time
                Simultaneous: All elements h dl d t
                Si lt              l    t handled together
                                                      th
                Overlapping/non-overlapping

         Hierarchical Clustering                             Partition-based Clustering




                                                                                          Slide 21
Artificial Intelligence                   Machine Learning
Association Rules
        Given a set of items I={I1, I2, …, Im} and a database of
                               {, , , }
        transactions D={t1, t2, …, tn} where ti={Ii1, Ii2, …, Iik}
        and Iij Є I
        The association rule problem is to identify all the rules
        with form
                X         Y
        Rules ith minimum s pport
        R les with minim m support and confidence
                Support: Fraction of transactions which contain both X and Y
                Confidence: Measures of how often items in Y appear in
                transactions that contain X




                                                                          Slide 22
Artificial Intelligence               Machine Learning
Example Association Rules




        I = {Beer, Bread Jelly Milk PeanutButter}
            {Beer Bread, Jelly, Milk,
        Support of {Bread, PeanutButter} is 60%


                                                    Slide 23
Artificial Intelligence       Machine Learning
Example Association Rules




                                             Slide 24
Artificial Intelligence   Machine Learning
Before Finishing…
        Some environments that contain algorithms to perform
                                            g           p
        data classification, regression, clustering and
        association rule mining


                KEEL: http://www keel es
                      http://www.keel.es


                Weka: http://www.cs.waikato.ac.nz/ml/weka/


                Rapid Miner: http://rapid-i.com/content/blogcategory/38/69/




                                                                              Slide 25
Artificial Intelligence                Machine Learning
Next Class


        Start with data classification
                C4.5




                                                  Slide 26
Artificial Intelligence        Machine Learning
Introduction to Machine
       Learning
                     Lecture 4
     Slides based on Francisco Herrera course on Data Mining




                  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

Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hakky St
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learningbutest
 
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; KamberChapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
error007
 
Hot Topics in Machine Learning For Research and thesis
Hot Topics in Machine Learning For Research and thesisHot Topics in Machine Learning For Research and thesis
Hot Topics in Machine Learning For Research and thesis
WriteMyThesis
 
Types of artificial intelligence ppt
Types of artificial intelligence pptTypes of artificial intelligence ppt
Types of artificial intelligence ppt
LaavyaTech
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning
Aakash Chotrani
 
Introduction to competitive machine learning
Introduction to competitive machine learningIntroduction to competitive machine learning
Introduction to competitive machine learning
Hawaii Machine Learning Meetup
 
Lecture 9 Perceptron
Lecture 9 PerceptronLecture 9 Perceptron
Lecture 9 Perceptron
Marina Santini
 
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AIIntro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
Seth Grimes
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reduction
mrizwan969
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Sajitha Burvin
 
Convolutional neural network in practice
Convolutional neural network in practiceConvolutional neural network in practice
Convolutional neural network in practice
남주 김
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb pptbutest
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
Intro to deep learning
Intro to deep learning Intro to deep learning
Intro to deep learning
David Voyles
 
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
Disease Prediction by Machine Learning Over Big Data From Healthcare CommunitiesDisease Prediction by Machine Learning Over Big Data From Healthcare Communities
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
Khulna University of Engineering & Tecnology
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Rahul Kumar
 
Machine Learning et Intelligence Artificielle
Machine Learning et Intelligence ArtificielleMachine Learning et Intelligence Artificielle
Machine Learning et Intelligence Artificielle
Soft Computing
 
Deep learning for medical imaging
Deep learning for medical imagingDeep learning for medical imaging
Deep learning for medical imaging
geetachauhan
 

What's hot (20)

Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learning
 
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; KamberChapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 6 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
 
Hot Topics in Machine Learning For Research and thesis
Hot Topics in Machine Learning For Research and thesisHot Topics in Machine Learning For Research and thesis
Hot Topics in Machine Learning For Research and thesis
 
Types of artificial intelligence ppt
Types of artificial intelligence pptTypes of artificial intelligence ppt
Types of artificial intelligence ppt
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning
 
Lecture6 - C4.5
Lecture6 - C4.5Lecture6 - C4.5
Lecture6 - C4.5
 
Introduction to competitive machine learning
Introduction to competitive machine learningIntroduction to competitive machine learning
Introduction to competitive machine learning
 
Lecture 9 Perceptron
Lecture 9 PerceptronLecture 9 Perceptron
Lecture 9 Perceptron
 
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AIIntro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
Intro to Deep Learning for Medical Image Analysis, with Dan Lee from Dentuit AI
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reduction
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Convolutional neural network in practice
Convolutional neural network in practiceConvolutional neural network in practice
Convolutional neural network in practice
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb ppt
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 
Intro to deep learning
Intro to deep learning Intro to deep learning
Intro to deep learning
 
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
Disease Prediction by Machine Learning Over Big Data From Healthcare CommunitiesDisease Prediction by Machine Learning Over Big Data From Healthcare Communities
Disease Prediction by Machine Learning Over Big Data From Healthcare Communities
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine Learning et Intelligence Artificielle
Machine Learning et Intelligence ArtificielleMachine Learning et Intelligence Artificielle
Machine Learning et Intelligence Artificielle
 
Deep learning for medical imaging
Deep learning for medical imagingDeep learning for medical imaging
Deep learning for medical imaging
 

Viewers also liked

Machine Learning
Machine LearningMachine Learning
Machine Learning
Girish Khanzode
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningLior Rokach
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Rahul Jain
 
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
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
Venkata Reddy Konasani
 
Introduction to Big Data/Machine Learning
Introduction to Big Data/Machine LearningIntroduction to Big Data/Machine Learning
Introduction to Big Data/Machine Learning
Lars Marius Garshol
 
Coding style of Linux Kernel
Coding style of Linux KernelCoding style of Linux Kernel
Coding style of Linux KernelPeter Chang
 
Machine Learning at Geeky Base
Machine Learning at Geeky BaseMachine Learning at Geeky Base
Machine Learning at Geeky Base
Kan Ouivirach, Ph.D.
 
Machine learning
Machine learningMachine learning
Machine learning
Amit Gupta
 
Image processing
Image processingImage processing
Image processing
Antriksh Saxena
 
final year project_leaf recognition
final year project_leaf recognitionfinal year project_leaf recognition
final year project_leaf recognition
Nupur Aggarwal
 
Matlab Image Enhancement Techniques
Matlab Image Enhancement TechniquesMatlab Image Enhancement Techniques
Matlab Image Enhancement Techniques
matlab Content
 
An OCR System for recognition of Urdu text in Nastaliq Font
An OCR System for recognition of Urdu text in Nastaliq FontAn OCR System for recognition of Urdu text in Nastaliq Font
An OCR System for recognition of Urdu text in Nastaliq FontDr. Syed Hassan Amin
 
Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG
Sulaf Almagooshi
 
Fikrimuhal TRHUG 2016 Machine Learning
Fikrimuhal TRHUG 2016 Machine LearningFikrimuhal TRHUG 2016 Machine Learning
Fikrimuhal TRHUG 2016 Machine Learning
Sukru Hasdemir
 
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLABENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
AM Publications
 
Machine Learning @ Mendeley
Machine Learning @ MendeleyMachine Learning @ Mendeley
Machine Learning @ Mendeley
Kris Jack
 

Viewers also liked (20)

Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Introduction to Big Data/Machine Learning
Introduction to Big Data/Machine LearningIntroduction to Big Data/Machine Learning
Introduction to Big Data/Machine Learning
 
Coding style of Linux Kernel
Coding style of Linux KernelCoding style of Linux Kernel
Coding style of Linux Kernel
 
Machine Learning at Geeky Base
Machine Learning at Geeky BaseMachine Learning at Geeky Base
Machine Learning at Geeky Base
 
Lecture3 - Machine Learning
Lecture3 - Machine LearningLecture3 - Machine Learning
Lecture3 - Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Image processing
Image processingImage processing
Image processing
 
final year project_leaf recognition
final year project_leaf recognitionfinal year project_leaf recognition
final year project_leaf recognition
 
Matlab Image Enhancement Techniques
Matlab Image Enhancement TechniquesMatlab Image Enhancement Techniques
Matlab Image Enhancement Techniques
 
An OCR System for recognition of Urdu text in Nastaliq Font
An OCR System for recognition of Urdu text in Nastaliq FontAn OCR System for recognition of Urdu text in Nastaliq Font
An OCR System for recognition of Urdu text in Nastaliq Font
 
Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG
 
Lecture1 - Machine Learning
Lecture1 - Machine LearningLecture1 - Machine Learning
Lecture1 - Machine Learning
 
Fikrimuhal TRHUG 2016 Machine Learning
Fikrimuhal TRHUG 2016 Machine LearningFikrimuhal TRHUG 2016 Machine Learning
Fikrimuhal TRHUG 2016 Machine Learning
 
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLABENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
ENHANCED SIGNATURE VERIFICATION AND RECOGNITION USING MATLAB
 
Machine Learning @ Mendeley
Machine Learning @ MendeleyMachine Learning @ Mendeley
Machine Learning @ Mendeley
 

Similar to Lecture4 - Machine Learning

Presentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data MiningPresentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data Miningbutest
 
CCIA'2008: On the dimensions of data complexity through synthetic data sets
CCIA'2008: On the dimensions of data complexity through synthetic data setsCCIA'2008: On the dimensions of data complexity through synthetic data sets
CCIA'2008: On the dimensions of data complexity through synthetic data setsAlbert Orriols-Puig
 
Auto-encoding variational bayes
Auto-encoding variational bayesAuto-encoding variational bayes
Auto-encoding variational bayes
Kyuri Kim
 
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
 
Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
Julien SIMON
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
MachinePulse
 
FUNCTION APPROXIMATION
FUNCTION APPROXIMATIONFUNCTION APPROXIMATION
FUNCTION APPROXIMATIONankita pandey
 
Machine learning
 Machine learning Machine learning
Machine learning
Siddharth Kar
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.butest
 
Machine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dkuMachine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dku
Seokhyun Yoon
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
Siby Jose Plathottam
 
Mis End Term Exam Theory Concepts
Mis End Term Exam Theory ConceptsMis End Term Exam Theory Concepts
Mis End Term Exam Theory Concepts
Vidya sagar Sharma
 
Improving Classifier Accuracy using Unlabeled Data..doc
Improving Classifier Accuracy using Unlabeled Data..docImproving Classifier Accuracy using Unlabeled Data..doc
Improving Classifier Accuracy using Unlabeled Data..docbutest
 
Dive into Machine Learning Event MUGDSC.pptx
Dive into Machine Learning Event MUGDSC.pptxDive into Machine Learning Event MUGDSC.pptx
Dive into Machine Learning Event MUGDSC.pptx
RakshaAgrawal21
 
Dive into Machine Learning Event--MUGDSC
Dive into Machine Learning Event--MUGDSCDive into Machine Learning Event--MUGDSC
Dive into Machine Learning Event--MUGDSC
RakshaAgrawal21
 
Artificial Neural Networks for NIU
Artificial Neural Networks for NIUArtificial Neural Networks for NIU
Artificial Neural Networks for NIU
Prof. Neeta Awasthy
 

Similar to Lecture4 - Machine Learning (20)

Lecture5 - C4.5
Lecture5 - C4.5Lecture5 - C4.5
Lecture5 - C4.5
 
Presentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data MiningPresentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data Mining
 
CCIA'2008: On the dimensions of data complexity through synthetic data sets
CCIA'2008: On the dimensions of data complexity through synthetic data setsCCIA'2008: On the dimensions of data complexity through synthetic data sets
CCIA'2008: On the dimensions of data complexity through synthetic data sets
 
Lecture8 - From CBR to IBk
Lecture8 - From CBR to IBkLecture8 - From CBR to IBk
Lecture8 - From CBR to IBk
 
Lecture17
Lecture17Lecture17
Lecture17
 
Dbm630 lecture06
Dbm630 lecture06Dbm630 lecture06
Dbm630 lecture06
 
Auto-encoding variational bayes
Auto-encoding variational bayesAuto-encoding variational bayes
Auto-encoding variational bayes
 
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...
 
Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
FUNCTION APPROXIMATION
FUNCTION APPROXIMATIONFUNCTION APPROXIMATION
FUNCTION APPROXIMATION
 
Machine learning
 Machine learning Machine learning
Machine learning
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
 
Machine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dkuMachine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dku
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
 
Mis End Term Exam Theory Concepts
Mis End Term Exam Theory ConceptsMis End Term Exam Theory Concepts
Mis End Term Exam Theory Concepts
 
Improving Classifier Accuracy using Unlabeled Data..doc
Improving Classifier Accuracy using Unlabeled Data..docImproving Classifier Accuracy using Unlabeled Data..doc
Improving Classifier Accuracy using Unlabeled Data..doc
 
Dive into Machine Learning Event MUGDSC.pptx
Dive into Machine Learning Event MUGDSC.pptxDive into Machine Learning Event MUGDSC.pptx
Dive into Machine Learning Event MUGDSC.pptx
 
Dive into Machine Learning Event--MUGDSC
Dive into Machine Learning Event--MUGDSCDive into Machine Learning Event--MUGDSC
Dive into Machine Learning Event--MUGDSC
 
Artificial Neural Networks for NIU
Artificial Neural Networks for NIUArtificial Neural Networks for NIU
Artificial Neural Networks for NIU
 

More from Albert 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: 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
 

More from Albert Orriols-Puig (20)

HAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasetsHAIS09-BeyondHomemadeArtificialDatasets
HAIS09-BeyondHomemadeArtificialDatasets
 
Lecture24
Lecture24Lecture24
Lecture24
 
Lecture23
Lecture23Lecture23
Lecture23
 
Lecture22
Lecture22Lecture22
Lecture22
 
Lecture21
Lecture21Lecture21
Lecture21
 
Lecture20
Lecture20Lecture20
Lecture20
 
Lecture19
Lecture19Lecture19
Lecture19
 
Lecture18
Lecture18Lecture18
Lecture18
 
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
 
Lecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-TheoryLecture9 - Bayesian-Decision-Theory
Lecture9 - Bayesian-Decision-Theory
 
Lecture7 - IBk
Lecture7 - IBkLecture7 - IBk
Lecture7 - IBk
 
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: 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

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

Lecture4 - Machine Learning

  • 1. Introduction to Machine Learning Lecture 4 Slides based on Francisco Herrera course on Data Mining 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 3 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 2 Artificial Intelligence Machine Learning
  • 3. Recap of Lecture 3 Problems that we’ll study Data l D t classification: C4 5 kNN N ï B ifi ti C4.5, kNN, Naïve Bayes … 1. Statistical learning: SVM 2. Association analysis: A-priori 3. Link mining: Page Rank 4. Clustering: k-means 5. Reinforcement learning: Q-learning, XCS g g, 6. Regression 7. Genetic Fuzzy Systems 8. 8 Slide 3 Artificial Intelligence Machine Learning
  • 4. Today’s Agenda Situation: Where Are We? Classification Prediction Clustering Association Data Mining Systems D t Mi i S t Slide 4 Artificial Intelligence Machine Learning
  • 5. Situation: Where Are We? The input consists of examples featured by different characteristics Slide 5 Artificial Intelligence Machine Learning
  • 6. Situation: Where Are We? What can we do with a bunch of examples? Depend on the type of examples we may have Classification: Find the class to which a new instance belongs to g E.g.: Find whether a new patient has cancer or not Numeric prediction: A variation of classification in which the output p p consists of numeric classes E.g.: Find the frequency of cancerous cell found Regression: Find a function that fits your examples E.g.: Find a function that controls your chain process Association: Find association among your problem attributes or variables E.g.: Find relations such as a patient with high-blood-pressure i E Fi d l ti h ti t ith hi h bl d is more likely to have heart-attack disease Clustering: Process to cluster/group the instances into classes E.g.: Group clients whose purchases are similar Slide 6 Artificial Intelligence Machine Learning
  • 7. Data Classification Test set New instance Information based Knowledge on experience extraction t ti Learner Model Dataset Predicted Output Training set Slide 7 Artificial Intelligence Machine Learning
  • 8. Example of Data Classification Data Set Classification Model How The classification model can be implemented in several ways: • Rules • Decision trees • Mathematical formulae Slide 8 Artificial Intelligence Machine Learning
  • 9. Classification as a Two-Step Process Model usage: to classify future or unknown objects g y j Estimate the accuracy of the model The known label of test samples is compared with the label predicted by the system The accuracy rate is the p p y proportion of test examples that are p correctly classified by the model The test set is independent of the training set If the experts thing that the model is acceptable Then, use to the model to predict unknown examples Slide 9 Artificial Intelligence Machine Learning
  • 10. Going to Real World katydids Definition: Given a collection of a o a ed data (in s annotated da a ( this case katydids a yd ds and grasshoppers), decide what type of insect in the following one grasshoppers Slide 10 Artificial Intelligence Machine Learning
  • 11. Going to Real World How can I put a katydid or a g p y grasshopper into my pp y computer? Slide 11 Artificial Intelligence Machine Learning
  • 12. Going to Real World Thus, the classification problem has been reduced to , p Insect Abdomen Antennae Insect ID Length L th Length L th Class Cl 1 2.7 5.5 Grasshopper 2 8.0 9.1 Katydid 3 0.9 09 4.7 47 Grasshopper 4 1.1 3.1 Grasshopper 5 5.4 8.5 Katykid 6 2.9 1.9 Grasshopper 7 6.1 6.6 Katydid 8 0.5 1.0 Grasshopper 9 8.3 6.6 Katydid 10 8.1 81 4.7 47 Katydid We have an observation with abdomen length 5 1 and 5.1 antennae length 7? Slide 12 Artificial Intelligence Machine Learning
  • 13. Going to Real World Actually, we could write that y, How do I classify this domain? Slide 13 Artificial Intelligence Machine Learning
  • 14. How to Create Classification Models We will study some of this methods: The decision tree C4 5 C4.5 The instance based classifier kNN The probabilistic classifier Naïve Bayes Slide 14 Artificial Intelligence Machine Learning
  • 15. Regression or Prediction Prediction vs data classification Similarities: Both learn from a data set Difference: Diff In classification, each example has a class associated In I prediction, each example has a numerical value di ti h lh ill associated Slide 15 Artificial Intelligence Machine Learning
  • 16. How to Extract a Model? Prediction works analogously to data classification Use U an algorithm to b ild a model build l ih dl Use this model to predict the new unknown example Types of regression Linear and multiple regression Non-linear regression Two of the most-used approaches to regression pp g Neural networks F lb d t Fuzzy rule-based systems Slide 16 Artificial Intelligence Machine Learning
  • 17. Clustering The clustering problem gp Given a data base D={t1, t2, …, tn} of transactions and an integer value k, the c us e g p ob e refers to de e a ege a ue , e clustering problem e e s o define mapping f: D {1,…, k} where each ti is assigned to one cluster kj, 1<=j<=k Main difference with classification In classification, each example is labeled with a class classification In clustering, examples are not labeled Examples of clustering Segment customer data base based on similar buying patterns Group houses in a town into G h i t it neighborhoods based on similar features Identify new plant species Identify similar web usage patterns Slide 17 Artificial Intelligence Machine Learning
  • 18. Example of Clustering Put these people in different clusters pp Which are the keys? Define what’s similar Group similar things in different clusters Size of the clusters? Which type of clustering do I want? Hierarchical clustering? Partition-based clustering? Slide 18 Artificial Intelligence Machine Learning
  • 19. Are They Similar? Slide 19 Artificial Intelligence Machine Learning
  • 20. How to Group the Elements? Slide 20 Artificial Intelligence Machine Learning
  • 21. Which Type of Clustering? Many types of clustering y yp g Hierarchical: Nested set of clusters Partition-based: One set of clusters Incremental: Each element handled at one time Simultaneous: All elements h dl d t Si lt l t handled together th Overlapping/non-overlapping Hierarchical Clustering Partition-based Clustering Slide 21 Artificial Intelligence Machine Learning
  • 22. Association Rules Given a set of items I={I1, I2, …, Im} and a database of {, , , } transactions D={t1, t2, …, tn} where ti={Ii1, Ii2, …, Iik} and Iij Є I The association rule problem is to identify all the rules with form X Y Rules ith minimum s pport R les with minim m support and confidence Support: Fraction of transactions which contain both X and Y Confidence: Measures of how often items in Y appear in transactions that contain X Slide 22 Artificial Intelligence Machine Learning
  • 23. Example Association Rules I = {Beer, Bread Jelly Milk PeanutButter} {Beer Bread, Jelly, Milk, Support of {Bread, PeanutButter} is 60% Slide 23 Artificial Intelligence Machine Learning
  • 24. Example Association Rules Slide 24 Artificial Intelligence Machine Learning
  • 25. Before Finishing… Some environments that contain algorithms to perform g p data classification, regression, clustering and association rule mining KEEL: http://www keel es http://www.keel.es Weka: http://www.cs.waikato.ac.nz/ml/weka/ Rapid Miner: http://rapid-i.com/content/blogcategory/38/69/ Slide 25 Artificial Intelligence Machine Learning
  • 26. Next Class Start with data classification C4.5 Slide 26 Artificial Intelligence Machine Learning
  • 27. Introduction to Machine Learning Lecture 4 Slides based on Francisco Herrera course on Data Mining 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