Week 1 - An Introduction to Machine Learning & Soft Computing

Slides:



Advertisements
Similar presentations
Approaches, Tools, and Applications Islam A. El-Shaarawy Shoubra Faculty of Eng.
Advertisements

Introduction to Machine Learning BITS C464/BITS F464
Machine learning continued Image source:
Computational Methods for Data Analysis
Rise of the Machines Jack Concanon
Introduction to machine learning
CS Machine Learning. What is Machine Learning? Adapt to / learn from data  To optimize a performance function Can be used to:  Extract knowledge.
More Machine Learning Linear Regression Squared Error L1 and L2 Regularization Gradient Descent.
Lecture 2: Introduction to Machine Learning
Artificial Intelligence Robbie Nakatsu AIMS 2710.
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.
1 Artificial Neural Networks Sanun Srisuk EECP0720 Expert Systems – Artificial Neural Networks.
10/6/2015 1Intelligent Systems and Soft Computing Lecture 0 What is Soft Computing.
CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CPSC 502, Lecture 15Slide 1 Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 16 Nov, 3, 2011 Slide credit: C. Conati, S.
Data Mining Chapter 1 Introduction -- Basic Data Mining Tasks -- Related Concepts -- Data Mining Techniques.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP19 Neural Networks & SVMs Miguel Tavares.
Introduction to machine learning and data mining 1 iCSC2014, Juan López González, University of Oviedo Introduction to machine learning Juan López González.
CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Machine Learning Introduction Study on the Coursera All Right Reserved : Andrew Ng Lecturer:Much Database Lab of Xiamen University Aug 12,2014.
Model representation Linear regression with one variable
Andrew Ng Linear regression with one variable Model representation Machine Learning.
Some working definitions…. ‘Data Mining’ and ‘Knowledge Discovery in Databases’ (KDD) are used interchangeably Data mining = –the discovery of interesting,
Computational Intelligence II Lecturer: Professor Pekka Toivanen Exercises: Nina Rogelj
An Overview of Intrusion Detection Using Soft Computing Archana Sapkota Palden Lama CS591 Fall 2009.
Introduction to Artificial Intelligence and Soft Computing
Machine learning system design Prioritizing what to work on
Logistic Regression Week 3 – Soft Computing By Yosi Kristian.
Learning from observations
Intelligent System Ming-Feng Yeh Department of Electrical Engineering Lunghwa University of Science and Technology Website:
Introduction Welcome Machine Learning.
Chapter 2-OPTIMIZATION
Data Mining and Decision Support
1 Introduction to Machine Learning Chapter 1. cont.
6.S093 Visual Recognition through Machine Learning Competition Image by kirkh.deviantart.com Joseph Lim and Aditya Khosla Acknowledgment: Many slides from.
Machine Learning Lecture 1: Intro + Decision Trees Moshe Koppel Slides adapted from Tom Mitchell and from Dan Roth.
A New Generation of Artificial Neural Networks.  Support Vector Machines (SVM) appeared in the early nineties in the COLT92 ACM Conference.  SVM have.
Introduction to Classification & Clustering Villanova University Machine Learning Lab Module 4.
Introduction to Machine Learning. Learning Learning is acquiring new, or modifying existing, knowledge, behaviors, skills, values, or preferences and.
Introduction to Machine Learning. Introduce yourself Why you choose this course? Any examples of machine learning you know?
WEEK 2 SOFT COMPUTING & MACHINE LEARNING YOSI KRISTIAN Gradient Descent for Linear Regression.
Brief Intro to Machine Learning CS539
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Machine Learning Models
Machine Learning for Computer Security
Introduction to Classification & Clustering
Artificial Intelligence, P.II
Machine Learning & Deep Learning
School of Computer Science & Engineering
Lecture 3: Linear Regression (with One Variable)
Machine Learning I & II.
Introduction to Soft Computing
Introduction Welcome Machine Learning.
Basic Intro Tutorial on Machine Learning and Data Mining
Introduction to Artificial Intelligence and Soft Computing
Intelligent Systems and
3.1.1 Introduction to Machine Learning
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Machine Learning Algorithms – An Overview
CS639: Data Management for Data Science
What is machine learning
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
CS+Social Good.
Machine learning CS 229 / stats 229
Linear regression with one variable
Introduction Welcome Machine Learning.
Presentation transcript:

Week 1 - An Introduction to Machine Learning & Soft Computing -Yosi Kristian-

Soft Computing STTS – Yosi Kristian

Definition Soft Computing is a term applied to a field within computer science which is characterized by the use of inexact solutions to computationally hard tasks, for which there is no known algorithm that can compute an exact solution.  Soft computing differs from conventional (hard) computing in that, unlike hard computing, it is tolerant of imprecision, uncertainty, partial truth, and approximation. Soft Computing STTS – Yosi Kristian

Still the Definition.. In effect, the role model for soft computing is the human mind. The guiding principle of soft computing is: Exploit the tolerance for imprecision, uncertainty, partial truth, and approximation to achieve tractability, robustness and low solution cost. Soft Computing STTS – Yosi Kristian

Components of soft computing What ??? Are we going to learn them all in this subject? Neural networks (NN) Support Vector Machines (SVM) Fuzzy logics (FL) Evolutionary computation (EC), including: Evolutionary algorithms Genetic algorithms Differential evolution Meta heuristic and Swarm Intelligence Ant colony optimization Bees algorithms Bat algorithm Cuckoo search Harmony search Firefly algorithm Artificial immune systems Particle swarm optimization Soft Computing STTS – Yosi Kristian

