Neural Network Approach to Modelling Transport System Resilience for Major Cities: Case Studies of Lagos and Kano (Nigeria)

<jats:p>Congestion has become part of everyday urban life, and resilience is very crucial to traffic vulnerability and sustainable urban mobility. This research employed a neural network as an adaptive artificially-intelligent application to study the complex domains of traffic vulnerability and the resilience of the transport system in Nigerian cities (Kano and Lagos). The input criteria to train and check the models for the neural resilience network are the demographic variables, the geospatial data, traffic parameters, and infrastructure inventories. The training targets were set as congestion elements (traffic volume, saturation degree and congestion indices), which are in line with the relevant design standards obtained from the literature. A multi-layer feed-forward and back-propagation model involving input–output and curve fitting (nftool) in the MATLAB R2019b software wizard was used. Three algorithms—including Levenberg–Marquardt (LM), Bayesian Regularization (BR), and a Scaled Conjugate Gradient (SCG)—were selected for the simulation. LM converged easily with the Mean Squared Error (MSE) (2.675 × 10−3) and regression coefficient (R) (1.0) for the city of Lagos. Furthermore, the LM algorithm provided a better fit for the model training and for the overall validation of the Kano network analysis with MSE (4.424 × 10−1) and R (1.0). The model offers a modern method for the simulation of urban traffic and discrete congestion prediction.</jats:p>

section_content: The network of the transport system facilitates people's mobility, enhances their social interaction, and improves their quality of life. Globally, man-made and natural disasters pose increasing vulnerability challenges to transport infrastructure networks in many cities. The capacity of transport networks to recover from challenges and cope with competing users' demands is important. In addition to threat and vulnerability, the resilience concept has an incorporated cost, planning, management and adaptive strategy to cope with pressure and uncertainties [1]. In the early 1970s, ecological research showed that resilience is essential to our lifespan, or else survival, as academics realized the essential nature of their capacity to adapt, to survive, and to evolve in the face of adversity [2]. Due to urban vulnerabilities and the congestion impediment-an increasing concern in the development of transport resilience-various debates and discussions among scholars, analysts, industry, experts and public officials were ignited [3, 4]. 

The world population surpassed the 7. 5 billion mark in 2017, with projections to reach its numerical milestone of 9. 7 billion in the year 2050 [5]. The rising urban population seriously confounds the ease of mobility of urban dwellers, and more importantly the socioeconomic accomplishment of the city. Congestion has become part of everyday life of the more urban population in cities and towns. The causes, regulations and modulation of road traffic congestion have been analyzed by various models, algorithms, statistical methods and prediction models. The inputs into the congestion forecast models may include the traffic volume, speed, occupancy, quality of infrastructure, and demographic parameters [6, 7]. Naturally, every system has its problems, as the notion of perfection-not least in the field of transport planning-is hardly achievable. Like every system, the pressures on critical infrastructure come in the form of turbulence, disruption, or damage, but the overall concept that really defines resilience is the capacity to recover, rebound, or withstand the problem and maintain the functionality without further truncation [8]. Where adversity arises, structures or properties must not be fragile, decimated, or impaired, but should be resilient, tolerable, safe and mitigable, with a capacity to return to normality and functionality [9]. In keeping pace with sustainable culture due to the demand of a growing urban population, migration, security risk, natural occurrences, weather problems and environmental pollution, the resilience concept has been reshaped and adopted into the engineering, technology, planning, design, construction, operation and management of urban infrastructures [10]. 

In the last decades, urban commuting and freighting has become a serious challenge for infrastructure, in part because of rapid urban growth and socioeconomic developments in many fast-growing cities of both developed and developing countries. These phenomenal growths in the populations of cities have been attributed to population growth, combined with migration or population drift, socioeconomic reasons, and the biased disposition of policies in favour of cities [11]. The spatial-temporal transformations and growth of cities is highly complex, with transport infrastructure at the heart of physical planning and socioeconomic development [12]. Urbanization and population growth are two phenomena that are linked to the emergence of many mega-cities (urban demographics of more than 10 million people), with the deepening complexity of urban interaction, and inadequate transport infrastructure and services leading to a declining transport quality index in the developing countries [13]. 

With the rising multi-scale challenges to transport infrastructures and mobility in most cities, resilience thinking remains a key underpinning component of the achievement of functional environments that are both fit-for-purpose and fit-for-future. Transport resilience highlights the pathways for cities' survival against growing scenarios of congestion, delays, and socioeconomic losses due to natural and artificially induced challenges (e. g., climate change, environmental pollution, earth tremors, deforestation, erosion, and degradation from mining activities). A number of resilience analytical tools-e. g., artificial intelligence and agent-based modelling techniques, including artificial neural networks (ANN) [14], fuzzy systems (FS) [15], adaptive network-based inference systems (ANFIS) [16] and genetic algorithms [17] -have been deployed for the analysis and prediction of complex system resilience. On the basis of the demographic information, inventory of transport infrastructure and mobility data available, resilient models may be fitted with artificial neural networks (ANN) in order to forecast the resilience of transport services in the Nigerian cities (Kano and Lagos as a case study). Figures 1 and 2 are the digitized maps of the main statistical areas constituting the urban conurbations of Kano and Lagos, respectively.
section_name: Introduction

