Machine Learning Speaker :Chia-Shing Huang Advisor :Dr. Kai-Wei Ke 2016/01/14 1.

Slides:



Advertisements
Similar presentations
A Brief Overview of Neural Networks By Rohit Dua, Samuel A. Mulder, Steve E. Watkins, and Donald C. Wunsch.
Advertisements

Slides from: Doug Gray, David Poole
1 Machine Learning: Lecture 4 Artificial Neural Networks (Based on Chapter 4 of Mitchell T.., Machine Learning, 1997)
An Overview of Machine Learning
Artificial Neural Networks
Perceptron.
Machine Learning Neural Networks
INTRODUCTION TO Machine Learning ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
1 Part I Artificial Neural Networks Sofia Nikitaki.
Artificial Neural Networks Artificial Neural Networks are (among other things) another technique for supervised learning k-Nearest Neighbor Decision Tree.
Machine Learning Motivation for machine learning How to set up a problem How to design a learner Introduce one class of learners (ANN) –Perceptrons –Feed-forward.
Artificial Neural Networks
Data Mining with Neural Networks (HK: Chapter 7.5)
LOGO Classification III Lecturer: Dr. Bo Yuan
Rise of the Machines Jack Concanon
Introduction to machine learning
Machine Learning. Learning agent Any other agent.
Machine Learning1 Machine Learning: Summary Greg Grudic CSCI-4830.
Artificial Neural Networks (ANN). Output Y is 1 if at least two of the three inputs are equal to 1.
C. Benatti, 3/15/2012, Slide 1 GA/ICA Workshop Carla Benatti 3/15/2012.
Using Neural Networks in Database Mining Tino Jimenez CS157B MW 9-10:15 February 19, 2009.
Neural NetworksNN 11 Neural netwoks thanks to: Basics of neural network theory and practice for supervised and unsupervised.
Neural Networks Ellen Walker Hiram College. Connectionist Architectures Characterized by (Rich & Knight) –Large number of very simple neuron-like processing.
Machine Learning Chapter 4. Artificial Neural Networks
Chapter 3 Neural Network Xiu-jun GONG (Ph. D) School of Computer Science and Technology, Tianjin University
11 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
NEURAL NETWORKS FOR DATA MINING
Classification / Regression Neural Networks 2
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.
LINEAR CLASSIFICATION. Biological inspirations  Some numbers…  The human brain contains about 10 billion nerve cells ( neurons )  Each neuron is connected.
An informal description of artificial neural networks John MacCormick.
1 Pattern Classification X. 2 Content General Method K Nearest Neighbors Decision Trees Nerual Networks.
Artificial Neural Networks An Introduction. What is a Neural Network? A human Brain A porpoise brain The brain in a living creature A computer program.
M Machine Learning F# and Accord.net. Alena Dzenisenka Software architect at Luxoft Poland Member of F# Software Foundation Board of Trustees Researcher.
Artificial Neural Networks Bruno Angeles McGill University – Schulich School of Music MUMT-621 Fall 2009.
Linear Discrimination Reading: Chapter 2 of textbook.
Mehdi Ghayoumi MSB rm 132 Ofc hr: Thur, a Machine Learning.
Linear Classification with Perceptrons
Neural Networks and Backpropagation Sebastian Thrun , Fall 2000.
Back-Propagation Algorithm AN INTRODUCTION TO LEARNING INTERNAL REPRESENTATIONS BY ERROR PROPAGATION Presented by: Kunal Parmar UHID:
Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc.
Neural Networks Presented by M. Abbasi Course lecturer: Dr.Tohidkhah.
Neural Networks Teacher: Elena Marchiori R4.47 Assistant: Kees Jong S2.22
Random Forests Ujjwol Subedi. Introduction What is Random Tree? ◦ Is a tree constructed randomly from a set of possible trees having K random features.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Artificial Neural Network
Back-propagation network (BPN) Student : Dah-Sheng Lee Professor: Hahn-Ming Lee Date:20 September 2003.
Introduction to Neural Networks Freek Stulp. 2 Overview Biological Background Artificial Neuron Classes of Neural Networks 1. Perceptrons 2. Multi-Layered.
Artificial Neural Networks (ANN). Artificial Neural Networks First proposed in 1940s as an attempt to simulate the human brain’s cognitive learning processes.
Exploration Seminar 8 Machine Learning Roy McElmurry.
Bab 5 Classification: Alternative Techniques Part 4 Artificial Neural Networks Based Classifer.
SUPERVISED AND UNSUPERVISED LEARNING Presentation by Ege Saygıner CENG 784.
Overfitting, Bias/Variance tradeoff. 2 Content of the presentation Bias and variance definitions Parameters that influence bias and variance Bias and.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Data Mining: Concepts and Techniques1 Prediction Prediction vs. classification Classification predicts categorical class label Prediction predicts continuous-valued.
Learning with Neural Networks Artificial Intelligence CMSC February 19, 2002.
Artificial Neural Networks
Spring 2003 Dr. Susan Bridges
Mastering the game of Go with deep neural network and tree search
Estimating Link Signatures with Machine Learning Algorithms
Classification with Perceptrons Reading:
Machine Learning Today: Reading: Maria Florina Balcan
CSC 578 Neural Networks and Deep Learning
Lecture Notes for Chapter 4 Artificial Neural Networks
Machine Learning: Lecture 4
Artificial Intelligence 10. Neural Networks
Machine Learning Algorithms – An Overview
CS639: Data Management for Data Science
Deep Learning Authors: Yann LeCun, Yoshua Bengio, Geoffrey Hinton
Presentation transcript:

Machine Learning Speaker :Chia-Shing Huang Advisor :Dr. Kai-Wei Ke 2016/01/14 1

Outline  Machine learning  Decision tree  Artificial neural Network  Conclusion 2

Machine Learning Definition  Field of study that gives computers the ability to learn without being explicitly programmed - Arthur SamuelArthur Samuel  A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P if its performance at tasks in T, as measured by P, improves with experience E - Tom M. MitchellTom M. Mitchell 3

Simple Learning Flow 4

Method  Supervised learning  Unsupervised learning  Semi-supervised learning  Reinforcement learning 5

Decision Tree What time is it? Has homework? Has date? N YYN Play game or not? < 19:00 >19:00 false true false true A decision tree is a flowchart-like structure in which each internal node represents a "test" on an, each branch represents the outcome of the test and each leaf node represents a class label. The paths from root to leaf represents classification rules. 6

Classification and Regression Tree(CART)  Number of branches = 2 (binary tree)  Base hypothesis = optimal constant  Binary/multiclass classification(0/1 error) : majority of {yn} (result)  Regression(squared error) : average of {y n } (result)  Termination criteria = until forced to terminate  All y n the same  All x n the same 7

decision stumps h(x) Data rate in total data 8

Simple Data Set One more example Let’s play online ! 9

Artificial Neural Network (ANN)  Definition: Artificial neural networks (ANNs) are a family of models inspired by biological neural networks and are used to estimate or approximate functions that can depend on a large number of inputs and are generally unknown. 10

Single Neuron XnXn X1X1 X2X2 X3X3 X0X0 SUM Transform Function F output w0w0 w1w1 w2w2 w3w3...wn...wn X i = nonlinear information (input) W i = weight of data features Perceptron Algorithm 11

Hidden layer 12

XnXn X1X1 X2X w1w1 w2w2 g2g2 g1g1 +1 X 0 =

w1w1 w2w2 w3w3 wnwn XnXn X1X1 X2X2 X3X3 b g2g2 g1g1 gngn G a1a1 a2a2 a3a3...an...an Fee dforward Network Feedback Network How to get optimization? Use Gradient descent 14

Example :DDoS attack detection  Distributed Denial of Service(DDos) attack: is an attempt to make an online service unavailable by overwhelming it with traffic from multiple sources.  SYN flood  UDP Flood  ICMP Flood  LAND attack 15

Example :DDoS attack detection(con’t)  Training data  CPU idle rate  Memory usage  Network packets inflows  Network packet outflows  Current number of system process  Ideal target (normal =0 /attack = 1) 16

i j 17

18 Schematic Simulation Environment

19 Simulation Environment Hardware Standard

Artificial Neural Network Preferences  Input = 5 neurons  CPU idle rate  Memory usage  Network packets inflows  Network packet outflows  Current number of system process  Hidden layer = 10 neurons  Output = 1 neuron (true or false)  Weight & threshold = random (0~1) 20

21

22

23

24

Conclusion - Decision tree Pros:  Human-explainable, widely used in business/medical data analysis  Simple  Efficient in prediction and training Cons:  Heuristic: mostly little theoretical explanations  Confusing to beginners 25

Conclusion - Artificial Neural Network Pros:  good to model the non-linear data with large number of input features  Robustness & fault-tolerance  Strong adaptability Cons:  So many answers that can’t identify which is the best answer.  are prone to overfitting  requires greater computational resources 26

Reference  df df  NGBmW50rrmFTqf NGBmW50rrmFTqf   gradient_4.html gradient_4.html    Ashraf, J. and Latif, S., “Handling intrusion and DDoS attacks in Software Defined Networks using machine learning techniques” in National Software Engineering Conference (NSEC), 2014,pp  紀宏宜 、 張偉德 、 陳志榮, “ 應用類神經網路於阻斷式服務攻擊之預測 ” 網際網 路技術學刊, pp , 9: [ 民 97.04] 27

Thank you for listening Happy winter vacation & happy new year 28

w1w1 w2w2 w3w3 wnwn w0w0 XnXn X1X1 X2X2 X3X3 X0X0 g2g2 g1g1 g0g0 gngn G a0a0 a1a1 a2a2 a3a3...an...an 29

30