Artificial Intelligence Lecture No. 27 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.

Slides:



Advertisements
Similar presentations
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Advertisements

Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Introduction to Machine Learning BITS C464/BITS F464
Godfather to the Singularity
Machine Learning Stephen Scott Associate Professor Dept. of Computer Science University of Nebraska January 21, 2004 Supported by:NSF CCR NIH RR-P20.
Machine Learning Case study. What is ML ?  The goal of machine learning is to build computer systems that can adapt and learn from their experience.”
An Introduction to Machine Learning In the area of AI (earlier) machine learning took a back seat to Expert Systems Expert system development usually consists.
Machine Learning (Extended) Dr. Ata Kaban
Data Mining with Decision Trees Lutz Hamel Dept. of Computer Science and Statistics University of Rhode Island.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Chapter 12: Intelligent Systems in Business
Maria-Florina Balcan A Theoretical Model for Learning from Labeled and Unlabeled Data Maria-Florina Balcan & Avrim Blum Carnegie Mellon University, Computer.
Introduction to Machine Learning Approach Lecture 5.
Chapter 5 Data mining : A Closer Look.
Machine Learning Theory Maria-Florina Balcan Lecture 1, Jan. 12 th 2010.
Introduction to machine learning
What is Machine Learning?
Wilma Bainbridge Tencia Lee Kendra Leigh
CS Machine Learning. What is Machine Learning? Adapt to / learn from data  To optimize a performance function Can be used to:  Extract knowledge.
CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Copyright R. Weber Machine Learning, Data Mining ISYS370 Dr. R. Weber.
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Data Mining Joyeeta Dutta-Moscato July 10, Wherever we have large amounts of data, we have the need for building systems capable of learning information.
Introduction to Machine Learning MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Gavin Brown, University of Manchester.
MACHINE LEARNING 張銘軒 譚恆力 1. OUTLINE OVERVIEW HOW DOSE THE MACHINE “ LEARN ” ? ADVANTAGE OF MACHINE LEARNING ALGORITHM TYPES  SUPERVISED.
Chapter 1 Introduction to Data Mining
Machine Learning An Introduction. What is Learning?  Herbert Simon: “Learning is any process by which a system improves performance from experience.”
Data Mining Chapter 1 Introduction -- Basic Data Mining Tasks -- Related Concepts -- Data Mining Techniques.
Artificial Intelligence Lecture No. 29 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Lecture 10: 8/6/1435 Machine Learning Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
1 CSC 8520 Spring Paula Matuszek Kinds of Machine Learning Machine learning techniques can be grouped into several categories, in several ways: –What.
Chapter 3 DECISION SUPPORT SYSTEMS CONCEPTS, METHODOLOGIES, AND TECHNOLOGIES: AN OVERVIEW Study sub-sections: , 3.12(p )
1 Lecture 1: Introduction to Artificial Intelligence.
1 Machine Learning (Extended) Dr. Ata Kaban Algorithms to enable computers to learn –Learning = ability to improve performance automatically through experience.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
1 Machine Learning 1.Where does machine learning fit in computer science? 2.What is machine learning? 3.Where can machine learning be applied? 4.Should.
Learning from observations
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Machine Learning, Decision Trees, Overfitting Machine Learning Tom M. Mitchell Machine Learning Department Carnegie Mellon University January 14,
Course Instructor: K ashif I hsan 1. Chapter # 1 Kashif Ihsan, Lecturer CS, MIHE2.
Machine Learning Extract from various presentations: University of Nebraska, Scott, Freund, Domingo, Hong,
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Machine Learning Introduction. Class Info Office Hours –Monday:11:30 – 1:00 –Wednesday:10:00 – 1:00 –Thursday:11:30 – 1:00 Course Text –Tom Mitchell:
What is Artificial Intelligence?
Data Mining and Decision Support
CS507 Information Systems. Lesson # 11 Online Analytical Processing.
Copyright Paula Matuszek Kinds of Machine Learning.
Machine Learning Chapter 18, 21 Some material adopted from notes by Chuck Dyer.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
Machine Learning BY UZMA TUFAIL MCS : section (E) ROLL NO: /31/2016.
Reinforcement Learning for Mapping Instructions to Actions S.R.K. Branavan, Harr Chen, Luke S. Zettlemoyer, Regina Barzilay Computer Science and Artificial.
Machine Learning. Definition Machine learning is a subfield of computer science that evolved from the study of pattern recognition and computational.
Artificial Intelligence Lecture No. 14 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
By William Campbell MACHINE LEARNING. OVERVIEW What is machine learning? Human decision-making Learning algorithms Applications.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Machine Learning, Bio-informatics and Weka
Information Organization: Overview
Artificial Intelligence, P.II
Machine Learning overview Chapter 18, 21
Machine Learning overview Chapter 18, 21
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
School of Computer Science & Engineering
Machine Learning Ali Ghodsi Department of Statistics
What is Pattern Recognition?
Course Instructor: knza ch
3.1.1 Introduction to Machine Learning
Lecture 6: Knowledge Application Systems
Information Organization: Overview
Machine Learning overview Chapter 18, 21
Presentation transcript:

Artificial Intelligence Lecture No. 27 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology (CIIT) Islamabad, Pakistan.

Summary of Previous Lecture CLIPS

Today’s Lecture Machine learning Machine learning / Data mining Algorithm types

Machine learning A branch of artificial intelligence, concerns the construction and study of systems that can learn from data. – A machine learning system could be trained on messages to learn to distinguish between spam and non-spam messages. – After learning, it can then be used to classify new messages into spam and non-spam folders.

Machine learning Machine learning deals with representation and generalization. – Representation of data instances and functions evaluated on these instances are part of all machine learning systems. – Generalization is the property that the system will perform well on unseen data instances; the conditions under which this can be guaranteed are a key object of study in the subfield of Computational Learning Theory.

Machine learning / Data mining These two terms are commonly confused, as they often employ the same methods and overlap significantly. They can be roughly defined as follows: – Machine learning focuses on prediction, based on known properties learned from the training data. – Data mining (which is the analysis step of Knowledge Discovery in Databases) focuses on the discovery of (previously) unknown properties on the data.

The world is driven by data. Germany’s climate research centre generates 10 petabytes per year Google processes 24 petabytes per day The Large Hadron Collider produces 60 gigabytes per minute (~12 DVDs) There are over 50m credit card transactions a day in the US alone. Learning from Data

Data is recorded from some real-world phenomenon. What might we want to do with that data? Prediction - what can we predict about this phenomenon? Description - how can we describe/understand this phenomenon in a new way?

How can we extract knowledge from data to help humans take decisions? How can we automate decisions from data? How can we adapt systems dynamically to enable better user experiences? Write code to explicitly do the above tasks Write code to make the computer learn how to do the tasks Learning from Data

Machine Learning Where does it fit? What is it not? Artificial Intelligence Statistics / Mathematics Computer Vision Data Mining Machine Learning Robotics

Coding Skills Maths/Statistics Knowledge Machine Learning Data Science £££ Specialist Domain Knowledge Software Engineer Statistician

Human interaction Some machine learning systems attempt to eliminate the need for human intuition in data analysis, while others adopt a collaborative approach between human and machine. Human intuition cannot, however, be entirely eliminated, since the system's designer must specify how the data is to be represented and what mechanisms will be used to search for a characterization of the data

What is Learning? Many different answers, depending on the field you’re considering and whom you ask – AI vs. psychology vs. education vs. neurobiology vs. …

Does Memorization = Learning? Test #1: Thomas learns his mother’s face Memorizes: But will he recognize:

Thus he can generalize beyond what he’s seen!

Does Memorization = Learning? (cont’d) Test #2: Nicholas learns about trucks Memorizes: But will he recognize others?

