Hub Queue Size Analyzer Implementing Neural Networks in practice.

Slides:



Advertisements
Similar presentations
Artificial Neural Networks
Advertisements

FUNCTION FITTING Student’s name: Ruba Eyal Salman Supervisor:
Slides from: Doug Gray, David Poole
NEURAL NETWORKS Backpropagation Algorithm
1 Machine Learning: Lecture 4 Artificial Neural Networks (Based on Chapter 4 of Mitchell T.., Machine Learning, 1997)
Artificial Neural Networks (1)
Perceptron Learning Rule
1 Neural networks. Neural networks are made up of many artificial neurons. Each input into the neuron has its own weight associated with it illustrated.
CSC321: 2011 Introduction to Neural Networks and Machine Learning Lecture 7: Learning in recurrent networks Geoffrey Hinton.
Neural Networks  A neural network is a network of simulated neurons that can be used to recognize instances of patterns. NNs learn by searching through.
Computer Science Department FMIPA IPB 2003 Neural Computing Yeni Herdiyeni Computer Science Dept. FMIPA IPB.
Machine Learning Neural Networks
Brian Merrick CS498 Seminar.  Introduction to Neural Networks  Types of Neural Networks  Neural Networks with Pattern Recognition  Applications.
An introduction to: Deep Learning aka or related to Deep Neural Networks Deep Structural Learning Deep Belief Networks etc,
Decision Support Systems
Neural Networks Basic concepts ArchitectureOperation.
The back-propagation training algorithm
Prénom Nom Document Analysis: Artificial Neural Networks Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Prénom Nom Document Analysis: Artificial Neural Networks Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
An Illustrative Example
Data Mining with Neural Networks (HK: Chapter 7.5)
Neural Networks Lab 5. What Is Neural Networks? Neural networks are composed of simple elements( Neurons) operating in parallel. Neural networks are composed.
Image Compression Using Neural Networks Vishal Agrawal (Y6541) Nandan Dubey (Y6279)
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Traffic Sign Recognition Using Artificial Neural Network Radi Bekker
Dr. Hala Moushir Ebied Faculty of Computers & Information Sciences
CHAPTER 12 ADVANCED INTELLIGENT SYSTEMS © 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang.
MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way
Artificial Neural Networks (ANN). Output Y is 1 if at least two of the three inputs are equal to 1.
Artificial Neural Networks
Kumar Srijan ( ) Syed Ahsan( ). Problem Statement To create a Neural Networks based multiclass object classifier which can do rotation,
Artificial Neural Network Theory and Application Ashish Venugopal Sriram Gollapalli Ulas Bardak.
Using Neural Networks in Database Mining Tino Jimenez CS157B MW 9-10:15 February 19, 2009.
Data Mining and Neural Networks Danny Leung CS157B, Spring 2006 Professor Sin-Min Lee.
Artificial Neural Nets and AI Connectionism Sub symbolic reasoning.
Multi-Layer Perceptrons Michael J. Watts
1 Pattern Recognition: Statistical and Neural Lonnie C. Ludeman Lecture 23 Nov 2, 2005 Nanjing University of Science & Technology.
Outline What Neural Networks are and why they are desirable Historical background Applications Strengths neural networks and advantages Status N.N and.
Machine Learning Dr. Shazzad Hosain Department of EECS North South Universtiy
CONTENTS:  Introduction  What is neural network?  Models of neural networks  Applications  Phases in the neural network  Perceptron  Model of fire.
NEURAL NETWORKS FOR DATA MINING
For games. 1. Control  Controllers for robotic applications.  Robot’s sensory system provides inputs and output sends the responses to the robot’s motor.
LINEAR CLASSIFICATION. Biological inspirations  Some numbers…  The human brain contains about 10 billion nerve cells ( neurons )  Each neuron is connected.
Artificial Neural Networks. The Brain How do brains work? How do human brains differ from that of other animals? Can we base models of artificial intelligence.
1 Introduction to Neural Networks And Their Applications.
Modelling Language Evolution Lecture 1: Introduction to Learning Simon Kirby University of Edinburgh Language Evolution & Computation Research Unit.
Neural Networks II By Jinhwa Kim. 2 Neural Computing is a problem solving methodology that attempts to mimic how human brain function Artificial Neural.
Neural Networks Steven Le. Overview Introduction Architectures Learning Techniques Advantages Applications.
CSE & CSE6002E - Soft Computing Winter Semester, 2011 Neural Networks Videos Brief Review The Next Generation Neural Networks - Geoff Hinton.
Introduction to Neural Networks Introduction to Neural Networks Applied to OCR and Speech Recognition An actual neuron A crude model of a neuron Computational.
Neural Networks Teacher: Elena Marchiori R4.47 Assistant: Kees Jong S2.22
NEURAL NETWORKS LECTURE 1 dr Zoran Ševarac FON, 2015.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Neural Networks Lecture 4 out of 4. Practical Considerations Input Architecture Output.
Kim HS Introduction considering that the amount of MRI data to analyze in present-day clinical trials is often on the order of hundreds or.
Machine Learning Artificial Neural Networks MPλ ∀ Stergiou Theodoros 1.
Neural networks.
Neural Networks A neural network is a network of simulated neurons that can be used to recognize instances of patterns. NNs learn by searching through.
with Daniel L. Silver, Ph.D. Christian Frey, BBA April 11-12, 2017
CSSE463: Image Recognition Day 17
network of simple neuron-like computing elements
CSSE463: Image Recognition Day 17
Pattern Recognition & Machine Learning
CSSE463: Image Recognition Day 17
CSSE463: Image Recognition Day 17
David Kauchak CS51A Spring 2019
David Kauchak CS158 – Spring 2019
Pattern Recognition: Statistical and Neural
Outline Announcement Neural networks Perceptrons - continued
Presentation transcript:

Hub Queue Size Analyzer Implementing Neural Networks in practice

Task Provide an opportunity for DataArt employees to know queue size in DataArt Hub via PM

Choosing implementation method Create a service which takes an image from camera in DataArt Hub and performs image recognition Additional module makes decision about queue size based on recognition results It was recommended to implement Neural Network for image recognition because of following reasons: – We don’t need exact solution – Recognition error is not fatal – We have small amount (4) of possible queue states – Alternative solution (image analyzing with wavelets, analyzing pixels etc.) is too long and expensive to implement

Introducing Neural Networks computational model that is inspired by the structure and functional aspects of biological neural networks.

3 words about Neural Network structure

Neural Network Advantages – We program only structure of system, not behavior. Structure is universal Structure is flexible – We provide an image on the input and get recognition result on the output. Simple and fast recognition – We do not care about algorithm for image analyzing No need of PhD – We can reuse existing neural network in similar AND different tasks with minor changes Reusability – Parallel equations Fast & furious

How does it work Every 5 seconds image is downloaded from web

How does it work Image is converted to gray scale

How does it work Image is compressed, auto leveled and transformed to double array Auto leveling

How does it work Brightness adjustment Processed image is sent to input layer of network. If weights are correct on the output layer we get desired result (queue size). Weights

How does it work Threshold, integration Brightness adjustment Threshold value and integration of result are implemented Result picture are created

How does it work Threshold, integration Brightness adjustment Uploading results on server

Implementation details All Neural Network logic was placed in class library for reusability. This library can be used in other projects For monitoring network condition and making extra training if needed administrative tool was developed.

Administrative tool Creating and training network Retraining existing networks Enlarging training set Monitoring of correct work for all processes Monitoring current network error and dependability of recognition result. Saving and loading weights from file

Neural Network minuses Very careful approach to training set creation – Each pattern must be representative – Training set must cover all typical situations – large diversity of training for real-world operation We should always check what our network has learned Limited number of input, hidden and output nodes Large computations during training process

EXPLAINING PRINCIPLES OF NEURAL NETWORK Part 2

How does NN work?

Couple words about sigmoid function

Bias node No biasBias

NN Training Trial and error method – Initial weights have to be small enough – Feed with sample data set (training set) – Get the output value – Use error (output minus target value) as a criteria of success in the training algorithm – Change is small, number of iterations is big

Algorithm overview 1.Initialise the network with small random weights o maxWeight < 5.0 / (inputNodesNum * maxInputNodeValue) 2.Repeat for each input pattern in the input collection 1.Present an input pattern to the input layer of the network. 2.Get output values 3.Calculate network’s summary error 4.Reduce the error by changing NN weights properly (back propagation) 5.Propagate an error value back to each hidden neuron that is proportional to their contribution of the network’s activation error. 6.Adjust the weights feeding each hidden neuron to reduce their contribution of error for this input pattern. 3.Repeat step 2 until the network is suitably trained.

Back Propagation Is a way to reduce summary NN error and improve its performance “Blind paratrooper” method 3 steps: o

What can be customized in NN? Nodes number Network error Maximum number of training iterations Learning rate

Where NN has been used already Image/sound recognition Stock market Data classification Medicine Detecting credit card fraud. Forecast engines Geo routing systems Aviation NASA Etc

Questions