Machine Learning 101 Intro to AI, ML, Deep Learning

Slides:



Advertisements
Similar presentations
The blue and green colors are actually the same.
Advertisements

Godfather to the Singularity
1 Image Classification MSc Image Processing Assignment March 2003.
An Overview of Machine Learning
Supervised and Unsupervised learning and application to Neuroscience Cours CA6b-4.
1 MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING By Kaan Tariman M.S. in Computer Science CSCI 8810 Course Project.
Chapter 5 Data mining : A Closer Look.
Introduction to machine learning
Machine Learning Usman Roshan Dept. of Computer Science NJIT.
This week: overview on pattern recognition (related to machine learning)
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
General Information Course Id: COSC6342 Machine Learning Time: TU/TH 10a-11:30a Instructor: Christoph F. Eick Classroom:AH123
An Example of Course Project Face Identification.
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.
Some working definitions…. ‘Data Mining’ and ‘Knowledge Discovery in Databases’ (KDD) are used interchangeably Data mining = –the discovery of interesting,
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae, VUW Image Recognition COMP # 18.
Convolutional Restricted Boltzmann Machines for Feature Learning Mohammad Norouzi Advisor: Dr. Greg Mori Simon Fraser University 27 Nov
SUPERVISED AND UNSUPERVISED LEARNING Presentation by Ege Saygıner CENG 784.
General Information Course Id: COSC6342 Machine Learning Time: TU/TH 1-2:30p Instructor: Christoph F. Eick Classroom:AH301
Deep Learning Overview Sources: workshop-tutorial-final.pdf
How do you get here?
Machine Learning Usman Roshan Dept. of Computer Science NJIT.
Usman Roshan Dept. of Computer Science NJIT
Brief Intro to Machine Learning CS539
Combining Models Foundations of Algorithms and Machine Learning (CS60020), IIT KGP, 2017: Indrajit Bhattacharya.
Big data classification using neural network
Hybrid Deep Learning for Reflectance Confocal Microscopy Skin Images
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Machine Learning with Spark MLlib
Machine Learning Models
Convolutional Neural Network
The Relationship between Deep Learning and Brain Function
Machine Learning & Deep Learning
Data Mining, Neural Network and Genetic Programming
Introduction to Data Mining
School of Computer Science & Engineering
School of Computer Science & Engineering
Introduction to Data Science Lecture 7 Machine Learning Overview
CH. 1: Introduction 1.1 What is Machine Learning Example:
Machine Learning Basics
Machine Learning Charan Puvvala.
CAMCOS Report Day December 9th, 2015 San Jose State University
Machine Learning for High-Throughput Stress Phenotyping in Plants
Introduction to Neural Networks
Machine Learning Crash Course
Convolutional Neural Networks
Basics of Deep Learning No Math Required
Word Embedding Word2Vec.
Creating Data Representations
On Convolutional Neural Network
Artificial Intelligence Lecture No. 28
Integrating Deep Learning with Cyber Forensics
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Prepared by: Mahmoud Rafeek Al-Farra
John H.L. Hansen & Taufiq Al Babba Hasan
Somi Jacob and Christian Bach
Data Mining, Machine Learning, Data Analysis, etc. scikit-learn
Overview of deep learning
Machine Learning Algorithms – An Overview
Presentation By: Eryk Helenowski PURE Mentor: Vincent Bindschaedler
Machine Learning with Clinical Data
Face Recognition: A Convolutional Neural Network Approach
Automatic Handwriting Generation
Usman Roshan Dept. of Computer Science NJIT
CAMCOS Report Day December 9th, 2015 San Jose State University
FOUNDATIONS OF BUSINESS ANALYTICS Introduction to Machine Learning
What is Artificial Intelligence?
Patterson: Chap 1 A Review of Machine Learning
Presentation transcript:

Machine Learning 101 Intro to AI, ML, Deep Learning Intro to Machine learning Intro to Deep learning Neural networks Convoluted neural networks Computational biology/genomics My try at ML and deep learning I’ll put together a few slides to present my understanding of various machine learning and deep learning algorithms and how it can be useful to us. I also gave 7 different algorithms a go and applied them to two different datasets. Richard gave a talk last week: Machine learning applications in genetics and genomics (2015); Nicola gave one on ‘How the machine ‘thinks’’; I gave one last year on DeepSEA – which utilises convoluted neural networks to make predictions on the functional effects of a variant I’ve read some books on this, I hope to show that we’re actually in the ML world maybe without realising. Computerphile – Deep Learning URL: https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/ NVIDIA Blog