section_content: The hallmark of sustainable, livable cities lies in the effectiveness, efficiency and resilience of their transport infrastructure and services. Whilst most cities in developed countries are in the terminal phase of urban transition, African and Asian cities will be the culmination of future urban growth potential from 2030 to 2050, when most of the world's leading mega-cities (cities with a population of over 10 million people) will arise. The rapid pace of urban growth in Africa has sprouted several 'accidental' mega-cities, leaving gaps in the development of critical infrastructure. The Nigerian city of Lagos became the 14th largest mega-city in the world, with an urban population of more than 15 million in 2013. Kano Metropolis is the regional commercial capital of Northern Nigeria, and is second to Lagos, with a population of 4 million [12]. The rising trajectories of urbanization/population potentials have compounded the infrastructure problem, with about 67. 1% of the predicted 450 million population in 2050 becoming urbanized [18]
section_name: Traffic Congestion and Resilience Mapping of Nigerian Cities

section_content: The hallmark of sustainable, livable cities lies in the effectiveness, efficiency and resilience of their transport infrastructure and services. Whilst most cities in developed countries are in the terminal phase of urban transition, African and Asian cities will be the culmination of future urban growth potential from 2030 to 2050, when most of the world's leading mega-cities (cities with a population of over 10 million people) will arise. The rapid pace of urban growth in Africa has sprouted several 'accidental' mega-cities, leaving gaps in the development of critical infrastructure. The Nigerian city of Lagos became the 14th largest mega-city in the world, with an urban population of more than 15 million in 2013. Kano Metropolis is the regional commercial capital of Northern Nigeria, and is second to Lagos, with a population of 4 million [12]. The rising trajectories of urbanization/population potentials have compounded the infrastructure problem, with about 67. 1% of the predicted 450 million population in 2050 becoming urbanized [18]. 

According to the World Economic Forum 2016-2017 report, Nigeria's poorly-rated physical infrastructure ranks 132nd amongst a cohort of 138 countries surveyed; this huge deficit accounts for the greatest drag to economic, human and social developments [19]. While the infrastructure deficits have increased congestion, and impeded connectivity and socioeconomic growth, the mobility problem of the two cities has also been exacerbated by heavy motorization and the drag on the development of the railway transport system. Traffic congestion is one of the major stressors of the urban ecological environment, albeit that weather factors, security, and safety have expanded the scale and dimension of what constitutes urban transport resilience. Congestion is defined as a situation in which "the demand exceeds the capacity of the road" [20]. Not only has congestion increased emissions, fuel consumption and travel costs, it also has a direct impact on speed, travel time delays and service quality. 

Congestion imposes pressure on and vulnerability of infrastructure due to the asymmetry between the rising demand for services and the infrastructures that are available to cater for commuters' needs. The nature of the transport system in Nigeria is largely roadbiased, making an assessment of its scale, attributes, topology and resilience a much more complex phenomenon. Lagos and Kano are Northern and Southern Nigeria's respective regional geopolitical, commercial and industrial strategic hubs. Urban transport in many developing countries is becoming increasingly complex due to the fewer modal options available for the multitude of rounds of origin and destination trips produced and the volume of traffic involved [21]. 

Lagos is estimated to generate 7-10 million daily passenger and freight trips, with the share of these road transport modes (private cars, taxis, buses, trucks, motorized and nonmotorized bikes) accounting for approximately 95% of all trips [22]. Farah [23] reported the generally poor state of transport infrastructure in Kano metropolis, which was struggling to cope with the exponentially-growing passengers and freight trips brought on by urban agglomeration spikes. Out of more than 7,600,000 vehicles registered in 2008, about 10% were different categories of haulage trucks exerting irrecoverable maximum fatigue damages on the 193,200 km total road length in the country. An average of 5000 daily single trips was recorded in wet tanker trailer haulage services moving petroleum products [24]. 

The perennial congestion in many port cities has also been linked to the extended dwelling times of ships due to port disruptions, berth scheduling issues, higher numbers of mega ships, and insufficient infrastructure to increase the demand for cargo handling [25, 26]. These reasons perhaps explain why road clusters around Apapa, where the Port Authority of Nigeria is located, experience worse traffic congestion than the rest of the development areas in the city of Lagos. In both emerging and industrialized economies, Albayrak et al. [27] describe the closely-related determinants of air traffic volume, i. e., population, proximity to other transport networks, economy, tourism, distance to alternative airports, tourism, leading cities, urbanization, and migration. 

