This IOT architecture describes about how things get connected via internet.In short, the Internet of Things refers to the rapidly growing network of connected objects that are able to collect and exchange data using embedded sensors. Thermostats, cars, lights, refrigerators, and more appliances can all be connected to the IoT.In short, the Internet of Things refers to the rapidly growing network of connected objects that are able to collect and exchange data using embedded sensors. Thermostats, cars, lights, refrigerators, and more appliances can all be connected to the IoT.
This IOT architecture describes about how things get connected via internet.In short, the Internet of Things refers to the rapidly growing network of connected objects that are able to collect and exchange data using embedded sensors. Thermostats, cars, lights, refrigerators, and more appliances can all be connected to the IoT.In short, the Internet of Things refers to the rapidly growing network of connected objects that are able to collect and exchange data using embedded sensors. Thermostats, cars, lights, refrigerators, and more appliances can all be connected to the IoT.
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...Jayanthi Kannan MK
Module 4 : Arduino UNO, RaspberryPi with Python
Arduino UNO: Introduction to Arduino,
•Arduino UNO, Installing the Software,
•Fundamentals of Arduino Programming.
•IoT Physical Devices and Endpoints.
RaspberryPi: Introduction to RaspberryPi,
•About the RaspberryPi Board: Hardware Layout,
•Operating Systems on RaspberryPi, Configuring.
Module 5 : RaspberryPi Programming using Python and Smart City
RaspberryPi,
•Programming RaspberryPi with Python,
•Wireless Temperature Monitoring System Using Pi,
•DS18B20 Temperature Sensor,
•Connecting Raspberry Pi via SSH,
•Accessing Temperature from DS18B20 sensors,
• Remote access to RaspberryPi.
Smart cities: Smart and Connected Cities,
•An IoT Strategy for Smarter Cities,
•Smart City IoT Architecture,
•Smart City Security Architecture,
•Smart City Use-Case Examples
Airfare prediction using Machine Learning with Apache Spark on 1 billion obse...Josef A. Habdank
Prediction using Machine Learning (ML) techniques on Big Data is a computationally and system-wide challenging problem. Especially in the case when the system is processing approximately 10^9 observations per day scalability is the prime concern. In order to be able to rapidly train models covering whole multivariate space the time series vectors, which exhibit significant similarities, are clustered into the groups. Consequently the resulting vector clusters could be modelled using ML tools capable of coefficient estimation at the massive scale (Apache Spark with Scikit Learn). Presentation describes application of the Linear Regression and Support Vector Regression with Radial Basis Function kernel. This approach enables training models fast enough to complete the task within a couple of hours, allowing daily or even real time updates of the coefficients. The above machine learning framework is used to predict the airfares used as support tool for the Revenue Management systems.
About Port Scanning
Used Nmap and Shadow Security scanner for the best outputs.
A Detailed description on performing the port scanning mostly for the network administrators.
How to perform? Why to perform? Where to perform? The basic factors are taken into considerations and are provided in the presentation.
ZIGRAM is a high impact organization which operates in the Data Asset space.
Our team is made up of professionals from varied domains like data science, technology, sales, financial services, research and business consulting.
Our aim is to deliver value to clients by Building and Managing Data Assets across use cases - thereby boosting revenues and reducing the cost of doing business, in a data driven world.
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...Jayanthi Kannan MK
Module 4 : Arduino UNO, RaspberryPi with Python
Arduino UNO: Introduction to Arduino,
•Arduino UNO, Installing the Software,
•Fundamentals of Arduino Programming.
•IoT Physical Devices and Endpoints.
RaspberryPi: Introduction to RaspberryPi,
•About the RaspberryPi Board: Hardware Layout,
•Operating Systems on RaspberryPi, Configuring.
Module 5 : RaspberryPi Programming using Python and Smart City
RaspberryPi,
•Programming RaspberryPi with Python,
•Wireless Temperature Monitoring System Using Pi,
•DS18B20 Temperature Sensor,
•Connecting Raspberry Pi via SSH,
•Accessing Temperature from DS18B20 sensors,
• Remote access to RaspberryPi.
Smart cities: Smart and Connected Cities,
•An IoT Strategy for Smarter Cities,
•Smart City IoT Architecture,
•Smart City Security Architecture,
•Smart City Use-Case Examples
Airfare prediction using Machine Learning with Apache Spark on 1 billion obse...Josef A. Habdank
Prediction using Machine Learning (ML) techniques on Big Data is a computationally and system-wide challenging problem. Especially in the case when the system is processing approximately 10^9 observations per day scalability is the prime concern. In order to be able to rapidly train models covering whole multivariate space the time series vectors, which exhibit significant similarities, are clustered into the groups. Consequently the resulting vector clusters could be modelled using ML tools capable of coefficient estimation at the massive scale (Apache Spark with Scikit Learn). Presentation describes application of the Linear Regression and Support Vector Regression with Radial Basis Function kernel. This approach enables training models fast enough to complete the task within a couple of hours, allowing daily or even real time updates of the coefficients. The above machine learning framework is used to predict the airfares used as support tool for the Revenue Management systems.
About Port Scanning
Used Nmap and Shadow Security scanner for the best outputs.
A Detailed description on performing the port scanning mostly for the network administrators.
How to perform? Why to perform? Where to perform? The basic factors are taken into considerations and are provided in the presentation.
ZIGRAM is a high impact organization which operates in the Data Asset space.
Our team is made up of professionals from varied domains like data science, technology, sales, financial services, research and business consulting.
Our aim is to deliver value to clients by Building and Managing Data Assets across use cases - thereby boosting revenues and reducing the cost of doing business, in a data driven world.
Neural network for real time traffic signal controlSnehal Takawale
Real-time traffic signal control is an integral part of the urban traffic control system, and providing effective real-time traffic signal control for a large complex traffic network is an extremely challenging distributed control problem. This paper adopts the multi-agent system approach to develop distributed unsupervised traffic responsive signal control models, where each agent in the system is a local traffic signal controller for one intersection in the traffic network. The first multi-agent system is developed using hybrid computational intelligent techniques. Each agent employs a multi stage online learning process to update and adapt its knowledge base and decision-making mechanism. The second multi-agent system is developed by integrating the simultaneous perturbation stochastic approximation theorem in fuzzy neural networks (NN).
Basic Accident Prevention and Occupational Safety & Healthjhaymz02
Explain the basic principles and practice of accident and disease prevention in the workplace;
Express commitment in preventing the occurrence and recurrence of accidents and diseases within their organization.
Major fatal road traffic accidents in bangladeshFayaz Uddin
In Bangladesh, road transport has to bear solely the major part of passenger and freight movements . It is found that, of all total reported accidents, 65 percent are fatal and a considerable number of fatal accidents are occurring every year in which a large number of road users lose their lives in each accident
Applications of Artificial Neural Network and Wavelet Transform For Conditio...IJMER
The vibration analysis of rotating machinery indicates of the condition of potential faults such
as unbalance, bent shaft, shaft crack, bearing clearance, rotor rub, misalignment, looseness, oil whirl
and whip and other malfunctions. More than one fault can occur in a rotor. This paper describes the
application of Artificial Neural Network (ANN) and Wavelet Transform (WT) for the prediction of the
effect of the combined faults of unbalance and bearing clearance on the frequency components of
vibration signature of the rotating machinery. The experimental data of frequency components and
corresponding Root Mean Square (RMS) velocity (amplitude) data are used as inputs to train the ANN,
which consists of a three-layered network. The ANN is trained using an improved multilayer feed forward
back propagation Levenberg-Marquardt algorithm. In particular, an overall success rates achieved were
99.78% for unbalance, 99.81% bearing clearance, and 99.45% for the combined faults of unbalance and
bearing clearance. The wavelet transform approach enables instant to instant observation of different
frequency components over the full spectrum. A new technique combining the WT with ANN performs
three general tasks data acquisition, feature extraction and fault identification. This method is tested
successfully for individual and combined faults of unbalance and bearing clearance at a success rate of
99.99%.
Modeling of driver lane choice behavior with artificial neural networks (ann)...cseij
In parallel to the economic developments, the importance of road transportation was significantly
increased in Turkey. As a result of this, long-distance freight transportation gains more importance and
hence numbers of the heavy vehicles were significantly increased. Consequently, road surface deformations
are observed on the roads as the increasing freight transportation and climatic conditions influence the
road surface. Therefore, loss of functionality of the road surface is observed and drivers are much prone to
accident due to their driving characteristics as they can have more tendencies to change their lanes not to
pass through the deformation area. In this study, the lane changing behaviors of the drivers were
investigated and both Artificial Neural Network (ANN) and Linear Regression (LR) models were proposed
to simulate the driver behavior of lane changing who approach to a specific road deformation area. The
potential of ANN model for simulating the driver behavior was evaluated with successive comparison of the
model performances with LR model. While there was a slight performance increase for the ANN model with
respect to LR model, it is quite evident that, ANN models can play an important role for predicting the
driver behavior approaching a road surface deformation. It can be said that, approaching speed plays an
important factor on the lane changing behavior of a driver. This can be criticized by the fact that, drivers
with high approaching speeds more likely pass through the deformation to avoid the accidents while
changing their lanes with a high speed.
AUTO-MOBILE VEHICLE DIRECTION IN ROAD TRAFFIC USING ARTIFICIAL NEURAL NETWORKScsandit
So far Most of the current work on this area deals with traffic volume prediction during peak hours and the reasons behind accidents only. This work presents the analysis of automobile vehicle directing in various traffic flow conditions using Artificial neural network architecture.
Now a days, due to unprecedented increase in automobile vehicular traffic especially in metro-Politian cities, it has become highly imperative that we must choose an optimum road route in accordance with our requirements. The requirements are : volume of the traffic, Distance
between source and destination, no of signals in between the source and destination, the nature of the road condition , fuel consumption and Travel Timing. Artificial Neural networks, a soft computing technique, modeled after brain biological neuron functioning, helps to obtain the
required road way or route as per the training given to it. Here we make use of Back propagation network, which changes the weights value of the hidden layers, thereby activation function value which fires the neuron to get the required output.
Auto mobile vehicle direction in road traffic using artificial neural networkscsandit
So far Most of the current work on this area deals with traffic volume prediction during peak
hours and the reasons behind accidents only. This work presents the analysis of automobile
vehicle directing in various traffic flow conditions using Artificial neural network architecture.
Now a days, due to unprecedented increase in automobile vehicular traffic especially in metro-
Politian cities, it has become highly imperative that we must choose an optimum road route in
accordance with our requirements. The requirements are : volume of the traffic, Distance
between source and destination, no of signals in between the source and destination, the nature
of the road condition , fuel consumption and Travel Timing. Artificial Neural networks, a soft
computing technique, modeled after brain biological neuron functioning, helps to obtain the
required road way or route as per the training given to it. Here we make use of Back
propagation network, which changes the weights value of the hidden layers, thereby activation
function value which fires the neuron to get the required output
AUTO-MOBILE VEHICLE DIRECTION IN ROAD TRAFFIC USING ARTIFICIAL NEURAL NETWORKS cscpconf
So far Most of the current work on this area deals with traffic volume prediction during peak hours and the reasons behind accidents only. This work presents the analysis of automobile
vehicle directing in various traffic flow conditions using Artificial neural network architecture. Now a days, due to unprecedented increase in automobile vehicular traffic especially in metroPolitian cities, it has become highly imperative that we must choose an optimum road route in accordance with our requirements. The requirements are : volume of the traffic, Distancebetween source and destination, no of signals in between the source and destination, the nature of the road condition , fuel consumption and Travel Timing. Artificial Neural networks, a soft computing technique, modeled after brain biological neuron functioning, helps to obtain the required road way or route as per the training given to it. Here we make use of Back propagation network, which changes the weights value of the hidden layers, thereby activation function value which fires the neuron to get the required output.
Application of ann for ultimate shear strength of fly ash concrete beamseSAT Journals
Abstract
The application of artificial neural networks (ANN) for ultimate shear strength of fly ash concrete beams with transverse
reinforcement is investigated in this paper. An ANN model is built, trained and tested using the available test data of 216 RC beams
collected from the literature also the experimental data of twenty seven fly ash concrete beams under shear. The experimental shear
strength were also compared to those obtained using building codal equations and empirical equations proposed by various
researchers. The ANN model was found to predict satisfactorily when compared to available analytical predictions.
Keywords: Artificial Neural Network (ANN), Building codes, Comparison, Charts, Empirical Equations, Fly ash
Concrete, Shear Strength.
Application of ann for ultimate shear strength of fly ash concrete beamseSAT Journals
Abstract
The application of artificial neural networks (ANN) for ultimate shear strength of fly ash concrete beams with transverse
reinforcement is investigated in this paper. An ANN model is built, trained and tested using the available test data of 216 RC beams
collected from the literature also the experimental data of twenty seven fly ash concrete beams under shear. The experimental shear
strength were also compared to those obtained using building codal equations and empirical equations proposed by various
researchers. The ANN model was found to predict satisfactorily when compared to available analytical predictions.
Keywords: Artificial Neural Network (ANN), Building codes, Comparison, Charts, Empirical Equations, Fly ash
Concrete, Shear Strength.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...IJMER
The behaviour of soil at the location of the project and interactions of the earth materials during and after construction has a major influence on the success, economy and safety of the work. Another complexity associated with some geotechnical engineering materials, such as sand and gravel, is the difficulty in obtaining undisturbed samples and time consuming involving skilled
technician. Knowledge of California Bearing Ratio (C.B.R) is essential in finding the road thickness. To cope up with the difficulties involved, an attempt has been made to model C.B.R in terms of Fine Fraction, Liquid Limit, Plasticity Index, Maximum Dry density, and Optimum Moisture content. A multi-layer perceptron network with feed forward back propagation is used to model varying the
number of hidden layers. For this purposes 50 soils test data was collected from the laboratory test
results. Among the test data 30 soils data is used for training and remaining 20 soils for testing using
60-40 distribution. The architectures developed are 5-4-1, 5-5-1, and 5-6-1. Model with 5-6-1 architecture is found to be quite satisfactory in predicting C.B.R of soils. A graph is plotted between
the predicted values and observed values of outputs for training and testing process, from the graph it
is found that all the points are close to equality line, indicating predicted values are close to observed
values
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
1. Julius Nyerere Odhiambo
SC384-3290/2013
Supervisors:
Dr. Anthony Kibira Wanjoya, PhD
Dr. Anthony Gichuhi Waititu, PhD
Department of Statistics and Actuarial Science, Jomo Kenyatta University of Agriculture and Technology
MODELING ROAD TRAFFIC ACCIDENT
INJURIES IN NAIROBI COUNTY:
MODEL COMPARISON APPROACH
1
2. • Introduction
• Background and Motivation
• Statement of the problem
• Justification
• Objectives
• Methodology
• Empirical Results
• Concluding remarks
• References
Presentation Overview
2
3. Key terms
• Road Traffic Accident (RTA)- Is a stochastic event that results from a
collision between vehicles; vehicles and pedestrians; between vehicles
and animals; or between vehicles and fixed obstacles.
• Road Traffic Injuries (RTI)- Is the number of people injured in a RTA
• Road User- Pedestrians and vehicles users which include all occupants
(i.e. driver or rider and passengers).
• Fatality- Death resulting from a road traffic accident.
• Risk factor- Is a factor that increases the incidence of a road traffic
accident (e.g. speeding, drunk-driving)
Background and Motivation
3
4. Road Traffic Accidents
• RTAs causes approximately 13 million deaths and 20-50 million
sustain injuries worldwide.
• Globally it is ninth among the major cause of mortality and
disability. Without action, it has been forecasted to rise to third
position by the year 2020 by causing 1.9 million deaths.
• They cause considerable economic and social loss to victims.
• Unlike HIV, TB, Ebola and malaria, where there are dozens of
researches, less attention has been given to RTAs injuries.
4
5. Review of Previous Research
• Abdelwahab et al (1997) modelled accident data from Central
Florida. The performance of an artificial neural network trained by
Levenberg-Marquardt algorithm and Fuzzy ARTMAP were
compared. Results suggested that artificial neural network (ANN)
model performed better than Fuzzy ARTMAP
• Bedard (2002) applied a multivariate logistic regression so as to
determine the independent contribution of crash, driver and vehicle
characteristics to driver’s fatality risk. Increasing seatbelt use,
reaching speed, and reducing the number and severity of driver-
side impacts was found to be preventing fatalities.
• Kim et al (1995) developed a log-linear model to clarify the role of
driver characteristics and behaviors in the causal sequence leading
to severe RTAs.
5
6. • Evanco (1999) conducted a multivariate population-based
statistical analysis to determine the relationship between fatalities
and accident notification times. Evanco’s analysis demonstrated
that accident notification time was an important determinant of the
number of fatalities for accidents on rural roadways.
• Abbassi (2005) studied road accidents in Kuwait using an
Autoregressive Integrated Moving Averages (Box Jenkins) model
and compared it with the Artificial Neutral Networks (ANN)
Analysis to predict fatalities of the Road Traffic Accidents in
Kuwait. He found that ANN was better in case of long term series
without seasonal fluctuations of accidents or autocorrelation
components.
6
7. • RTIs is a neglected cause of death and disability and currently a serious public
health concern to middle and low income countries, where 90% of traffic
accidents occur despite them having only 48% of the world’s vehicle population.
• In Africa, deaths due to RTA are highest among the most active population aged
15-29 years and they constitute 25% of all injury-related deaths.
• RTAs cost Kenya between 1% - 3% of its gross national product. i.e. medical
expenses, insurance, material costs. Interestingly the annual losses in developing
countries occasioned by RTAs exceed the total annual development aid and loans
received by these countries. (World Bank, 2010).
Statement of the problem
7
8. • Kenya has one of the highest road fatality rates in relation to
vehicle ownership in the world, with an average of 7 deaths from 35
crashes occurring daily, which is 30-40 times greater than in highly
motorized countries.
• The study will fit a model for better prediction of monthly RTIs
occurrences in Nairobi County. This will be aid policy makers,
medical practitioners, traffic police and the general public to
combat the neglected cause of death and disability.
Justification
8
9. Objectives
General Objective
• To model road traffic accident injuries in Nairobi County
using artificial-neural network and negative-binomial
regression model.
Specific objectives
• To model road traffic injuries in Nairobi County by negative-
binomial regression.
• To model road traffic injuries in Nairobi county by artificial
neural network.
• To comparatively analyze the performance of the artificial
neural network and negative-binomial regression models.
9
10. • Monthly accident data between January 2002 and December 2014
obtained from the Nairobi Traffic Police Department was used in the
study.
• The network inputs were driver, pedal-cyclists, pedestrians, passengers,
animals, obstruction, vehicle-defects, road-defects and weather. The
output was the number of injuries.
• The data was divided into 90% training set and 10% testing set. The
training set was used to optimize the weights and the bias of the
network, while the testing set was used to determine the generalization
ability of the network.
• The sigmoid activation function [0,1], was used as the transfer function
for the hidden and output layer.
• Backward propagation algorithm was used to train our feed-forward
multi-layer perceptron network.
Methodology
10
11. • To measure the performance of the artificial neural network and the negative binomial model, the
following performance measures were used.
• Mean Squared Error(MSE)
𝑀𝑆𝐸 =
1
𝑛 𝑖=1
𝑛
𝑦 − 𝑦𝑖
2
……………………… …………………………………(1)
• Root Mean Squared Error(RMSE)
𝑅𝑀𝑆𝐸 = (𝑀𝑆𝐸)
1
2…………………………….……………………………………..(2)
• The coefficient of determination, 𝑅2
and the non-parametric 𝑅2
to be utilized only by the ANN.
𝑅2
= 1 − 𝑖=1
𝑛
𝑦−𝑦 𝑖
2
𝑖=1
𝑛 𝑦 𝑖− 𝑦 𝑛
2………………….…………………………………..……..(3)
𝑅2
= 𝑖=1
𝑛
𝑦 𝑖− 𝑦 𝑛 𝑦− 𝑦 𝑛
2
𝑖=1
𝑛
𝑦𝑖− 𝑦 𝑛
2
𝑖=1
𝑛
𝑦− 𝑦 𝑛
2…………………………………………………..(4)
Where:
𝑦 - predicted value
𝑦𝑖 – actual value
𝑦 𝑛 – average of the actual values
Performance Measures
11
12. Normality Test: Accident data significantly deviated from a normal distribution.
Kolmogorov-Smirnov test
• 𝐻 𝑜: Study data is normally distributed against 𝐻𝐴: Study data is not normally
distributed.
Results
12
D-value 0.6994
P-value <0.001
• The normality of the accident data
was also determined graphically as
indicated, and the study observed
that data points strayed from the
line in a non-linear fashion
13. Autocorrelation Test:
Durbin-Watson test: With 95% certainty there, was no significant evidence of
autocorrelation.
• Asymptotically under the null hypothesis of no autocorrelation, the test statistic
‘D-value’ had a chi-square distribution with 1 degree of freedom
13
D-value 1.7687
P-value 0.1169
• The distinct feature of input variables of neural networks is that the input
variables should not be much correlated, since the correlated input
variables may worsen the prediction performance by interacting with each
other and generating a biased effect.
14. Over-dispersion test results:
• 𝐻 𝑜: 𝑉𝑎𝑟 𝑌𝑖 = 𝐸 𝑌𝑖 , test for equi-dispersion ( ∝ =0) against 𝐻 𝑜: 𝑉𝑎𝑟 𝑌𝑖 =
𝐸 𝑌𝑖] +∝ 𝑔(𝐸[𝑌𝑖 ).
• The function 𝑔(. ) was a linear monotonic function, and the test statistic was a t-
statistic, asymptotically normal under the null
• Thus the study concluded that there was significant evidence of over-dispersion.
14
z-value 4.3073
P-value <0.001
∝ 6.3376
15. • The study at 95% confidence interval concluded that drivers, pedal-cyclists,
pedestrians and passengers significantly determined the monthly number of RTIs
in Nairobi County.
Negative-Binomial Regression Model
15
Estimate Std. Error Z-value P-value
Drivers 0.0047 0.0005 9.1470 <0.0010
Pedestrians 0.0026 0.0004 5.3960 <0.0010
Pedal-Cyclist 0.0048 0.0019 2.5690 0.0102
Passengers 0.0042 0.0021 2.0060 0.0449
16. Likelihood Ratio Test Statistic
• For an adequate model, the asymptotic distribution of the deviance statistic is a
chi-square distribution with n-k-1 degrees of freedom.
• The study assessed the fitness of the model by dividing the residual deviance by
the degree of freedom and the value found was 1.1008, approximately equal to 1.
• The p-value of the LR-Statistic was calculated from a chi-square distribution with
one degree of freedom. Under the null hypothesis that the model had only an
intercept term, the study had a strong evidence of including the explanatory
variables.
16
Assessment of Model Fit
Deviance Value Degree of Freedom
Null 408.57 143
Residual 147.51 134
LR-Statistic P(>|Chi|)
148.193 0.0000
17. ANN Architecture
Artificial Neural Network Model
17
• The sum of squared errors (SSE) was used to train our
multilayered neural network.
F
Input Layer Output Layer
Number of injuries
Hidden Layer
Bias
𝑥1
𝑥 𝑑−1
𝑥 𝑑
∝0
∝1
∝2
∝
H
2
H
18. Number of hidden nodes (tuning parameter).
Artificial Neural Network Model
18
• The following equation was utilized in
determining the number of hidden nodes
(Yuen and Lam, 2006)
𝑛 =
𝑁 𝐼+𝑁 𝑂
2
+∝
where 𝑛 the number of hidden nodes is,
𝑁𝐼 is the number of input neurons, 𝑁 𝑂 is
the number of output neurons and ∝ was
arbitrarily taken to be 2
19. • The ANN training set was used to optimize the weights and the
network bias of the network, while the testing set was used to
determine the generalizability of the network.
• For the training data set, 89.46% of the of the monthly number of RTAs injuries
was explained by the network input variables. For the testing data set, 99.97% of
RTAs injuries for the year 2014.
19
Data-set Number of samples Mean Squared
Error
Non-parametric 𝑹 𝟐
-
value
Training 144 0.0040 0.8946
Testing 12 0.0000 0.9697
20. • The objective of any modelling technique is to fit an accurate model that is to be
used to predict future trends.
• The artificial neural network model predicted data with 89.46 % coefficient of
determination as compared to 71.48 % coefficient of determination.
• The ANN outperformed the negative-binomial model in all performance metrics.
Performance Measures
20
Model Mean Squared Error RMSE R-squared
Negative Binomial 148.3875 12.1814 0.7148
Artificial Neural
Network
0.0040 0.0632 0.8946
21. Model Generalizability
• The objective of any modelling technique is to identify the best fitting and the
most parsimonious model that describes the relationship between an outcome
variable and a set of independent variables.
• The ANN prediction for the monthly number of RTIs, yielded optimal values when
compared to the negative binomial prediction. 21
0
50
100
150
200
250
300
350
400
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
NUMBEROFINJURIES
MONTH(2014)
Actual Observed ANN Prediction Negative -Binomial Prediction
22. • Results indicated that ANN outperformed the negative-binomial
regression model in all factors. ANN offers a robust non-parametric
model to policy makers for the prediction of monthly RTIs, and can
be used as a decision support tool.
• ANN successfully provided a more valid and better prediction
model which accounted for the majority of the variability (89.46%)
and provided lesser MSE.
• Future research should focus on the spatial modeling of RTAs to
include locational information
Concluding Remarks
22
23. References
Abbassi AH 2005. Statistical methods for predicting fatalities of Road Traffic Accidents
in Kuwait. Egyptian Population and Family Planning Re-view, June, 2005: 2-19.
Odero W, Khayesi M, Heda PM 2003. Road traffic injuries in Kenya:Magnitude, causes
and status of intervention. Inj Con trol Saf Promo t,10 (1-2): 53-61
Koptis, E. and Cropper, M. (2003). Traffic fatalities and economic growth. Policy
Research Working Paper No. 3035, World Bank, Washington, DC.
Bayata HF, Hinislioğlu S (2009). Modeling of monthly accident numbers in Turkey by
Box-Jenkins method, 10.Econometric and Statistics Symposium, Erzurum,
Turkey.
Ogendi J., Odero W, Mitullah W., and Khayesi M. (2013) Pattern of Pedestrian Injuries
in the City of Nairobi: Implications for Urban Safety Planning. Journal of Urban
Health: Bulletin of the New York Academy of Medicine, (90), 5.
World Health Organization (2013). Global Status Report on Road Safety 2013:
Supporting a decade of action. World Health Organization, 2013. Luxenburg.
Abdelwahab, H. T. & Abdel-Aty, M. A. Development of Artificial Neural Network
Models to Predict Driver Injury Severity in Traffic Accidents at Signalized
Intersections. Transportation Research Record 1746, Paper No. 01-2234.
23
24. Don’t be a Road Traffic Accident “Statistic”
24
Better a minute late than "dead on time"
Non-parametric methods have fewer assumptions about the distribution.
are less sensitive to measurement error
The need to research more about RTIs, to equip our hospitals,
Rehabilitation and incidence investigation, lost productivity, family members.
RTAs can be prevented, and it requires a multi-sectoral involvement to address road safety n a holistic manner (Transport, police, health and education).
RTAs leads to dysfunctional roads.
The paucity of evidence occasioned by little research.
All of us are at risk.
Accident models explain accident causation as the result of a chain of discrete events that occur in a particular temporal order.
Better- That’s why we adopt the comparison approach.
This will ensure that resources are prioritized towards addressing the major causes. i.e. systematic coordinated approaches.
The study will fit a model to the Nairobi accident data, for better prediction of RTAs occurrences.
A holistic predictive modeling approach can also offer guidelines to stakeholders to visualize RTI in the mid and long run quantitatively.
Activation function- Restricts the output to permitted levels/ is used for limiting the amplitude of the output of a neuron.
The back-propagation in the study uses the gradient descent training algorithm. This algorithm adjusts the weights as it moves down the steepest slope of the error surface i.e. It is considered to have converged when the Euclidean norm of the gradient vector reaches a sufficiently small gradient threshold.
The difference between the estimator and what is estimated. The difference occurs because of randomness or because the estimator doesn’t account for information that could yield a more accurate estimate.
Understanding the nature of our data.
The test statistic is based on the empirical cumulative distribution function (cdf)
The DW test was utilized in the study to test whether errors had autocorrelation or not.
Autocorrelation is a relationship between values separated from each other by a given time lag (months).
Presence of autocorrelation in the residuals suggest that there is information in the model that has not been accounted for.
The chi-square distribution is the distribution of the sum of squared standard normal deviates.
The constant ∝ takes values greater than zero or less than zero, which results to underdispersion and overdispersion respectively.
The function g(.) is a linear monotone function.
In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves the given order (increasing or non decreasing)
The negative binomial model would be the most appropriate model for the data.
The t distribution (aka, Student's t-distribution) is a probability distribution that is used to estimate population parameters when the sample size is small and/or when the population variance is unknown.
Results of model 1.
Likelihood ratio test was used to compare the study’s full model with a restricted model, when the explanatory variables were omitted.
The p-values of the test were calculated from the chi-square distribution with one degree of freedom.
ANN posses unique characteristics like adaptability, non-linearity and arbitrary function mapping ability, which make them quite suitable and useful for prediction.
First, neural networks are non-linear and data driven, in that they can perform nonlinear modelling without a priori knowledge of the relationships.
The study neural network had three layers, consisting of nine input nodes in the input layer, seven nodes in the hidden layer and one node out-put node in the output layer
The hidden layer(s) determine the networks ability to generalize.
Multilayer perceptron, and a feed-forward neural network(moving in one direction)between the input and output variables.
The back-propagation in the study uses the gradient descent training algorithm. This algorithm adjusts the weights as it moves down the steepest slope of the error surface i.e. It is considered to have converged when the Euclidean norm of the gradient vector reaches a sufficiently small gradient threshold.
Errors are propagated back through the system causing the system to readjust the weights until the stopping criterion is met.
The connection weights are adjusted through training.
The tuning parameter in ANN is the number of hidden nodes.
Using the non-parametric 𝑅 2 , the study also determined the optimal number of hidden nodes to be seven.
This observation implies that the testing data set, could be used to generalize the network performance.
Comparing our models.
The coefficient of determination identifies the proportion of the variance in the dependent variable that is predictable from the independent variables.
Comparing our models.
A parsimonious model is a model that accomplishes a desired level of explanation or prediction.
Road safety is a shared responsibility between health operatives, security agents, government agencies and statisticians.
GOD, My supervisors, my colleagues, department of STACS.
Thank the audience for their time