Machine Learning Part 2

Similar documents
Python Machine Learning

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

Generative models and adversarial training

Knowledge Transfer in Deep Convolutional Neural Nets

Lecture 1: Machine Learning Basics

CS Machine Learning

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

(Sub)Gradient Descent

Course Outline. Course Grading. Where to go for help. Academic Integrity. EE-589 Introduction to Neural Networks NN 1 EE

Rule Learning With Negation: Issues Regarding Effectiveness

Artificial Neural Networks

A Neural Network GUI Tested on Text-To-Phoneme Mapping

INPE São José dos Campos

Deep search. Enhancing a search bar using machine learning. Ilgün Ilgün & Cedric Reichenbach

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

Rule Learning with Negation: Issues Regarding Effectiveness

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Human Emotion Recognition From Speech

Softprop: Softmax Neural Network Backpropagation Learning

Evolution of Symbolisation in Chimpanzees and Neural Nets

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Semantic Segmentation with Histological Image Data: Cancer Cell vs. Stroma

HIERARCHICAL DEEP LEARNING ARCHITECTURE FOR 10K OBJECTS CLASSIFICATION

Word Segmentation of Off-line Handwritten Documents

Classification Using ANN: A Review

arxiv: v1 [cs.lg] 15 Jun 2015

Test Effort Estimation Using Neural Network

Australian Journal of Basic and Applied Sciences

CS177 Python Programming

Evolutive Neural Net Fuzzy Filtering: Basic Description

Analysis of Emotion Recognition System through Speech Signal Using KNN & GMM Classifier

TRANSFER LEARNING OF WEAKLY LABELLED AUDIO. Aleksandr Diment, Tuomas Virtanen

Machine Learning and Data Mining. Ensembles of Learners. Prof. Alexander Ihler

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Artificial Neural Networks written examination

Analysis of Hybrid Soft and Hard Computing Techniques for Forex Monitoring Systems

Applications of data mining algorithms to analysis of medical data

SINGLE DOCUMENT AUTOMATIC TEXT SUMMARIZATION USING TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF)

Calibration of Confidence Measures in Speech Recognition

Notes on The Sciences of the Artificial Adapted from a shorter document written for course (Deciding What to Design) 1

Using focal point learning to improve human machine tacit coordination

Autoregressive product of multi-frame predictions can improve the accuracy of hybrid models

Issues in the Mining of Heart Failure Datasets

Lecture 2: Quantifiers and Approximation

arxiv: v2 [cs.cv] 30 Mar 2017

SARDNET: A Self-Organizing Feature Map for Sequences

Lecture 1: Basic Concepts of Machine Learning

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

Probabilistic Latent Semantic Analysis

Lecture 10: Reinforcement Learning

Cultivating DNN Diversity for Large Scale Video Labelling

Interactive Whiteboard

AUTOMATED FABRIC DEFECT INSPECTION: A SURVEY OF CLASSIFIERS

Challenges in Deep Reinforcement Learning. Sergey Levine UC Berkeley

Introduction to Simulation

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

Modeling function word errors in DNN-HMM based LVCSR systems

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

Linking Task: Identifying authors and book titles in verbose queries

Large-Scale Web Page Classification. Sathi T Marath. Submitted in partial fulfilment of the requirements. for the degree of Doctor of Philosophy

Speaker Identification by Comparison of Smart Methods. Abstract

Computerized Adaptive Psychological Testing A Personalisation Perspective

Chapter 2 Rule Learning in a Nutshell

Analysis of Speech Recognition Models for Real Time Captioning and Post Lecture Transcription

Evaluating and Comparing Classifiers: Review, Some Recommendations and Limitations

evans_pt01.qxd 7/30/2003 3:57 PM Page 1 Putting the Domain Model to Work

Forget catastrophic forgetting: AI that learns after deployment

A study of speaker adaptation for DNN-based speech synthesis

ADVANCES IN DEEP NEURAL NETWORK APPROACHES TO SPEAKER RECOGNITION

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