AI: anything that mimics human intelligence i. e AI: anything that mimics human intelligence i.e. computations, calculations ML: Give the PC an algorithm/paradigm/model (i.e. distinguishing features) and it’ll try and predict/classify – this is what we’re doing with our regression models DL: Give it (clean) data and it’ll extract the features and do the classification Source URL: towardsdatascience.com

Machine Learning 101 “Computers’ ability to learn without being explicitly programmed” Make predictions using (extracted features from) data e.g. Email filters – spam or not? Supervised v unsupervised methods Consideration: Categorical v continuous data We’re surrounded by ML. Just to give a few examples of where ML is used: email filters, smart watches, you may be interested, anything with prediction Data

1- Predicts category/cluster: Classification method (e.g. SVM, CART) Hidden structure Labelled data 1- Predicts category/cluster: Classification method (e.g. SVM, CART) 2- Quantify: Regression method (e.g. Linear Regression, LASSO) 1- Group data: Cluster analysis method (e.g. K-means, Hierarchical) 2- Assign value to each data point: Dimensionality reduction methods (e.g. PCA, ICA) 3- Predict outcome probability from categorical data: Bayesian methods (e.g. HMMs) PCA: Converts a set of observations of possibly correlated variables into a set of values of linearly uncorrelated variables CART: Classification And Regression Trees SVM: Support vector machine LASSO: Least Absolute Shrinkage and Selection Operator ICA: Independent component analysis

Many ML algorithms HMMs Mention SVM procedure

Deep learning 101 Inspired by axons in a biological brain Application of artificial neural networks to learning tasks that contain more than one hidden layer Amount of data* α performance Unlike traditional methods (e.g. logistic regression, SVM) where you observe a plateauing after a certain threshold Due to larger neural networks being formed Today: ML becoming synonymous with Deep Learning (e.g. Google, Kaggle) – because DL is outperforming traditional approaches in prediction *labelled, clean/precise and relevant data

Neural networks 101 A simple example: univariate linear regression => one neuron ReLU: Rectified linear unit DeepSEA utilises what is called a CNN – and to understand CNNs, you need to know something about neural networks A. Ng

More complicated housing price predictor: multivariate linear regression

Convoluted Neural Networks CNNs are widely used in image recognition Convolution can be thought as a sliding window function applied to a matrix Convolution is the process of adding each element of the image to its local neighbours, weighted by the kernel. In example: Window size 3x3 and stride 1 www.wildml.com *Yellow box: Kernel (convolution matrix)

Averaging each pixel with its neighboring values blurs an image Taking the difference between a pixel and its neighbours detects edges 256 x 256 pixels

Continued… Kernel(s) Kernel(s) Feature extraction Classification Feature extraction output: feature vector -> (hopefully!) a summary of all the data This is then attached to a neural network Kernel(s) Kernel(s) Feature extraction Classification

The classical machine learning workflow: (i) data pre‐processing, (ii) feature extraction, (ii) model learning and (iv) model evaluation. Supervised machine learning methods relate input features x to an output label y, whereas unsupervised method learns factors about x without observed labels. Raw input data are often high‐dimensional and related to the corresponding label in a complicated way, which is challenging for many classical machine learning algorithms (left plot). Alternatively, higher‐level features extracted using a deep model may be able to better discriminate between classes (right plot). Deep networks use a hierarchical structure to learn increasingly abstract feature representations from the raw data. Computational biology: variant effect predictors (e.g. DeepSEA), genome annotations, PC: population stratification, prediction Angermueller et al., 2016

Working examples Is someone athletic or not? COPD or not? 7 ML algorithms Logistic regression LDA CART Naïve Bayes K-nearest neighbour SVM RBM feature extraction with logistic regression classifier

COPD input Could have added pack years, and of course lung function measures Age, sex, ever smoked, air pollution, genetic risk score -> COPD or not

Logistic regression

K-Nearest neighbours classifier

Linear discriminant analysis

Appendix

Slide by: D. Evans. California Pacific Medical Center