A transition to a resilient and sustainable 'shared mobility' framework has been proposed by researchers in order to mitigate urban congestion problems [28]. The context of traffic congestion and urban mobility resilience are complex in a sector such as passenger and freight transport, in which significant socioeconomic, environmental, behavioral and technological inputs are considered in a sound predictive methodology. Therefore, the problem is now more related to which primary performance metrics need to be used and how the data can be collected, aggregated, formulated and analyzed in order to predict vulnerability and extreme congestion scenarios in the emerging developing countries' mega-cities. 

Vulnerability is a common feature of poor and inadequate infrastructures, and defective policies in terms of planning, regulation and management. Vulnerability, according to Knoop et al. [29], is negatively related to resilience, and is defined as the "reduction of system performance as a consequence of dynamic factors, including flow length, free flow and congestion density which pressure the system". Equation (1) shows that transient loss of resilience (TLR) determines the level of vulnerability, and is related to functionality within the system; that is:

where Q(t) is the quality of functionality under the pressure time step t 0 to t 1. 

The index of resilience in Equation ( 2 ) is a normalized metric ranging from 0 and 1, and is determined from the recovery curve of functionality [30]. 

According to Aftabuzzaman [31], it is possible to relate resilience to the congestion index of a travel corridor or an area based on the assessment criteria of speed, flow, and other related data. The assessment metric of the congestion threshold and index development are related to population, travel infrastructure, traffic, and motorization indices. The scope of resilience is currently not domiciled in the traditional field of ecology, but rather has spurned burgeoning research interests in engineering and technological innovation, environmental studies, economic solutions, business, and institutional cooperation. The definition of vulnerability in the transport system may be related to reduced accessibility and connectivity, likely due to natural causes and the exogenous impacts of human activities that are harmful to the urban environment [30]. 

In this context, a resilient evaluation is an integrated way of evaluating the causal effects of various factors and occurrences affecting functionality and the transport system's spatial diversities. The measure(s) of resilience in a system are numerous, but the three overarching concepts enumerated by Holling [32] include vulnerability, resource available, and the degree of internal controllability, in addition to interdependency (i. e., between the various components of the transport system). Travel time is a very significant factor affecting commuters' choice of travel, which could be used as an appropriate indicator of a transport system's reliability and quality. 

The relevant aspects that impact transport resilience are: the network capacity [3] ; economy, pricing and financing [33] ; and logistics and freight [34]. Due to the widening scale and necessity of system survival, transport resilience research has also been extended to transport communication and information [35], community resilience [36], transport demand management [37], and natural disasters and exogenous impacts [38]. The problem of the undifferentiated lumping of critical infrastructure development in Nigeria has perhaps created many gaps in terms of the quantity and quality of infrastructure allocation to the transport sector, and remains the biggest challenge to the ease of mobility and interaction in many cities. This study provides a framework for the assessment of the transport resilience of the two major cities through indices of congestion and accessibility, and the critical position of physical transport infrastructure stock, using an Artificial Neural Network (ANN).
section_name: Traffic Congestion and Resilience Mapping of Nigerian Cities

section_content: In order to alleviate complex infrastructure problems, innovative solutions are required to address the range of challenges. This requires a global approach using implicit surrogate estimators of resilience models and repeated evaluations over time. ANN can be applied for prediction even where the detailed characteristics of the system are not available. It is a machine learning algorithm that is capable of solving complex problems using random function approximation combined with the application of nonlinear statistical models that display the input-outputs of complex relationships in order to develop a model solution [39]. By means of model calibration, validation, and forecasting, ANN may learn from example data set(s) and provide answers to many problems, including machine translation, pattern recognition, fault detection, prediction, and decision processes (Silva et al., 2017). Structurally, ANN models consist of three components: inputs, hidden layer(s), and outputs (Figure 3 ). The input layers are the information receiver of the example data set. The numerical computation and pattern recognition are carried out by the hidden layer(s), and the output layers display the results. The parameters that affect the output are the learning rate, batch size, weights, biases, optimizer, epoch, width, and depth. Every node within the network allocates some weights, and the weighted sum of the inputs and the bias is determined using a transfer function. Then, the activation function which obtains the output result releases the most acceptable result from the node based on the received data [40]. Some of the commonly-used activation functions in ANN include Sigmoid, RELU, Softmax, and Tanh, etc. Figure 4 shows the architecture that accompanies the typical ANN model previously shown in Figure 3. Feed-forward and feed-backward loops can be adopted by ANNs. Feed-forward typically uses a unidirectional loop for supervised learning, in which data, such as facial recognition, are sequential. Feed-backward, or back-propagation, has a feedback loop suited for memory retention in sequential or time-dependent data sets [41]. Depending on the network type, it is possible to measure the differences between the expected output and the resulting output with error functions, and then to modify the weights of the NN through the back-propagation process. 