Web as Corpus. Corpus Linguistics. Web as Corpus 1 / 1. Corpus Linguistics. Web as Corpus. web.pl 3 / 1. Sketch Engine. Corpus Linguistics

arxiv: v1 [cs.cv] 10 May 2017

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Глубокие рекуррентные нейронные сети для аспектно-ориентированного анализа тональности отзывов пользователей на различных языках

Disambiguation of Thai Personal Name from Online News Articles

Learning Methods for Fuzzy Systems

Business Analytics and Information Tech COURSE NUMBER: 33:136:494 COURSE TITLE: Data Mining and Business Intelligence

Reducing Features to Improve Bug Prediction

Speech Emotion Recognition Using Support Vector Machine

Let s think about how to multiply and divide fractions by fractions!

Universidade do Minho Escola de Engenharia

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

Proposal of Pattern Recognition as a necessary and sufficient principle to Cognitive Science

A Simple VQA Model with a Few Tricks and Image Features from Bottom-up Attention

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

Purdue Data Summit Communication of Big Data Analytics. New SAT Predictive Validity Case Study

Learning From the Past with Experiment Databases

Software Maintenance

CSL465/603 - Machine Learning

Product Feature-based Ratings foropinionsummarization of E-Commerce Feedback Comments

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

A Reinforcement Learning Variant for Control Scheduling

An empirical study of learning speed in backpropagation

Modeling function word errors in DNN-HMM based LVCSR systems

Assignment 1: Predicting Amazon Review Ratings

Accelerated Learning Course Outline

Transcription:

Data Science Weekend Machine Learning Part 2 KMK Online Analytic Team Fajri Koto Data Scientist fajri.koto@kmklabs.com

Machine Learning Part 2 Outline 1. Handling Imbalanced Dataset 2. Understanding the Neural Network 3. Introduction to Deep Neural Network

Machine Learning Part 2 Outline 1. Handling Imbalanced Dataset 2. Understanding the Neural Network 3. Introduction to Deep Neural Network

1. Handling Imbalanced Dataset Introduction

1. Handling Imbalanced Dataset Introduction Example of imbalance The star count is too little!! Ratio (pos vs neg) Ratio = 1 : 95

1. Handling Imbalanced Dataset Introduction Datasets are said to be balanced if there are, approximately, as many positive examples of the concept as there are negative ones. positive + negative -

1. Handling Imbalanced Dataset Introduction There exist many domains that do not have a balanced data set. Examples: Helicopter Gearbox Fault Monitoring Discrimination between Earthquakes and Nuclear Explosions Document Filtering Detection of Oil Spills Detection of Fraudulent Telephone Calls Cancer Keep in mind that, Biasanya model kita berfokus kepada class minor, Contoh: Fraudulence detection, or Cancer detection

1. Handling Imbalanced Dataset Problem of Imbalance Dataset Training stages are often biased towards the majority class. (Generalization) because these classifiers attempt to reduce global quantities such as the error rate, not taking the data distribution into consideration. As a result examples from the overwhelming class are well-classified whereas examples from the minority class tend to be misclassified.

1. Handling Imbalanced Dataset How to tackle imbalance 1. Algorithm Level Ensemble learning 2. Data Level Manipulating data

1. Handling Imbalanced Dataset Tackling Imbalance in Algorithm Level

1. Handling Imbalanced Dataset Tackling Imbalance in Data Level Basic technique: - Random Over Sampling (ROS) Duplicating minority data - Random Under Sampling (RUS) Deleting some majority data

1. Handling Imbalanced Dataset Tackling Imbalance in Data Level (Cont d) The most famous one: SMOTE

1. Handling Imbalanced Dataset SMOTE

1. Handling Imbalanced Dataset How to measure the performances? I have dataset with ratio 90% vs 10% After training, I obtained accuracy 90% Is it good result?

1. Handling Imbalanced Dataset How to measure the performances?

1. Handling Imbalanced Dataset SMOTE

Machine Learning Part 2 Outline 1. Handling Imbalanced Dataset 2. Understanding the Neural Network 3. Introduction to Deep Neural Network

2. Understanding Neural Network Outline 1. 2. 3. 4. 5. 6. What is Neural Network / Artificial Neural Network? Why Neural Network? How Do Neural Networks Work? Example of calculation - the simplest Example of calculation - use backpropagation NN in python

2. Understanding Neural Network 1. What is Artificial Neural Network? VS

2. Understanding Neural Network 1. What is Artificial Neural Network? is a computational system inspired by 1. 2. 3. the Structure Processing Method Learning Ability of a biological brain

2. Understanding Neural Network 1. What is Artificial Neural Network? Realized that the brain could solve many problems much easier than even the best computer image recognition speech recognition pattern recognition Very easy for the brain but very difficult for a computer

2. Understanding Neural Network 1. What is Artificial Neural Network? An extremely simplified model of the brain Essentially a function approximator Transforms inputs into outputs to the best of its ability

2. Understanding Neural Network 1. What is Artificial Neural Network? Composed of many neurons that co-operate to perform the desired function

2. Understanding Neural Network 2. Why Neural Network? - Massive Parallelism - Distributed representation - Learning ability - Generalization ability - Fault tolerance What are they used for? Classification Pattern recognition, feature extraction, image matching Noise Reduction Recognize patterns in the inputs and produce noiseless outputs Prediction Extrapolation based on historical data

2. Understanding Neural Network 2. Why Neural Network? One of successful Implementation of NN

2. Understanding Neural Network 3. How do Neural Network work?

2. Understanding Neural Network 3. How do Neural Network work? #Properties1 : Activation function

2. Understanding Neural Network 3. How do Neural Network work? #Properties1 : Activation function

2. Understanding Neural Network 3. How do Neural Network work? #Properties2 : Weights The weights in a neural network are the most important factor in determining its function Training is the act of presenting the network with some sample data and modifying the weights to better approximate the desired function

2. Understanding Neural Network 3. How do Neural Network work? #Terminology : Epoch Epoch: One iteration through the process of providing the network with an input and updating the network's weights Typically many epochs are required to train the neural network

2. Understanding Neural Network 4. Example of calculation - The simplest

2. Understanding Neural Network 4. Example of calculation - The simplest How does it learn?

2. Understanding Neural Network 4. Example of calculation - Use backpropagation Case: Multi Layer

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation

2. Understanding Neural Network 4. Example of calculation - Use backpropagation Now, For Backpropagation!! Please look at carefully, it is not hard!

2. Understanding Neural Network 4. Example of calculation - Use backpropagation Now, For Backpropagation!! Please look at carefully, it is not hard!

2. Understanding Neural Network 4. Example of calculation - Use backpropagation 1)

2. Understanding Neural Network 4. Example of calculation - Use backpropagation 2)

2. Understanding Neural Network 4. Example of calculation - Use backpropagation 3)

2. Understanding Neural Network 4. Example of calculation - Use backpropagation 4)

2. Understanding Neural Network 5. Neural Network on Sklearn

Machine Learning Part 3 Outline 1. Handling Imbalanced Dataset 2. Understanding the Neural Network 3. Introduction to Deep Neural Network

3. Introduction to Deep Neural Network A Brief Introduction to Deep Learning Artificial Neural Network Back-propagation Fully Connected Layer Convolutional Layer Overfitting

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Why do I have to learn deep learning?

3. Introduction to Deep Neural Network Fully Connected Layer

3. Introduction to Deep Neural Network Convolutional Layer

3. Introduction to Deep Neural Network Convolutional Layer

3. Introduction to Deep Neural Network Fully Connected Layer

Machine Learning Part 1 Thank You Questions? KMK Online Analytic Team Fajri Koto Data Scientist fajri.koto@kmklabs.com