So learning involves ability to generalize from labeled examples (in contrast, memorization is trivial, especially for a computer)

Again, what is Machine Learning? Given several labeled examples of a concept – E.g. trucks vs. non-trucks Examples are described by features – E.g. number-of-wheels (integer), relative-height (height divided by width), hauls-cargo (yes/no) A machine learning algorithm uses these examples to create a hypothesis that will predict the label of new (previously unseen) examples Similar to a very simplified form of human learning

Why Machine Learning? (Relatively) new kind of capability for computers – Data mining: extracting new information from medical records, maintenance records, etc. – Self-customizing programs: Web browser that learns what you like and seeks it out – Applications we can’t program by hand: E.g. speech recognition, autonomous driving

Why Machine Learning? (cont’d) Many old real-world applications of AI were expert systems – Essentially a set of if-then rules to emulate a human expert – E.g. “If medical test A is positive and test B is negative and if patient is chronically thirsty, then diagnosis = diabetes with confidence 0.85” – Rules were extracted via interviews of human experts

Machine Learning vs. Expert Systems ES: Expertise extraction done ML: Automatic ES: Rules might not incorporate intuition, which might mask true reasons for answer – E.g. in medicine, the reasons given for diagnosis x might not be the objectively correct ones, and the expert might be unconsciously picking up on other info – ML: More “objective”

Machine Learning vs. Expert Systems (cont’d) ES: Expertise might not be comprehensive, e.g. physician might not have seen some types of cases ML: Automatic, objective, and data-driven – Though it is only as good as the available data

More Detailed Example: Content- Based Image Retrieval Given database of hundreds of thousands of images How can users easily find what they want? One idea: Users query database by image content – E.g. “give me images with a waterfall”

Content-Based Image Retrieval (cont’d) One approach: Someone explain each image with text on its content – Tedious, terminology ambiguous, maybe subjective Better approach: Query by example – Users give examples of images they want – Program determines what’s common among them and finds more like them

Content-Based Image Retrieval (cont’d) User’s Query: System’s Response: Yes NO!User Feedback:

User’s feedback then labels the new images, which are used as more training examples, yielding a new hypothesis, and more images are retrieved Content-Based Image Retrieval (cont’d)

How Does the System Work? For each pixel in the image, extract its color + the colors of its neighbors These colors (and their relative positions in the image) are the features the learner uses (replacing e.g. number-of-wheels) A learning algorithm takes examples of what the user wants, produces a hypothesis of what’s common among them, and uses it to label new images

Other Applications of ML The Google search engine uses numerous machine learning techniques – Spelling corrector: “spehl korector”, “phonitick spewling”, “Brytney Spears”, “Brithney Spears”, … – Grouping together top news stories from numerous sources (news.google.com)news.google.com – Analyzing data from over 3 billion web pages to improve search results – Analyzing which search results are most often followed, i.e. which results are most relevant

Algorithm types Machine learning algorithms can be organized into a taxonomy based on the desired outcome of the algorithm or the type of input available during training the machine.

Supervised learning Algorithms are trained on labeled examples, i.e., input where the desired output is known. The supervised learning algorithm attempts to generalize a function or mapping from inputs to outputs which can then be used to speculatively generate an output for previously unseen inputs.

Unsupervised learning Algorithms operate on unlabelled examples, i.e., input where the desired output is unknown. Here the objective is to discover structure in the data (e.g. through a cluster analysis), not to generalize a mapping from inputs to outputs.

Semi-supervised learning Combines both labeled and unlabelled examples to generate an appropriate function or classifier.

Reinforcement learning Concerned with how intelligent agents have to to act in an environment to maximize some notion of reward. The agent executes actions which cause the observable state of the environment to change. Through a sequence of actions, the agent attempts to gather knowledge about how the environment responds to its actions, and attempts to synthesizes a sequence of actions that maximizes a cumulative reward.

Summery of Today’s Lecture Machine learning Machine learning / Data mining Algorithm types