Unfortunately, benchmarked cases of transport resilience for the management of the complex systems are not available in many developing countries. As such, this research The parameters that affect the output are the learning rate, batch size, weights, biases, optimizer, epoch, width, and depth. Every node within the network allocates some weights, and the weighted sum of the inputs and the bias is determined using a transfer function. Then, the activation function which obtains the output result releases the most acceptable result from the node based on the received data [40]. Some of the commonly-used activation functions in ANN include Sigmoid, RELU, Softmax, and Tanh, etc. Figure 4 shows the architecture that accompanies the typical ANN model previously shown in Figure 3. The parameters that affect the output are the learning rate, batch size, weights, biases, optimizer, epoch, width, and depth. Every node within the network allocates some weights, and the weighted sum of the inputs and the bias is determined using a transfer function. Then, the activation function which obtains the output result releases the most acceptable result from the node based on the received data [40]. Some of the commonly-used activation functions in ANN include Sigmoid, RELU, Softmax, and Tanh, etc. Figure 4 shows the architecture that accompanies the typical ANN model previously shown in Figure 3. Feed-forward and feed-backward loops can be adopted by ANNs. Feed-forward typically uses a unidirectional loop for supervised learning, in which data, such as facial recognition, are sequential. Feed-backward, or back-propagation, has a feedback loop suited for memory retention in sequential or time-dependent data sets [41]. Depending on the network type, it is possible to measure the differences between the expected output and the resulting output with error functions, and then to modify the weights of the NN through the back-propagation process. 

Unfortunately, benchmarked cases of transport resilience for the management of the complex systems are not available in many developing countries. As such, this research Feed-forward and feed-backward loops can be adopted by ANNs. Feed-forward typically uses a unidirectional loop for supervised learning, in which data, such as facial recognition, are sequential. Feed-backward, or back-propagation, has a feedback loop suited for memory retention in sequential or time-dependent data sets [41]. Depending on the network type, it is possible to measure the differences between the expected output and the resulting output with error functions, and then to modify the weights of the NN through the back-propagation process. 

Unfortunately, benchmarked cases of transport resilience for the management of the complex systems are not available in many developing countries. As such, this research aims to assess the efficacy of an Artificial Neural Network (ANN) surrogate model to determine the resilience of transport system networks in the cities of Nigeria. Based on literature knowledge, the preliminary testing was undertaken with some arbitrarilydefined network architecture with a 'trial and error' approach in order to select the optimal parameters for the most reliable predictions (see, for example Abduljabbar et al. [42] ; Mattsson and Jenelius [43] ). Tables 1 and 2 were extracted for further study from the traffic and demographic data and the inventories of transport infrastructure. [45] ); 4 N road : cluster total number of roads (KNSMLPP [45] ); 5 L road est. : estimated total length of all roads within the cluster (KNSMLPP [45] ); 6 L rail est : estimated total length of all rails within the cluster (KNSMLPP [45] ); 7 traffic volume (KNSMLPP [45] ). [46] ); 4 N road : cluster total number of roads (LASMT [46] ); 5 L road est. : estimated total length of all roads within the cluster (LASMT [46] ); 6 L rail est : estimated total length of all rails within the cluster (LASMT [46] ); 7 traffic volume (LASMT [46] ). 

The methodological scheme for the ANN model prediction is shown in Figure 5. Importantly, the optimization of the performance of neural networks requires the exploration of many variants of the traditional back-propagation training algorithm on the basis of some heuristic and numerical optimization methods. The algorithms for multi-layer feedback propagation with input and curve fitting ("nftool"), are defined as follows: portantly, the optimization of the performance of neural networks requires the exploration of many variants of the traditional back-propagation training algorithm on the basis of some heuristic and numerical optimization methods. The algorithms for multi-layer feedback propagation with input and curve fitting ("nftool"), are defined as follows: In order to determine the vehicular traffic spatial variance and congestion pattern, representative development area congestion level measurements using the traffic saturation degree on some selected main road corridors could be deployed in order to measure congestion patterns in Kano and Lagos. Based on the evaluation, the average degree of saturation and level of service of urban roads can be obtained. The saturation degree compares the actual field traffic volume in a particular period to the designed traffic capacity in a typically-designed roadway. For a two-or three-lane highway in Nigeria, a standardized capacity volume of 2000 cars per hour, a typical-design hourly factor of 10%, and a directional split factor of 60% are recommended by the Highway Capacity Manual (HCM [47]), and are usually adopted for design purposes. Based on the respective acceptable traffic parameters-an urban speed limit of 40 km per hour and a minimum speed of 10 km per hour-typically used for Nigerian road design ( [48] ), the value of the congestion index measurement (x) on a scale ranging from 2 to 10 could be estimated using Equation ( 3) (as proposed by Wang et al. ) [49]. In order to determine the vehicular traffic spatial variance and congestion pattern, representative development area congestion level measurements using the traffic saturation degree on some selected main road corridors could be deployed in order to measure congestion patterns in Kano and Lagos. Based on the evaluation, the average degree of saturation and level of service of urban roads can be obtained. The saturation degree compares the actual field traffic volume in a particular period to the designed traffic capacity in a typically-designed roadway. For a two-or three-lane highway in Nigeria, a standardized capacity volume of 2000 cars per hour, a typical-design hourly factor of 10%, and a directional split factor of 60% are recommended by the Highway Capacity Manual (HCM [47]), and are usually adopted for design purposes. Based on the respective acceptable traffic parameters-an urban speed limit of 40 km per hour and a minimum speed of 10 km per hour-typically used for Nigerian road design ( [48] ), the value of the congestion index measurement (x) on a scale ranging from 2 to 10 could be estimated using Equation (3) (as proposed by Wang et al. ) [49]. 