Soft Computing in AI Soft computing may be viewed as a foundation component for the emerging field of conceptual intelligence. Machine Learning Fuzzy Systems Evolutionary Computation Probabilistic Reasoning Soft Computing is the CORE component of many Machine Learning System Soft Computing STTS – Yosi Kristian

Machine Learning Arthur Samuel (1959). Machine Learning: Field of study that gives computers the ability to learn without being explicitly programmed. Tom Mitchell (1998) Well-posed Learning Problem: A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E. Soft Computing STTS – Yosi Kristian

Machine learning usage Usage of Machine Learning is to develop applications that can’t be programed by hand. E.g., Autonomous helicopter, handwriting recognition, most of Natural Language Processing (NLP), Computer Vision etc. Or a machine learning system could be trained on email messages to learn to distinguish between spam and non-spam messages. After learning, it can then be used to classify new email messages into spam and non-spam folders. Soft Computing STTS – Yosi Kristian

Machine Learning Categorized By Data and Learning Process Soft Computing STTS – Yosi Kristian

Soft Computing In Machine Learning Soft Computing is the soul of many machine learning system. Classification and Clustering is a very common soft computing problems. Soft Computing STTS – Yosi Kristian

Intro to Supervised Learning Soft Computing STTS – Yosi Kristian

Example Housing price prediction. Supervised Learning in 1000’s Size in feet2 Supervised Learning “right answers” given Regression: Predict continuous valued output (price) Soft Computing STTS – Yosi Kristian

Example Breast cancer (malignant, benign) Classification Discrete valued output (0 or 1) 1(Y) Malignant? 0(N) Tumor Size Tumor Size Soft Computing STTS – Yosi Kristian

Another Example Clump Thickness Uniformity of Cell Size Uniformity of Cell Shape … Age Tumor Size Soft Computing STTS – Yosi Kristian

Exercise You’re running a company, and you want to develop learning algorithms to address each of two problems. Problem 1: You have a large inventory of identical items. You want to predict how many of these items will sell over the next 3 months. Problem 2: You’d like software to examine individual customer accounts, and for each account decide if it has been hacked/compromised. Should you treat these as classification or as regression problems? Soft Computing STTS – Yosi Kristian

Answer Treat both as classification problems. Treat problem 1 as a classification problem, problem 2 as a regression problem. Treat problem 1 as a regression problem, problem 2 as a classification problem. Treat both as regression problems. Soft Computing STTS – Yosi Kristian

Classification Example Another Example is for image Classification / Categorization Training Training Labels Training Images Image Features Classifier Training Trained Classifier Soft Computing STTS – Yosi Kristian

Cont… Testing Image Features Trained Classifier Test Image Prediction Outdoor Soft Computing STTS – Yosi Kristian

Learning a classifier Given some set of features with corresponding labels, learn a function to predict the labels from the features Training labels dictate that two examples are the same or different, in some sense Features and distance measures define similarity Classifiers try to learn weights or parameters for features and distance measures so that feature similarity predicts label similarity Soft Computing STTS – Yosi Kristian

Intro to Unsupervised Learning Soft Computing STTS – Yosi Kristian

Supervised Learning x2 x1 Soft Computing STTS – Yosi Kristian

Unsupervised Learning x2 x1 Soft Computing STTS – Yosi Kristian

Clustering Example Soft Computing STTS – Yosi Kristian

Contd… Soft Computing STTS – Yosi Kristian

Exercise Of the following examples, which would you address using an unsupervised learning algorithm? (Check all that apply.) Given email labeled as spam/not spam, learn a spam filter. Given a set of news articles found on the web, group them into set of articles about the same story. Given a database of customer data, automatically discover market segments and group customers into different market segments. Given a dataset of patients diagnosed as either having diabetes or not, learn to classify new patients as having diabetes or not. Soft Computing STTS – Yosi Kristian

Warming Up…. Do 10 x Push Ups. Soft Computing STTS – Yosi Kristian

Linear Regression with one variable Housing Prices (Portland, OR) Price (in 1000s of dollars) Size (feet2) Supervised Learning Given the “right answer” for each example in the data. Regression Problem Predict real-valued output Soft Computing STTS – Yosi Kristian

Linear Regression with one variable Training set of housing prices (Portland, OR) Notation: m = Number of training examples n = Number of feature x’s = “input” variable / features y’s = “output” variable / “target” variable Soft Computing STTS – Yosi Kristian

The Concept Training Set How do we represent h ? Learning Algorithm Size of house h Estimated price Linear regression with one variable. Univariate linear regression. Soft Computing STTS – Yosi Kristian

Cost Function Training Set Hypothesis: ‘s: Parameters How to choose ‘s ? Soft Computing STTS – Yosi Kristian

Contd.. Soft Computing STTS – Yosi Kristian

Cost Function.. y x Idea: Choose so that is close to for our training examples Soft Computing STTS – Yosi Kristian

Simplification: For the sake of understanding Simplified Hypothesis: Parameters: Cost Function: Goal: Soft Computing STTS – Yosi Kristian

Trial 1 y x (function of the parameter ) (for fixed , this is a function of x) y x Soft Computing STTS – Yosi Kristian

Trial 2 y x (for fixed , this is a function of x) (function of the parameter ) y x Soft Computing STTS – Yosi Kristian

Trial 3 y x (function of the parameter ) (for fixed , this is a function of x) y x Soft Computing STTS – Yosi Kristian

Done with simplification, back to real world. Hypothesis: Parameters: Cost Function: Goal: Soft Computing STTS – Yosi Kristian

The Contour Figures …. How to find minimum of J in that? Soft Computing STTS – Yosi Kristian

Gradient Descent.. Next Week… Soft Computing STTS – Yosi Kristian