Introduction

Cement is one of the most often used materials by humans, and the compressive strength of structural concrete is determined by the concrete's numerous constituents. It is also one of the most important components that provide concrete its strength. The strength of the cement determines the concrete's performance. Standard specimens were created and cured at various days for the curing in the laboratory to test the strength of cement. Some concrete factors, such as cement, aggregates, water-cement ratio, curing period, have an impact on the strength of the concrete. The various regression [1, 2] approaches are used to calculate the strength of cement using known procedures. The trend of evaluating cement strength using models that are only based on data has been expanding over the last few years. Many researchers are currently considering various approaches to estimate cement and concrete strength, such as artificial neural networks (ANN)) [3,4,5], principal component regression [6,7,8], fuzzy logic [9, 10], and machine learning methods [11].

Many researchers have looked at estimating the particular properties of concrete. Using design of experiment analysis, Salem Alsanusi and Loubna Bentaher evaluated the compressive strength of concrete [12]. Moutassem et al. [13] anticipated theoretical and phenomenological models for predicting concrete qualities. ANN is also used to investigate displacement in a concrete reinforced building [14]. Joseph Mwati Marangu researched the use of machine learning (support vector machine) to estimate the strength of concrete [15].

Hamid Eskandari-Naddaf et al. [16] used an artificial neural network (ANN) to forecast the compressive strength of mortar mixtures with various cement strength classes. With improvements in cement class, ANN exhibits an improvement in mortar compressive strength. Because cement is made up of random, complicated, multi-scale composites, predicting its elastic characteristics is difficult. Finite element approaches, in combination with knowledge of individual phase modulus and a cement paste microstructure development model, are utilised by Haecker [17] to quantitatively predict elastic modulus as a function of degree of hydration as determined by loss on ignition. For degrees of hydration of 50% or greater, and for a range of water cement ratios, comparisons between model predictions and experimental results are good. Kavita Verma et al. [18] offer a finite element model for cement strength prediction. They also utilise the ANN to forecast the strength of cement mortar in various sorts of environmental conditions, confirming that the ANN model's prediction is the best. The amount of sodium chloride, chemical admixtures, and cement grade all have an impact on the compressive strength of cement mortar. As a result, Hamid Eskandari et al. [19] devised an artificial neural network model to estimate the compressive strength of mortar for various cement grades and sodium chloride (NaCl) percentages. Additionally, Shaqadan et al. [20] proposed the Relevance Vector Machine (RVM) and Random Forest (RF) models, and the study found that RVM predicts cement mortar strength better than RF. The ANN, correct orthogonal decomposition, and regression analysis models were compared to the created mathematical model by Kisan Bidkar et al. [21]. Akbar Ghanbari et al. [22] employ micromechanical parametric models to estimate the plastic viscosity of self-compacting steel fibre reinforced concrete (SCFRC) based on the observed plastic viscosity of the mixture. The study of Naresh Kumar Nagwani et al. [23] utilizes the cluster regression approach to estimate the concrete's compressive strength. Clustering and regression together will guarantee that the dependent and independent variables' curves are more accurately fitted. Huaicheng Chen et al. [24] deploy a support vector machine (SVM) model to estimate the compressive strength of mortars subjected to sulphate assault. The possibility of utilising artificial neural networks (ANNs) modelling to forecast the characteristics of self-compacting concrete (SCC) incorporating fly ash as a cement substitute is investigated by Omar Belalia Douma et al. [25].

The current investigation is focussed on the estimation and comparision of the strength of cement mortar incorporated with nano ZnO particles by using different types of models such as analysis of covariance (ANCOVA), artificial neural network (ANN), and principal component regression (PCR). The outline of the research work is shown in Fig. 1c.

Fig. 1
figure 1

a SEM image of ZnO b X-RD results of ZnO c Outline of the research work d Nano ZnO

Materials and methods

Materials

Cement: Pozzolana Portland Cement confirming to IS 1489:1991 [26] is used in this investigation. Table 1(a) and Table 1(b) show the chemical and physical properties of cement, respectively.

Table 1 (a) Chemical and physical properties of the cement (b) properties of fine aggregates (c) chemical composistion of zinc oxide (%)

Fine aggregate: Locally available fine aggregate in the river is used for the experimentation, it is confirming to IS 383: 1970 [27] with Zone II utilizes for the experimentation. The properties of cement and fine aggregate shown in Table 1(c).


Zinc oxide (ZnO) nano-particles: Zinc ash or zinc oxide is a by-product of the coating industry, which occurs as a fine powder and grey in colour. Figure 1a shows an average particle size of ZnO is 50 nm and a density of 263 kg/cm3. The Chemical composition of the ZnO nano-particles is shown in Table 1(d).


Characterisation of Zno particles: XRD figure of ZnO nano-particles given in Fig. 1b. The XRD peaks show the materials in the nano-scale series. From these peak intensity, width and position, full width at half maximum data (FWHM) can be determine. The peaks situated at 30.88°, 33.539°, 35.364°, 46.659°, 55.718°, 61.988°, 67.076°, 68.213°.

$$D = \left( {0.9 \times \lambda } \right)/\left( {\beta \times \cos \, \theta } \right)\;\;\;\;{\text{Scherrer}}\;\;{\text{equation}}\;\;\left[ {28} \right],$$

where λ = wavelength, β = full width at half maximum (FWHM)of diffraction peak. The average practical size is 48.69 nm at an angle 35.36°, it is calculated as Scherrer Equation. The widening of XRD peaks shows the presence of nanoscale particles in the materials. XRD pattern analysis may be used to identify peak intensity, location, and breadth-full width at half maximum data. SEM pictures demonstrate the formation of ZnO nano-particles. SEM confirms the approximately spherical form, and most particles have some faceting. The selected region electron diffraction pattern confirms nano-crystals preferred orientation over conventional crystals [29, 30]. SEM images, which reveal the formation of ZnO particles, also confirm the hexagonal plane.

Methods

Experiments start with the preparation of 4 types of mixes. In these mixes, the amount of addition of ZnO nano-particles varies from 0%, 0.25%, 0.5% and 0.75% by weight of the cement. The mix proportions and its details are shown in Table 2. The compressive strength of cement mortar was checked as per IS 4031 (part 6) [31].

Table 2 Mix proportions

The outline of the research work is shown in Fig. 1c. After testing the specimens of all mixes, three types of models were prepared for the prediction of the strength of cement. Table 3(a) shows the input parameters for the various models and Table 3(b) shows the characteristics of specimens after casting. At the end of the work, results of all models were compared with each other and find out the best model fit for further experimentation. The predicted values from models and experimental values were calculated. The residuals of each model were again compared and based on this, the best-fitted model was customized for this work.

Table 3 Input details

Models

Analysis of covariance (ANCOVA)

ANCOVA is used for the assessment of the main effect of categorical variables on the main (dependent) variables. It is also used for limiting the effect of continuous variables on the dependent variables. ANCOVA is blended with linear regression (LR) and analysis of variance (ANOVA) as the same type of dependent variables is there, so the model alters linearly and the hypothesis becomes identical. If p is the number of quantitative variables, and q the number of factors (the qualitative variables including the interactions between qualitative variables), the ANCOVA model is written as [32]:

$$y_{i} = \beta_{0} + \mathop \sum \limits_{j = 1}^{p} \beta_{j} x_{ij} + \mathop \sum \limits_{j = 1}^{q} \beta_{{k\left( {i,j} \right),j}} + \varepsilon_{i}$$
(1)

where \({y}_{i}\) is the value observed for the dependent variable for observation i, xij is the value taken by quantitative variable j for observation i, k(i,j) is the index of the category of factor j for observation i and \({\varepsilon }_{i}\) is the error of the model. By ANCOVA, here we wanted to determine the compressive strength. Use of this model to predict compressive strength as the dependent variable and zinc ash, cement to zinc ash ratio, water to cement ratio as quantitative variables, and curing days as qualitative variables as the portion of multiple linear models.

Compressive strength = Function (zinc ash, cement to zinc ash ratio, water to cement ratio and curing days).

Neural network (NN)

Due to the strength, the user-friendly approach and the elasticity of Neural Network model is widely preferred model for the prediction. This is most useful under the multifaced circumstances. Radial basis function (RBF) [33, 34] and multilayer perceptron (MLP) [35, 36] applications are used to predict. The target values are compared with predicted values and this task is supervised by RBF & MLP models.

Figure 2 describes the architecture of neural network. In this first layer is input layers which include the predictors. The second layer (hidden layer) includes the units or ignored nodes. The value of each node is the function of the predictors, MLP, and RBF extracted required function value as per their requirement. The third (output) layer includes the reply or output of the model. MLP involved a second hidden layer in which each node is the function of first layer nodes. In this work zinc ash, cement to zinc ash ratio, water to cement ratio & curing days are the input parameters and compressive strength is the output parameter.

Fig. 2
figure 2

General architecture of neural networks

Principal component regression (PCR)

Generally, the Principal component Regression technique is adopted when there is a multicollinearity problem is arising in data for the linear regression. Multicollinearity causes estimation of least squares neutral values with big variance, so its values are so far from its true values and create more standard errors. In such a case, PCR reduces the standard values and gives accurate prediction values. PCR [37] is divided into three parts. In first step, principal component factors are extracted from the variables and in second step ordinary least square regression is performed between dependent parameters and the component which were extracted from the first step. The following Eq. (2) is the basic regression equation for the PCR model [38].

$$Y = \, BX + e$$
(2)

where Y = Dependent variables, X = Independent Variables, B = regression coefficient and e = error or residuals. In this work, Zinc Ash, Cement to zinc ash ratio, water to cement ratio and curing days are the input parameters and compressive strength is the output parameter.

Results and discussion

In this section, the experimental results are compared with the ANCOVA, NN, and PCR models prediction. These results showed that ZnO nano-particles enhance the compressive strength of the cement mortar significantly, the detailed discussion about the result is given below.

ANCOVA model

In Table 4, output parameters of the ANCOVA model are given. Using the Backward variables selection method, 4 variables have been retained in the model. Given the R2, 99.40% of the variability of the dependent variable Strength (Mpa) is explained by the 4 explanatory variables. Given the p value of the F statistic computed in the ANOVA table, and given the significant level of 5%, the information brought by the explanatory variables is significantly better than what a basic mean would bring. Form Table 4(a), the ANCOVA model R2 value is 0.9994. It means all variables correlated and significant for the prediction of the strength. As this value is closer to 1, the model is the best-fitted model. From the analysis of variance in Table 4(b) F value < 0.0001, it shows that all independent variables in the model are significant. Abhijit Chatterjee et al. [32] and Okan et al. [39] were also reported similar types of results.

Table 4 Output of ANCOVA
Fig. 3
figure 3

Graphical results of ANCOVA models

Figure 3 shows the results of ANCOVA models in the graphical format. Figure 3a gives the value of R2 = 0.9994 of predicted value and the observed value of the ANCOVA model. Figure 3b and Fig. 3c give the standard residue of the training and validation set, the value of the standard error is between − 1.4 and 2.1 for active data and − 2 to 2 for validation data for the ANCOVA.

Neural network model

For research work, 36 specimens were cast. Out of 36 the 28 specimens (77.8%) were considered as training specimens and 8 specimens (22.2%) were considered as testing purposes. The summary of the model processing is given in Table 5(a) and Table 5(b) shows the network information for the model. Results of model summary are displayed in Table 5(c) and the importance of the variables shows in Table 5(d). The architecture of the neural network model is shown in Fig. 4a. Figure 4b shows the plot of predicted vs observed values in this value for R2 is 0.999 which shows the model best fitted. Figure 4c shows the residuals of the NN model which has a range between − 0.7 to 1. The obtained results in research work are similar to khademi et al. [9] and Sudarshan et al. [4]. As residues are less, so it is suggested that the model predicts the accurate values. This model also gives normalizes importance to each variable. The validation of the neural network models is its residuals as from Fig. 4b and c is very minimum means the prediction of the models is very accurate.

Table 5 Output for NN model
Fig. 4
figure 4

Graphical outputs of the NN model

Principal component regression model

Figure 5a shows the scree plot for the PCR model. It shows that the model describes 50% of the variability, so it is possible to present variable on the one axis. Table 6 provides the information of output for the model of PCR. From Table 6(a) and Fig. 5b the goodness of the fit statistics, the value of R2 is 0. 944, so that the PCR model is best fitted. The values of the standard residue of active and validation data are shown in Fig. 5b and c and the range of residue for active data is between − 1.17 and 1.8 and validation data is − 1.2 to 1.6. So, the prediction of the PCR models also gives accurate values. The same types of results also observed by Islam et al. [6] in their work. PCR models provide the equation given in Table 6(d) for the prediction of the compressive strength of mortar, this equation represents the 93.2% of the variability.

Fig. 5
figure 5

Graphical representation of output of PCR model

Table 6 Outputs of PCR model

Table 7(a) shows the overall comparison between compressive strength by actual experimental testing and compressive strength predicted by different models. Table 7(a) and Fig. 6a display the compressive strength of all mixers enhances with ZnO nano-particles addition continue up to 0.5% in cement, later on, the strength of cement mortar is decreased. Table 7(b) shows the comparison of all models, in that R2 and minimum and maximum residues are compared, the values of R2 are very closer to 1 for each model but from this, it is not clear that which model is best fitted but with the help of residuals plot given in Fig. 6b, it is possible to suggest the best model for the prediction of the compressive strength of the mortar.

Table 7 Strength comparison of the experimentation and models
Fig. 6
figure 6

Comparison of overall performance of the mixes and models

Out of three models, the Neural Network produces the lesser value of the residue that means it is the best model for the prediction of the strength of cement mortar. It has minimum residue values as − 0.7 and 1. Figure 6b shows the comparison of overall performance by the models. This indicates that all models give the optimum response at 0.5% of addition afterwards it shows declination in the results of the compressive strength of the mortar. This is directly validated the outcomes of the research. The decreases in the strength of mortar may be causes due to ZnO nano-particles formed the crystalline layer of CaZn2(OH)2·2H20 around the cement particles. As per the available literature, some of reported that the analysis of X-ray diffraction (XRD) of calcium zinc hydrate is formed with ZnO nano-particles which restrict the hydration reaction and result in the formation of fewer hydrates and ultimately it decreases the compressive strength of the mortar. The similar types of results were reported by Riahi et al. [40] Kantharia et al. [41] and Arefi et al. [42].

Conclusions

The outcomes of the experimentation show that mortars containing ZnO nano-particles have expressively higher strength as compared with mortar without the ZnO. The optimum % of the addition of ZnO nano-particles is 0.5%. To validate and prediction of the experimental results, three different mathematical modelings reported. These three models based on Analysis of variance, Neural Network, and Principal Component Regression. Thirty-six standard specimens of cement paste with nanomaterials were casted. The compressive strength is considered as a function of the zinc oxide nano-particles, cement to zinc oxide ratio, water to cement ratio, and curing days. It is concluded that the neural network (NN) model is the best fitted and more accurate model than other models. Principal component regression (PCR) predicts an accurate value of the compressive strength as compared to the analysis of variance (ANCOVA) model. Although the R2 value of the ANCOVA model is better than the PCR model, the residuals of the ANCOVA model are more than the PCR model. This shows that PCR gives accurate and better prediction than ANCOVA. In all NN and PCR models can be confidently customized to the estimation of the compressive strength of cement mortar instead of vast and costly methods. The results of NN and PCR models also helpful for material selection and its mixed design process.