x-0. 4 0. 2 * 2 + 2; 0. 4 ≤ x ≤ 0. 6

x-0. 6 0. 15 * 2 + 4; 0. 6 ≤ x ≤ 0. 75

x-0. 75 0. 15 * 2 + 6; 0. 75 ≤ x ≤ 0. 9

x-0. 9 0. 2 * 2 + 8; 0. 9 ≤ x ≤ 1. 0 10; x > 1. 0

(3)
section_name: Materials and Methods

section_name: Results

section_content: Lagos and Kano have 16 and 8 development area councils, respectively, representing the number of MSA clusters of the two cities. Equation (3) was applied to each cluster in order to provide some scalar representations for congestion rating with the traffic volume and the degree of traffic saturation. Tables 3 and 4 contain the relevant prediction input data, including the transport infrastructure, demographics, and traffic congestion indices. The results of the congestion indices for Lagos and Kano cities, using Equation (3) (Wang et al. [49] ) showed that the two cities currently face extreme traffic regimes. This is, perhaps, due to the combined factors of mono-modal transport development tilted in favor of the road mode, the poor quality of the transport infrastructure, and disjointed transport policies. According to the congestion index (C index ), most Lagos road networks are experiencing traffic bottlenecks, which is otherwise called a 'jam' situation. The same dire situation is endured in all but two local development areas in Kano, which includes chronic traffic dilemmas and accessibility disruptions across the city. Currently, the reprehensible traffic congestion situations in Lagos and Kano have cascaded beyond the maximum design thresholds. The results of the traffic and congestion indices for Kano and Lagos exceeded the 2000 vehicles per hour adopted for the design capacity [47], and the values for tolerable or 'moderate' congestion profiles (C index = 6 -9) recommended by Wang et al. [49]. The most common 'extreme' congestion situations (C index = 10) in the Metropolitan Statistical Areas (MSA) have over-stretched supporting infrastructures and are constant sources of mobility dilemmas across the cities.
section_name: Congestion Pattern

section_content: In this study, the MATLAB R2019b software wizard was adopted in order to integrate the training model-a multi-layer feed-forward back-propagation involving an inputoutput and curve fitting (nftool). The model fitting tool is a versatile mapping facility applied between the numeric input and target data sets for the assessment of the compatibility of a prediction in which Nonlinear Autoregressive Network with Exogenous Input Neural Network (NARX-NN) inputs are not available [50]. Unfortunately, the authorities of the two cities have not been keeping adequate track of the temporal and spatial data of the elements contributing to the perennial traffic congestion problems in the two cities. In the current analysis, NARX-NN could not be considered as predictor of the dynamic or recurrent time series because of the dearth of the input time-step traffic data pool for the predictive modeling. NARX is a recurrent neural network (RNN) model analysis tool for the prediction and forecasting of chaotic time series dynamic systems [51]. 

The n f tool model proposed could provide a real-time input-output network quality scenario analysis that is useful for congestion management, vehicle scheduling, and routing systems. By developing scripts and using a graphical user interface on a case-by-case basis, and by providing training to solve problems of approximation, a quality predictor can be created for spatial and temporal predictions of problems of urban environments [52, 53]. As the model is populated with more data, future research may incorporate the model (multi-layer feed-forward back-propagation) into a genetic algorithm or other optimization algorithms in order to better improve the transport service and prediction qualities. 

