Introduction

Civil engineering construction and infrastructure development possess inherent constraints in vast areas, especially in the analysis, design and management of activities and interdependencies involved. The baseline for performing major decision-making processes is not only affected by several uncertainties, which are solved by deploying mathematics, mechanics and physics calculations, but also greatly depends on practitioners’ experience1,2. The knowledge gained in this process is ineffective and illogical in the absence of proactive precision, which cannot be properly executed when using a conventional computational approach to carry out multi-comparative statistical analysis3. Planning and scheduling of construction projects are inherently complex and involve accurate estimation of the number of project activities, their durations, sequence and amount of required resources, which is an area where artificial intelligence predictive modeling will be of significant support to generalize non-linear relationships between the project management constraints4,5. Moreover, the use of artificial intelligence (AI) in civil engineering projects has demonstrated limitless potential for creating smart, efficient management templates to improve decision-making precision and maximize cost and quality6.

Artificial intelligence is an area of computer science concerned with the study, design and use of intelligent computing, as well as processing complex data in a way that is inspired by the human brain. Artificial neural networks (ANNs) have the ability to learn and model non-linear relationships, which is really important because in real life, many of the relationships between inputs and outputs are non-linear as well complex7. The advantages of this modeling approach are high efficiency, continuous learning, wide applications, multitasking functioning and the ability to implicitly detect complex non-linear relationships between dependent and independent variables. In an attempt to emulate human cognition, neural networks are used today for a variety of reasons, including contractual relationships, fraud evasion, data retrieval, detection and surveillance. Neural networks are now thought of as common data-mining techniques and are used for a number of data-mining tasks, including pattern recognition, time series analysis, prediction and grouping8,9. However, an ANN can be a black box as it can approximate any function but cannot provide significant insights into the structure of the mathematical function being approximated. The combination of an ANN and fuzzy logic modeling approach can be referred to as neuro-fuzzy, also known as an adaptive neuro-fuzzy inference system (ANFIS). It helps to obtain suitable fuzzy inference classification through a learning hybridized optimization algorithm, to train the fuzzy system as well as derive appropriate membership function parameters of the fuzzy inference system such that the system models the complex input–output data. The neuro-fuzzy system also shares some advantages and characteristics with neural networks, such as its learning potential, assessment and optimization skills, and control systems. These facilitate the creation of a fuzzy-inference model from datasets using a unique learning approach motivated by learning metrics derived from neural networks10. Thanks to its capabilities concerning knowledge representation, automated learning and analysis of linguistic factors, the neuro-fuzzy model is a potent method for solving engineering difficulties and management issues for a given sophisticated system, such as prediction of decision support to improve the effectiveness of the reallocation and rescheduling processes11,12. The effectiveness of using a neural-learning technique implies that a fuzzy system with linguistic information in its rule base can be restructured or reformed using statistical data to produce a greater benefit than a neural network that is unable to use language information13. Fuzzy systems and neural networks have lately gained popularity as a combined method for handling control, identification, probability, and array appreciation problems in engineering domains. Recent years have seen an increase in artificial intelligence research, application implementation and tool creation14,15.

Similar to this, it is clear that AI is effective in the field of construction engineering and management, enabling users to achieve project objectives within budget and time constraints16,17. Yet, due to the complicated nature of many variable restrictions and the lack of clear or precise detailed information processing, the relevant research has shown that standalone AI systems have limits for handling non-trivial real-work situations18,19,20. Construction engineering and management constraints are classified according to their complexity, non-linearity, non-specificity, dynamism and uncertainty. For instance, fuzzy systems are particularly effective in evaluating the representation of explicit knowledge and making inferences15,21,22,23. Elmousalami24 investigated the appropriateness of computational intelligence techniques that included neuro-computing, fuzzy logic and evolutionary computation, which were modified for the evaluation of parametric cost-prediction models. Gregory et al.25 adapted a neuro-fuzzy soft computing technique for the prediction of the engineering performance in construction projects. Shahtaheri et al.26 proposed a predictive model based on an adaptive neuro-fuzzy inference system (ANFIS), employing 272 data points from 14 projects in the construction industry to approximate reference line tolls. Rashidi et al.27 used genetic and neuro-fuzzy systems to address the issue of choosing a skilled project manager. Similar to this, Shahhosseini and Sebt28 used an adaptive neuro-fuzzy inference system (ANFIS) to assign and select workers for construction projects depending on their qualifications.

The use of AI in the construction industry benefits both shareholders and investors in all phases of the construction process, including the proposal, costing and financing; material acquisition and correct execution; setup and resource management; and commercial prototype rehabilitation. In order to reduce the demand for experts in structure development and schedule designs, researchers and participants in construction-related projects develop technologies that resemble AI. To complete a project on time and under budget, a great project schedule is essential29,30. According to Schelle31, effective structure management entails the competent arrangement of several instances of contributing stakeholders, societies and fundamental building blocks. This might involve simulated elements such as tasks, errands and charges, as well as infinite associated units of diverging interactions. For building projects, when given step-by-step instructions and mandatory reinvigoration of responsibilities, this may allow complex undertakings to be managed successfully so that the intended results are achieved. Such recommendations and principles are given for large datasets that have existed over time and are perhaps active. They flow from one correctly specified form to the next properly outlined one. AlTabtabai32, for instance, employed a networked BP to launch a managerial method employing specialists chosen from the activities timetable, who supervised and predicted the repurposing of an abandoned many-story building.

This study uses the building of a residential, two-story, reinforced concrete framed structure in Nigeria as a case study to explore the application of artificial intelligence to construction scheduling in order to improve the project duration prediction and achieve cost minimization. Plus, we create an earned-value-management (EVM) model for better forecasting of the progress and performance and to enhance the efficiency of rescheduling and reallocation processes with the use of a decision support system by applying artificial neural networks and adaptive Neuro-fuzzy inference. A contractor’s bid and a construction timetable are equivalent. The timetable represents the estimated time necessary to complete the project, much like the bid represents the estimation of the cost that is assumed to be required to complete the project33. By using the building of a residential, two-story, reinforced concrete framed structure as a case study, this study aims to illustrate how artificial intelligence can be applied to construction scheduling in order to improve the project duration prediction and for cost minimization in Nigeria’s construction industry.

Additionally, earned-value-management (EVM) model is developed for better forecasting of the progress and performance and to enhance the efficiency of rescheduling and reallocation processes with the decision support system. A bid from contractors and a construction timetable are equivalent. Similar to how the bid is the estimate of the costs necessary to accomplish the project, the schedule denotes the anticipated amount of time needed to complete the project34. By using this, other stakeholders and general contractors can keep track of a project’s overall progress.

This study is aimed at applying artificial intelligence to construction scheduling to achieve better prediction of the project duration and minimize the costs in the building construction industry. The details derived from this research study will provide a new dynamic monitoring and optimization tool to track the progress of a project. The purpose of the research is to investigate the potential of neural networks and Neuro-fuzzy models in improving construction scheduling accuracy and efficiency and to provide insights into the application of these models in the broader field of construction engineering and management. A good construction project schedule is accurate, thorough and updated frequently, with communication regarding the project given first importance. Team cooperation is another important element since it helps tasks to be completed successfully. Scheduling allows project managers to match the labor, supplies, equipment and all other resources connected with activities and construction tasks over time, which is essential for the completion and success of a construction project. A well-planned construction schedule ensures the completion of projects by outlining the exact pace at which each job is to be completed, the sequences and methods for delivering resources, and the execution of all generated tasks35,36.

Significance of the study

The application of neural networks and neuro-fuzzy models in construction scheduling is significant for several reasons. First, construction projects are complex and involve multiple tasks that need to be completed in a specific sequence. Any delay in one task can have a cascading effect on the rest of the project. Therefore, accurate scheduling is critical for the success of a construction project. Secondly, traditional scheduling methods rely on the experience and intuition of project managers, which can be subjective and lead to errors. The use of artificial intelligence (AI) models, such as neural networks and neuro-fuzzy models, can provide objective and data-driven scheduling solutions. Thirdly, the construction industry has been slow to adopt new technologies, and the application of AI in construction scheduling represents a step forward in the adoption of digital technologies. The use of AI models can help improve productivity, reduce project delays, and ultimately save costs. Overall, the significance of this study lies in its contribution to the development of more accurate and efficient scheduling methods for the construction industry, which can lead to improved project outcomes and better resource utilization.

Project scheduling process

The timetable for a construction project provides a clear view of all the project milestones, due dates and timelines. It should be regularly updated to measure the progress and show the various steps that must be taken before completion. The contractor’s ideas on how to complete the project are fully explained and demonstrated in a construction project schedule, which also clarifies the scope of the job. The necessary duration and the work activities are represented sequentially in the work scope. A project schedule is the only management document that can predict when a project will be completed, which is an important fact to be aware of. Scheduling involves the description of specific tasks and activities, as well as accomplishments that show a start date and an expected end date37. It is impossible to overstate how important scheduling is to a project’s success in construction. An effective timetable may be able to guarantee that the project is finished on time and within budget. It involves how and when a task is completed as well as how quickly the work is done. Furthermore, scheduling specifies the process and technique for material delivery. Finally, it allows for seasonal readjustments so that changes and uncertainties can be taken into account28. The task setup and timetabling rudiments can be divided into eight practicable stages, which enables timely execution within the designed budget as illustrated in Fig. 1.

Figure 1
figure 1

HYPERLINK "sps:id::fig1||locator::gr1||MediaObject::0" Project scheduling process.

Methodology

The research study was carried out to examine feedback from the building/construction industry on the applications, utilization and feasibility of artificial intelligence in construction project scheduling using the established tender document. A deductive methodology was employed because it was best suited to the problem characteristics, and a qualitative approach was taken due to the investigative nature of the study. The study commenced with us conducting an in-depth literature review of relevant and recent scheduling methodologies used in the construction industry, with an emphasis on identifying their benefits and limitations38. The broad categories considered were design, procurement and execution. The information derived from the tender document serves as the foundation for periodic work valuation, variation valuation, variance reconciliation and all cost-related activities during building construction39. A project can be divided into several stages, with each representing a group of activities that culminate in the completion of one or more of the achievements, after usually having been completed in the order listed. This structuring divides the project into reasonable subdivisions for stress-free managing, designing and control. Depending on the nature of the project, each has different stages. The number of stages or the need for them is determined by several factors, including the project’s size, complexity and potential impact40,41.

Importantly, a tool for project management planning and analysis of the schedule is required given the relationships and interdependencies between the project’s activities. The critical path method, which is used in this research methodology, can be used to plan a large-scale activity network for project progress and management42. The start and end times of activities in the original schedule plan may be impacted, and the critical path may barely be reflected. Overcoming such issues, the critical path method is a project scheduling and analysis method that represents the tasks that must be completed in a specific project, including the trade-off between activity duration and cost. The basic rule is that any increase in critical activity duration leads to an increase in critical activity cost. The research methodology flowchart is shown in Fig. 243,44.

Figure 2
figure 2

Research methodology flowchart.

Steps to the critical path calculation

The critical path method (CPM) determines the task’s shortest achievable completion time using the project actions’ potential start and end times. In fact, more managers now view the critical path scheduling strategy as the most useful and practical scheduling technique. The duration denotes the shortest amount of time required to complete a certain project. If there is a barrier on the vital path, more time will be required before the project is completed. In order to use the critical path scheduling method in practice, construction task planners must act as a resource constraint via a precedence relationship44,45. The steps for calculating the CPM are stated below:

Forward-scrolling algorithm

This presents calculations for the critical path starting from the beginning of the node to the end of the grid, using Eq. (1)

$$ E(j) = \max \{ E(i) + D_{ij} \} $$
(1)

where Dij is the activity duration, E(i) is the earliest start time for a given activity and E(j) is the latest start time46.

Backward-scrolling algorithm

This is the opposite of the front-scrolling algorithm. It calculates from the last node of the activity network and returns to the foremost node using mathematical relationships, as presented in Eq. (2)47.

$$ L(j) = \min \{ L(i) - D_{ij} \} $$
(2)

where L(j) is the latest end time for a given activity and L(i) is the earliest end time for a given activity. The difference (time) between the early start and the late start is known as elasticity, which represents the time in which the activity can be delayed without affecting the required project duration40,48.

Using a two-story residential building project as a case study, the precedence, relations and durations for 17 activities required for the project are presented in Figs. 3 and 4.

Figure 3
figure 3

Precedence, relations and durations for a seventeen-activity project.

Figure 4
figure 4

Gantt chart.

Calculating earned value

Earned value management (EVM) depicts in straightforward words the level of coverage and what tasks remain in a project. This accurate report is critical in recognizing faults, changing plans, amending mistakes and ensuring not only timely but also excellent delivery. The EVM puts cost and time on a unified scale, allowing one to graphically evaluate the actual work done vs. what was expected. The following direct indicators are adopted to appropriately scrutinize the timetable and costs accrued for a given mission using EVM49.

  • Planned value (PV): is otherwise called the budgeted cost of work scheduled (BCWS). It is the cost sum through the current reporting period. It is the projected rate of a task arranged to conclude within an agreed interval50;

  • Actual cost (AC): is also called the actual cost of work performance (ACWP). The actual cost implies the authentic payments made to complete a task by the set date. It is the recorded cost of completed works when using the preset interval alone;

  • Earned value (EV): is otherwise referred to as the budgeted cost of work performance (BCWP). This is the aggregate task financial plan, increased by the percentage of task achievement. It denotes the accepted financial plan of tasks completed by the deadline51;

  • Schedule Performance Index (SPI) and Schedule Variance (SV): the SPI is the ratio of EV to PV. It is a comparative quota of the project’s interval adeptness, which compares the actual headway to the premeditated headway. An SPI rate of < 1.0 designates that less work has been completed than anticipated, while a value of > 1.0 designates that more tasks were completed than were scheduled35. The SV is the variance flanked by the authentic tasks delivered contrary to the guesswork. It tells us whether the project is within plans or not. Zero variance depicts a project running according to the timetable/schedule, while a negative or positive difference depicts arrears or getting ahead of schedule, respectively35. The mathematical relationships are presented in Eqs. (3) and (4):

    $$ {\text{Schedule}}\;{\text{Performance}}\;{\text{Index}}\quad (SPI) = \frac{EV}{{PV}} $$
    (3)
    $$ {\text{Schedule}}\;{\text{variance}}\quad (SV) = EV - PV $$
    (4)
  • Cost Performance Index (CPI) and Cost Variance (CV): the CPI is the ratio of EV to AC. It is a comparative quota of the cost of the project in terms of proficiency, which is capable of guesstimating the price of tasks left uncompleted52. The CV, therefore, stands for the variance between EV and AC. Whether a project is carried out as budgeted is showcased by the EV and AC. Zero indicates that the project is falling within the appropriated cost margins, whereas the project is considered as over or under the appropriate cost if the difference is negative or positive. The mathematical relationships are presented in Eqs. (5) and (6)53,54:

    $$ {\text{Cost}}\;{\text{performance}}\;{\text{index}}\quad (CPI) = \frac{EV}{{AC}} $$
    (5)
    $$ {\text{Cost}}\;{\text{variance}}\quad (CV) = EV - AC $$
    (6)

Model performance evaluation

The performance of the intelligent model developed was evaluated in order to confirm that it has a proven ability to predict or estimate the target parameters with an acceptable degree of accuracy. Several performance criteria (statistical measures) used in the related literature, such as the loss function parameters, mean absolute error (MAE) and root mean square error (RMSE), are given with the formulas shown in Eqs. (7) and (8)55,56,57.

$$ RMSE = \sqrt {\frac{{\sum\nolimits_{i = 1}^{n} {\left( {E_{i} - M_{i} } \right)^{2} } }}{n}} $$
(7)
$$ MAE = \frac{1}{n}\sum\nolimits_{i = 1}^{n} {\left| {E_{i} - M_{i} } \right|} $$
(8)

where n is the size of the data points under investigation, Ei is the actual or experimental results and Mi is the estimated model values.

Results, discussion and analysis

The schedule computation was carried out using Microsoft Project and Microsoft Excel software in line with the research carried out by Dayal58 for effective management of varying sizes of construction projects. The construction project under study was executed by a medium-sized firm with a planned duration of 95 days at an estimated direct cost of 25.8 million naira. The description of the project consisted of a residential, two-story, reinforced concrete framed structure with five bedrooms and a penthouse. The general information on the project was reviewed and the reasons for delaying the completion of the work. The critical and flexible activities involved in the project are presented in Table 1 from the computed results. The flow of the construction work’s 17 activities and dependencies indicated little or insignificant difference between the earliest and latest finish points of the project activities in the initial stages. However, as the project proceeded to the advanced stages, the relationships between the events and activities signaled appreciable slack periods, which provided necessary time for the safe completion of clashing preceding activities in the project58,59.

Table 1 Start and end times of the activities.

The performance indicators’ computation results were extracted and are presented in Table 2, showing the actual time (AT), schedule variance (SV), earned value (EV), actual cost (AC), schedule performance indicator (SPI), cost variance (CV), cost planned progress and performance indicator (CPI) factors of the project. The interpretation of value for indicators of the project performance is shown in Fig. 5. The obtained results show a positive CPI and a CV observed to be > 1. These cost variables were further matched with the schedule computation outcome; the SPI was observed to be positive (> 1), and there was a negative SV (< 1)35,60. These derived results indicate that the project under study is behind schedule, and at the same time, under budget, as we can infer from the project performance interpretation chart. This occurred for several reasons, namely a lack of engagement of professionals to manage the project efficiently, along with environmental and safety factors. The obtained results are in agreement with the research study carried out by AnkurVerma35, who presented the significance, execution and distinctive elements of earned value management for promoting project success. Plus, the study carried out by Vanhoucke50 indicated the importance of calculating the indicators of the project performance in order to detect possible problems and identify solutions or mitigate constraints. The outcome of the project performance calculation further clarifies the need for the deployment of artificial intelligence techniques for the modeling of complex variables and constraints, to enable the smooth running of project activities through to their completion in the target time and within the estimated budget61,62.

Table 2 Performance indicators’ computation results.
Figure 5
figure 5

Interpretation of value for indicators of project performance (Kim et al.53).

Datasets for model development

Through expert judgment and consultations, the model variables were sorted to evaluate the performance indicators of the construction project. Distribution histograms were plotted for the model input and explanatory variables, as shown in Fig. 6, which present how often each value occurred in a dataset, showing slight or no skewness for the two parameters used63.

Figure 6
figure 6

Distribution histogram chart for input and output variables.

Pearson’s correlation

According to previous studies, Pearson’s correlation coefficients, as presented in Table 3, were deployed to evaluate the linear relationship between the predictors and explanatory variables. The results indicated strong positive relationships between the target response factor, earned value (EV), and the following performance indicators: planned progress, actual time (AT), earned schedule (ES), actual cost (AC) and cost variance (CV). Meanwhile, negative linear relationships were observed to exist for the schedule performance indicator and schedule variance factors64,65.

Table 3 Pearson’s correlations for model parameters.

Artificial neural network (ANN) model development

The modeling process was carried out with the datasets fed to the neural network using MATLAB software. The model framework was designed as six input variables namely, ES, planned progress, SV, SPI, CPI and AT; with one output parameter as the EV. The processing parameter settings for the neural network model are presented in Table 4 and Fig. 7, which show a 6-10-1 two-layer feed-forward network with a tansig activation function (AF) for the hidden neurons and linear AF output neurons. This can perform multidimensional mapping to solve complex system solutions. In order to determine the best-performing n-neurons, mean squared error (MSE) and R-values, evaluation criteria were used, which revealed that 10 neurons produced optimal results66,67.

Table 4 Artificial neural network processing parameter settings.
Figure 7
figure 7

ANN architecture.

Training state of the ANN

The ANN training state plot (plottrainstate) of the neural network indicated a gradient of 26.6334, with the optimal value computed at 15 epochs. The validation checks failed at six because the errors were repeated six times before the process finally stopped. This represented the best performance of the neural network; at that stage, its performance ceased to improve further. The error function was repeated at zero points from epochs 0–9, then rose linearly from one to six over epochs 10–15. However, starting from epoch 10, we observed overfitting of the data. Therefore, epoch 9 was taken as the baseline, and its weight functions were selected as the final weights, as shown in Fig. 868.

Figure 8
figure 8

ANN training state.

Validation performance of the ANN

The mean square error (MSE) was the criteria tool used to evaluate the model’s performance while randomly selecting different hidden neuron numbers, activation function parameters and training algorithms for validation of the ANN network, as shown in Fig. 9. The graphical results indicated the best validation performance of 4.3639 at epoch 9 for the optimized network (8-10-1). The results indicated a satisfactory performance of the ANN model. It was capable of predicting the target response parameters accurately by generalizing the sets of complex input variables with minimum error69,70.

Figure 9
figure 9

Validation performance of the ANN.

Error histogram of the ANN

An error histogram for the simulated smart model performance is presented in Fig. 10, which illustrates the level of correlation between the experimental and predicted variables with a 20 bins error histogram for training, testing and validation of the network. The zero-error point indicates the best performance during the simulation. Almost 95% of the data yield an error of less than 1%. The zero error is indicated with a yellow line in the middle at 0.04565 for the error function, with 50, 55 and 65 instances in the training, validation and testing sets, respectively21,71.

Figure 10
figure 10

ANN error histogram.

Regression plot of the ANN

A regression plot presents the model relationships for the actual data and the ANN model results using the coefficient of determination and mean squared error (MSE) for the training, validation and testing sets, as shown in Fig. 11. The smart model output results were plotted on the y-axis of the regression plot while the actual values were on the x-axis. The derived statistical results show a satisfactory performance in terms of the prediction accuracy of the ANN model with 0.9996, 0.9945 and 0.92232 results obtained for training, testing and validation, respectively72.

Figure 11
figure 11

ANN training, testing and validation regression plots.

Selection of the optimized ANN model

A comparison table showing various ANN architectures and their respective performance levels is shown in Table 5. The criteria used for performance evaluation of the network were the mean squared error (MSE), root mean squared error (RMSE) and coefficient of determination (r2). The optimized ANN model after network training and testing was the 6-10-1 architecture, with MSE, RMSE and r2 values of 4.639, 2.154 and 0.9994, respectively, for the training performance results. Similarly, the testing performance results for the optimized model were 2.354, 1.534 and 0.9945 for the MSE, RMSE and r2, respectively. The MATLAB script for the ANN model’s development and simulation, showing the connotation weight matrix, is presented in the attached supplementary file73.

Table 5 ANN architectures’ comparison to derive an optimized model during training and testing.

Neuro-fuzzy model development

Detailed computation results showing the performance indicators of the cost and schedule for the project were utilized to build the ANFIS model input–output constraints appropriately. The earned schedule (ES), planned progress (percent), schedule variance (SV), schedule performance index (SPI), cost performance index (CPI) and actual time (AT) in weeks were the six input variables, and the earned value was the output variable (EV). The model variables’ relationships, showing the input–output associations, are given in Fig. 1274. The ANFIS model was trained, tested and validated using the ANFIS toolbox in MATLAB software. The MATLAB software workspace and membership function were generated using the sub-clustering fuzzy-inference-system formulation method after system datasets were loaded into it. Moreover, a hybrid method of optimization was deployed as the learning algorithm, which was adopted to train the fuzzy inference at 100 epochs75. Table 6 shows the learning and membership function constraints for data treatment, with an error tolerance value of 0, range of impact value of 0.5 and squash factor, reject and accept ratios of 1.25, 0.15 and 0.5, respectively. The Gaussian membership function (gaussmf) was utilized to evaluate the degrees of belongingness of the factors, as presented in Eq. (10). The model variables can be represented as follows:

$$ {\text{in1}} = {\text{ES in2}} = {\text{planned progress in3}} = {\text{SV in4}} = {\text{SPI in5}} = {\text{CPI in6}} = {\text{AT out1}} = {\text{EV}} $$
$$ f(x;\;\sigma ,\;c) = e^{{\frac{{ - (x - c)^{2} }}{{2\sigma^{2} }}}} $$
(10)

where \(\sigma\) and \(c\) represent the standard deviation and mean for the Gaussian function, respectively.

Figure 12
figure 12

ANFIS model variables and architecture.

Table 6 ANFIS network parameters.

Testing and training ANFIS

To achieve the training, validation and testing of the neuro-fuzzy network using the prescribed hybrid optimization training methods and FIS constraints, the datasets used for the neuro-fuzzy modeling procedure were separated and arranged in two parts. The datasets were loaded from the workspace for ANFIS network training with one output and four input variables, as well as the graphical plot of 20 indices for network training. Training and testing error results of 8.0523 and 6.4218, respectively, were calculated in the process, as presented in Figs. 13 and 1476.

Figure 13
figure 13

ANFIS model training and error plot.

Figure 14
figure 14

Plot of testing datasets.

Graphical plots of the membership function

Graphical plots that show the membership function for the model variables in the ANFIS network were generated by means of the MATLAB recreation toolbox, which was used to robotically advance the suitable connection function standards to increase the records’ generality. Figure 15 shows the membership function designs, with the variety of records for model constraints on the x-axis and the discourse value from 0 to 1 on the y-axis77.

Figure 15
figure 15

ANFIS membership function plots.

Selection of the optimized ANFIS model

A comparison table illustrating varying ANFIS network architectures and their respective performance using RMSE, MSE, and r2 is shown in Table 7. The optimized ANFIS model after network training and testing was the architecture type with a Gaussian membership function. The training performance results for the optimized model were 8.0523, 2.84 and 0.99999 for the MSE, RMSE and r2, respectively. Plus, for the testing performance, the optimized model produced values of 6.4218, 2.534 and 0.99999 for the MSE, RMSE and r2, respectively.

Table 7 ANFIS architecture comparison to derive the optimized model during training and testing.

ANFIS model variables’ graphical expression

A soft computing smart model was installed for the evaluation of the schedule performance indicators. This studies the generality of statistic sets it has been served with assistance from a hybrid optimization set of rules. Such a model has the power to precisely pair a given collection of inputs with the matching yield value. With a three-area apparent design, the prototypical variables’ interactions are weighed to spot their substantial one-to-one significance or possession, as revealed in Fig. 16. The influence of the independent variables on the earned value is assessed in this process78.

Figure 16
figure 16

D-surface plots of ANFIS model variables.

Model validation

The developed smart intelligent model’s prediction performance was evaluated using a statistical method and loss function parameters, namely the mean absolute error (MAE) and root mean square error (RMSE). The evaluation was carried out for the ANN and ANFIS models. The model results and the actual values are presented in Table 8. The loss function statistical computation, which offered a good evaluation criterion for the performance of the developed smart intelligent model, is shown in Table 9. The generated statistical results indicate no significant difference between the model results and experimental values, with a MAE, RMSE and R2 of 1.9815, 2.256 and 99.9%, respectively, for the ANFIS model, and a MAE, RMSE and R2 of 2.146, 2.4095 and 99.998%, respectively, for the ANN model. Line-of-fit regression plots are shown in Figs. 17 and 18. The obtained statistical index results are in agreement with the findings of Alaneme et al.56 and Iro et al.79 for ANFIS and ANN model performance evaluation.

Table 8 Actual and model-predicted results.
Table 9 Performance evaluation of the developed model.
Figure 17
figure 17

Goodness-of-fit plot for ANFIS model.

Figure 18
figure 18

Goodness-of-fit plot for ANN model.

Sensitivity analysis

Sensitivity analysis assesses the contribution of the individual independent variables to the output response (EV). For this purpose, the methods reported by Razavi et al.80 were adapted to determine which inputs had the greatest impact on the output variable. We used the relevancy factor (r), where r is in the range of [− 1, 1]. The r values were calculated using Eq. (11).