In the MATLAB R2019b platform, the most suitable algorithms were used to train the best possible solutions within the ANN's nntool or nnstart command window, and to further predict outcomes. In order to create the nftool fitting model, three algorithms (i. e., Levenberg-Marquardt (LM), Bayesian Regularization (BR) and Scaled Conjugate Gradient (SCG)) were trained to compare the best network outputs. Based on the results, the algorithm that produced the best output metrics was selected. Within this process, it was necessary to look for the algorithm which minimized the mean-standard-error (MSE) and maximized regression (R) between the network outputs and the target in order to enhance the generalization of the chosen network topology [54]. The input data (x 1 to x 8 ) in Tables 3 and 4 define the traffic characteristics which impact on the congestion indices of the cluster population of the metropolitan areas in the two cities. Table 5 is the network training target characteristics data (t 1, t 2 & t 3 ), i. e., arrays of random numbers generated from the recommended standards. Table 5 shows an example of the random numbers used as the target training for the traffic saturation degree generated by the command prompt in the MATLAB command window. The results (Tables 6 and 7 ) are shown and discussed in detail in Section 3. 3.
section_name: Modeling Traffic Resilience Using a Neural Network

section_name: Table 5. Target data to train the desired network output (Kano and Lagos).

section_content: Moderate congestion profile (C index ) (Wang et al. [49] ) t 1 : 6. 0 ≤ C index ≤ 10. 0) Moderate saturation index (x) (Wang et al. [49]): t 2 :(0. 75 ≤ x ≤ 1. 0) Moderated traffic volume (v) (Highway Capacity Manual [47])

Example of random number generator command prompt for Lagos traffic Saturation degree (x);
section_name: Training Targets Range of Values

section_content: The proposed model testing and simulation requires correlation and the use of the mean squared error (MSE), representing the error calculated from the network output and the targets for the assessment of the performance function of the network. The MSE is the performance function that measures the accuracy of the model's prediction error, and it can control the extent of the correlation between the real and the forecast values, which is otherwise known as the Pearson Correlation Coefficient. In order to mitigate model over-fitting, a widely-used approach during the training of models of NN was adopted, in which the data are randomly split into three phases: training, validation and testing [55]. As such, the data were randomly divided into 70%, 15%, and 15% sets for the training, testing and validation, respectively, with a maximum of 1000 epochs. Figure 6 shows a custom view of the nftool fitting model adopted. Tables 7 and 8 are the MSE, R and forecasting equations for the various algorithms used for the prediction. Figures 6 and 7 show the accuracy of the regression plots for the Levenberg-Marquardt (LM) model, which fits better than other the algorithms, i. e., Bayesian Regularization (BR) and the Scaled Conjugate Gradient (SCG). better than other the algorithms, i. e., Bayesian Regularization (BR) and the Scaled Conjugate Gradient (SCG).
section_name: Model Simulation and Validation

section_content: The relationship between one or more predictor (input) variables and a response (output) variable is compared by regression models. The most widely-used evaluation metrics for this comparison are Pearson's correlation coefficient and the mean squared error (MSE) [56]. The simulated output points of the experiment may or may not likely match the real ones due to the confounding random and calculation errors or selection biases. The MSE quantifies the square error equivalent to the prediction sums of the variances and square biases existing between the observed experimental data and the ground truth, as shown in Equation ( 4 ):

in which θ symbolizes the experimental prediction data, θ is the reference ground truth, RMSE is the acronym for root mean squared error, and E is the operator of the expected value. The statistical reliability is determined by Pearson's correlation coefficient (COR or R), which compensates for the agreement between the ground truth and the prediction defined in Equation (5). The correlation coefficient measures how well a model correlates by minimizing the error between the experimental observation and model's predicted data; the value ranges between 0 (no goodness of fit) and 1 (perfect agreement) [57]. 

in which COV is the covariance, σ represents the standard deviation, and µ stands for the expected value (mean). Tables 6 and 7 are evidence that LM provides a better approximation compared to the other two algorithms. Tables 8 and 9 are the summaries of the NN output simulation with the normalized target forecast. Figures 8 and 9 provide a comparison of the target network and the predicted output values of the traffic volume, saturation degree and congestion indices. The high regression values for the LM for the two cities (R = 1. 000) shows the suitability of the model and the better performance of LM ahead of BR and SCG [58]. 

n in which θ symbolizes the experimental prediction data, θ is the reference ground truth, RMSE is the acronym for root mean squared error, and E is the operator of the expected value. 

The statistical reliability is determined by Pearson's correlation coefficient (COR or R), which compensates for the agreement between the ground truth and the prediction defined in Equation ( 5 ). The correlation coefficient measures how well a model correlates by minimizing the error between the experimental observation and model's predicted data; the value ranges between 0 (no goodness of fit) and 1 (perfect agreement) [57]. 

in which COV is the covariance, σ represents the standard deviation, and μ stands for the expected value (mean). Tables 6 and 7 are evidence that LM provides a better approximation compared to the other two algorithms. Tables 8 and 9 are the summaries of the NN output simulation with the normalized target forecast. Figures 8 and 9 Out of three algorithms for the (NFTOOL) fitting model used, LM performed better than BR and SCG both in terms of MSE and R. The high regression values for LM for the two cities ( = 1. 000) adjudges the suitability of the model and the better performance of LM ahead of BR and SCG. For instance, the model fitting for Kano produced LM's MSE = 4. 424 × 10 and R = 1. 000, while a similar result was replicated in the modelling of the data collected from Lagos (LM's MSE = 2. 675 × 10 and R = 1. 000). Furthermore, BR produced equally-minimal MSE values of 8. 253 × 10 and 6. 473 × 10 for Kano and Lagos, respectively; their various regressions are also within the range adjudged as a perfect model in the literature (R = 0. 932 for Kano and 0. 9312 for Lagos). Thirdly, the SCG algorithm fits the same way as the two previous algorithms; the MSEs for Kano and Lagos are 5. 337 × 10 and 4. 582 × 10, while their R values are 0. 928 and 0. 909, respectively. 

The regression analysis lent towards the empirical scalar response, and supported Out of three algorithms for the (NFTOOL) fitting model used, LM performed better than BR and SCG both in terms of MSE and R. The high regression values for LM for the two cities (R = 1. 000) adjudges the suitability of the model and the better performance of LM ahead of BR and SCG. For instance, the model fitting for Kano produced LM's MSE = 4. 424 × 10 -1 and R = 1. 000, while a similar result was replicated in the modelling of the data collected from Lagos (LM's MSE = 2. 675 × 10 -3 and R = 1. 000). Furthermore, BR produced equally-minimal MSE values of 8. 253 × 10 -1 and 6. 473 × 10 -3 for Kano and Lagos, respectively; their various regressions are also within the range adjudged as a perfect model in the literature (R = 0. 932 for Kano and 0. 9312 for Lagos). Thirdly, the SCG algorithm fits the same way as the two previous algorithms; the MSEs for Kano and Lagos are 5. 337 × 10 -1 and 4. 582 × 10 -3, while their R values are 0. 928 and 0. 909, respectively. 

The regression analysis lent towards the empirical scalar response, and supported the optimization process for the prediction of the variables. For instance, the target moderate congestion was set at C index = 6 out of 10, in order to guarantee that the traffic facilities will function optimally during the model simulation (Wang et al., 2018). The LM algorithm forecasting equation for the congestion indices of Kano and Lagos cities are (Ouput = 1. 0 * Target + 0. 47) and (Ouput = 1. 0 * Target + 0. 022), respectively. These equations are conditional upon good input parameters (i. e., to maximize the input from transport infrastructure, and to minimize both the traffic and demography) in order to deliver on the long-term goals of sustainability and resilience. 

In this study, the COR or R values revealed a good assessment of the comparison between the prediction and the ground reference, indicating that the data exhibited linear structural prediction patterns. The visualization trends of the traffic and congestion simulations showed some random variations, which may depend on the cluster's trip generation, infrastructure quality, and temporal dimensions. Although the three NN algorithms-LM, BR and SCG-are good congestion predictors, [59] argued that traffic congestion will continue to beset the developing countries' cities due to poor investment in infrastructure. The economic losses and escalating environmental problems are major sources of worry. 

The provision of infrastructure is arguably a temporary congestion relief, and often time will lead to a complicated result, as drivers are inevitably drawn to unregulated good road facilities, and may exacerbate congestion issues instead of ameliorating them. Researchers have questioned the factual assumptions underpinning infrastructure without a sustainable transport outlook [60, 61]. As such, the maxim "You can't build your way out of congestion" revealed a paradigm shift from the dilemma towards a two-way (infrastructure-cum-access control) congestion mitigation approach [62]. 

In order to attain the role of the de facto economy which is currently the hallmark of sustainable cities, a holistic policy on transport infrastructure investment and sustainable transport development must include public transport. Although Lagos, Abuja and Kano have pioneered Bus Rapid Transport (BRT) to a lesser extent, development policy needs to focus more on public transport facilities and services, and to prioritize non-motorized transport in order to resolve the current difficult situation. In Figures 9 and 10, the predicted values are moderately close to the target values, and could represent accurate predictions for the monitoring of the persistent congestion of the road traffic in Nigerian cities. The figures show that the model is very accurate in terms of calibration and prediction accuracy because the relative errors are small. The prediction, as demonstrated, is very useful for neural networks, such that a preprocessing of the real data is applied in order to predict the congestion rating as an indicator of transport service and infrastructure qualities. In both cities, the poorly-defined and complex areas of mobility resilience reveal substantial deficiencies in the complementary role of urban spatial dynamics, policy targets and benchmarks, traffic demand, public transit strategy, and low sustainability. In their various synoptic applications of ANN, researchers have observed that a multi-layer feed-forward back-propagation model provides a better fitting quality for traffic congestion, but lacks the capacity for a time series forecast in which a large pool of data is not available [63, 64]. In Figures 9 and 10, the predicted values are moderately close to the target values, and could represent accurate predictions for the monitoring of the persistent congestion of the road traffic in Nigerian cities. The figures show that the model is very accurate in terms of calibration and prediction accuracy because the relative errors are small. The prediction, as demonstrated, is very useful for neural networks, such that a preprocessing of the real data is applied in order to predict the congestion rating as an indicator of transport service and infrastructure qualities. In both cities, the poorly-defined and complex areas of mobility resilience reveal substantial deficiencies in the complementary role of urban spatial dynamics, policy targets and benchmarks, traffic demand, public transit strategy, and low sustainability. In their various synoptic applications of ANN, researchers have observed that a multi-layer feed-forward back-propagation model provides a better fitting quality for traffic congestion, but lacks the capacity for a time series forecast in which a large pool of data is not available [63, 64].
section_name: Discussion