$$ r = \frac{{\sum\nolimits_{i = 1}^{n} {\left( {X_{k,i} - \overline{{X_{k} }} } \right)\left( {Y_{i} - \overline{Y} } \right)} }}{{\sqrt {\sum\nolimits_{i = 1}^{n} {\left( {X_{k,i} - \overline{{X_{k} }} } \right)^{2} \times \sum\nolimits_{i = 1}^{n} {\left( {Y_{i} - \overline{Y} } \right)^{2} } } } }} $$
(11)

where \(X_{k,i}\) and \(Y_{i}\) are the ith input and output, respectively; \(\overline{Y}\) and \(\overline{{X_{k} }}\) are the average values of the output and kth input, respectively; and n denotes the total number of data points. The computation results are presented in Figs. 19 and 20. From the plotted results, it can be observed that the major influencing parameters were the planned progress, actual time (AT) and earned schedule (ES) factors, with relevance scores of 0.895, 0.763 and 0.445, respectively. In contrast, the schedule variance (SV), schedule performance index (SPI) and cost performance index (CPI) factors had the minimum relevancy among the factors of 0.236, 0.142 and 0.191, respectively, for the ANFIS model sensitivity results. Similarly, for the ANN model, the actual time (AT) and planned progress were the maximum relevance factors, scoring 0.901 and 0.852, respectively, while the minimum relevance score of 0.167 was derived for the schedule performance index (SPI) factor. The computed sensitivity analysis results obtained are in agreement with the analytical findings of Zarei et al.81.

Figure 19
figure 19

ANN model sensitivity analysis results.

Figure 20
figure 20

ANFIS model sensitivity analysis results.

Conclusions

The research assessment of the application of artificial intelligence in construction scheduling for efficient project management was achieved in this study with a two-story residential structure construction taken as a case study to design and evaluate the schedule and cost performance indicators. The following conclusions can be drawn:

  • The construction project under study was executed by medium-sized firm with a planned duration of 95 days at an estimated direct cost of 25.8 million naira. The project performance indicators were evaluated through earned value analysis from 0–100% progress, at 5% increments, with a total of 17 tasks. This was carried out using Microsoft Project software, and data obtained from the computation were utilized for model development;

  • Pearson’s correlation results obtained for the model variables indicated strong positive relationships between the response factor, earned value (EV), and the following performance indicators: planned progress, actual time (AT), earned schedule (ES), actual cost (AC) and cost variance (CV). Meanwhile, negative linear relationships were observed to exist for the schedule performance indicator and schedule variance factors;

  • Data generated in this process were expertly selected for the input–output model variables’ formulation to improve project performance, reduce costs, and enhance overall project management. ANN and ANFIS were deployed for the smart modeling process using MATLAB software for the model simulation, training, testing and validation;

  • The model’s prediction accuracy was evaluated using loss function parameters, namely the root mean squared error (RMSE) and mean absolute error (MAE). The results calculated indicated a better performance for the ANFIS model, with a MAE and RMSE of 1.9815 and 2.146, respectively, while ANN performed satisfactorily, with a MAE and RMSE of 2.257 and 2.4095, respectively. The model performance results showed it was adaptive and robust, dealing with complex relationships between the model variables to produce an accurate target response;

  • The results suggest that these models can be effectively integrated into existing scheduling processes and have the potential to significantly improve project performance. The developed models also offer a viable and accurate means of providing project performance indicators that enable project/construction managers to proficiently monitor, control and execute projects with the designed quality, time and resources. Furthermore, details derived through this research study will contribute toward developing an essential template for efficient planning and accountability of construction projects, to prevent challenges such as cost overruns.

Study’s limitations and recommendations

Investigative research on construction schedule evaluation using artificial intelligence tools is very important given that it can be applied to deal with non-linear complex problems better than conventional statistical approaches. The gains derived from this work will contribute essential information to the decision-making process in construction planning, monitoring and controlling, to achieve the optimum solution. The system datasets utilized for the smart intelligent modeling in this research study were, however, limited to two-story residential structure construction in the area of the study. Therefore, further investigation is recommended using different classes of buildings based on the intended use of the structure, along with the deployment of multiple hybrid AI algorithms such as the neural networks–genetic-fuzzy-logic hybrid algorithm.