section_content: The research findings can be summarized as follows. The prediction model implemented in the input-output and curve fitting (NFTOOL) model of the neural network has successfully connected the congestion profiles of the two cities to their infrastructure, urban traffic regimes, and demography. The present work has applied novel deep-learning modeling techniques for transport resilience forecasting. The methodology has provided
section_name: Conclusions

section_content: The research findings can be summarized as follows. The prediction model implemented in the input-output and curve fitting (NFTOOL) model of the neural network has successfully connected the congestion profiles of the two cities to their infrastructure, urban traffic regimes, and demography. The present work has applied novel deep-learning modeling techniques for transport resilience forecasting. The methodology has provided a 'smart' means for traffic and transport-related analytics and prediction. The model offers novel approach to the prediction of the traffic and congestion profiles of cities in real-time, and with quality and precision. The model, above all, provides a persistent learning process by constantly upgrading the input variables, thus providing a larger database to properly and test the ANNs so that accurate predictions can be created in the future. 

In the survey of the two most populous Nigerian cities (Kano and Lagos), the congestion indices are higher than the threshold for 'moderate' congestion (C index = 6) suggested in the literature (Table 5 ). The capacities of the road facilities are overstretched by the 'extreme' traffic situations with target and output counts greater than 2000 vehicles per hour, as suggested in the design manual from which the roads were constructed. These results are evidence of many multifaceted and multi-dimensional cycles of failures. Nigerian cities, like many developing countries, are riddled with incomplete transport infrastructures, low quality portfolios of construction, unsafe urban sprawls, and a lack of effective planning and control policies. Other issues include political interference, financial corruption, and bureaucratic bottlenecks. 

Whilst most cities are assuming the role of the de facto country's economy, urban transport, especially in the generation of the rapidly-evolving mega-cities of developing countries, require smart transport systems for effective mobility and congestion control. This is necessary, especially in the face of the prevalent public health and safety risks, environmental pollution, and socioeconomic losses due to congestion problems. The implementation of the intelligent technology and deep learning techniques carried out in this research would contribute to the academic discourse on urban transport resilience and, importantly, ensure that urbanization goes in tandem with equity, social and economic inclusion, and environmental stewardship. 

Transport systems and their associated infrastructures are vital to both the growth and prosperity of modern societies. Risk, uncertainties, and perturbations have cascaded the capacity and boundaries of the resilience and survival of transport systems in developing countries due to population growth, urbanization, and sprawling settlements, not least around urban fringes. An increased emphasis on network throughput and resilience would not only reduce the economic maladies of congestion, but would also boost safety, accessibility, and critical cyber-physical asset protection. 

The consequences of urban growth and spatial inequality have resulted in several unbelievable and 'unsustainable' cities with little capacity to muffle or resist any known and unknown systemic problems. In order to address current and future challenges, this study recommends a policy reorientation through the enhancement of public transport facilities and the strengthening of the drive for sustainable transport development. In addition to this, future studies need to explore the temporal and economic dimensions of traffic congestion with inputs that aggregate big data for predictive real-time analytics and retrospective insights.
section_name: Conclusions

section_content: The APC was funded by the UK Engineering and Physical Sciences Research Council (EPSRC) under grant EP/J017698/1 (Transforming the Engineering of Cities to Deliver Societal and Planetary Wellbeing) for Dexter V. L. Hunt.

section_content: Funding: This research was funded by the Petroleum Trust Development Fund (PTDF), Nigeria ( https://ptdf. gov. ng/), which sponsored the doctoral study fellowship of Suleiman Hassan Otuoze.

section_name: Acknowledgments:

section_content: Data Availability Statement: Data sharing not applicable.

section_content: The authors would like to thank the staff and management of the University of Birmingham, United Kingdom, for their various support during the fellowship experience. Furthermore, we wish to show our appreciation of the management of Ahmadu Bello University for granting study leave for Suleiman Hassan Otuoze.
section_name: Acknowledgments: