1. Introduction
Recently, developments in business intelligence have become extremely significant to be effective and competitive over the emerging corporate trends [1]. Consequently, businesses of each size (small and medium-scale enterprises) started to invest in the next level of business intelligence and data analysis outcome [2]. The efficient deployment of business intelligence techniques is extracted from the analysis and visualizes the effectiveness indication from a huge quantity of big data enterprises. It reduces the cost and increases the quickness of problemsolving [3]. However, business organizations must make suitable decisions due to many complexities. The text analytics technique extremely employs robust business intelligence with improved outcomes [4].
In recent times, research has demonstrated that the primary aim is to recognize useful churn customers through a large quantity of data obtained from the telecommunication sector [5]. Almost there are several constraints to utilizing existing systems that can face several complexities and hurdles for the issue of churning in nowadays.
Although development of modeling, various information-rich features could be ignored in Feature selection (FS) techniques. Primarily statistical techniques are employed for different fields that tend to provide unwanted outcomes of the existing predictive models [6]. The FS is an alternative large issue with the present models. Each user can be an individual or group and various churning causes. Churn customer classification is called a churner, regardless of noting causes and parameters for churn [7]. Numerous patterns of behavior in the churn technique must not be treated all similarly. A few customers are not churn simpler than others.
Nowadays, the requirement is for a more accurate prediction model that will predict the churn customers in an advanced manner. It is significant support for offering powerful retention approaches for the various collections of churners that will be diverse promotions that depend upon the churn aspects for the distinct churner’s group [8]. Inspired by the aforementioned information and observations in this research, a technique for CCP using various machine learning (ML) methods was developed. Predictive modelling is an alternative essential feature of an application. This can be combined with ML techniques or statistical techniques for customer churn prediction (CCP). With the help of produced churn prediction and analyzing the possibility of churn for the customer, the app supports banks in recognizing the higher-risk customers and obtaining active steps for avoiding churn [9]. Likewise, the app enables reports and communication by permitting the development of modified presentations and reports. This facet allows for simply sharing churn insights and marketing teams, recommendations with management, and other related events [10].
This study introduces an Optimal Long Short Term Memory Based Customer Churn Prediction for Business Intelligence (OLSTM-CCPBI) method. The proposed OLSTM-CCPBI method incorporates many innovative components, such as Min-Max scaling for normalization, LSTM networks for temporal sequence modelling, and Adam optimization for hyperparameter tuning. The OLSTM-CCPBI method effectively captures temporal dependency in sequential customer data by leveraging the dynamic nature of the LSTM network, which enables correct prediction of churn events. Through detailed investigations on real-time customer churn datasets, OLSTMCCPBI achieves better predictive capabilities than classical approaches, showcasing its promising solution to aid businesses in preemptively addressing customer attrition and considerably enhancing churn prediction accuracy.
2. Related Works
Akhmetshin et al. [11] presented Intelligent Data Analytics employing a Hybrid Gradient Optimization Algorithm with ML (IDA-HGOAML) technique. This method first undertakes data preprocessing through Z-score normalization. The proposed methods create the usage of an equilibrium optimization algorithm (EOA) for the FS. Moreover, the convolutional autoencoder (CAE) algorithm applied the CCP technique. In conclusion, the HGOA was utilized in the optimal hyperparameter selection of the CAE technique. In [12], a churn prediction model was proposed. An improved ensemble learning method (ELM) has been developed for classification. Different alternative ensemble methods, the developed classification method was an enhanced weighted soft voting ensemble with a series of weights implemented to forecast base learning. Powell’s optimization technique was implemented during the optimization to enhance the ensemble weights of effect based on the significance of base learners. In [13], an innovative two-level stacking-mode ELM was introduced that could be applied to the Whale Optimization Algorithm (WOA) technique for FS and hyperparameter optimization methods. The developed technique by integrating the K-member clustering and WOA for efficiently handling the class imbalance in churn databases.
Öztürk et al. [14] aimed to propose churn systems for the sellers in the e-commerce marketplace by employing ML techniques. For developing such methods, three techniques have been implemented to design the systems. Logistic Regression (LR) and Random Forest (RF) have been utilized to analyze the churn in every method. In the 1st technique, models have been devised without implementing preprocessing functions under the database. In the 2nd and 3rd techniques, oversampling and under-sampling techniques could be utilized correspondingly for balancing the data set. Fatima et al. [15] projected a new method by leveraging a combined customer analytics environment. The developed model comprises AutoML oversampling techniques. In addition, this research employs the power of oversampling techniques such as synthetic minority oversampling with encoded nominal and continuous features (SMOTE-ENC) and synthetic minority oversampling methods for nominal and continuous features (SMOTE-NC). Sun et al. [16] designed a customer segmentation system. This study initially performed the feature engineering, followed by executing the customer value segmentation dependent upon ML methods and customer correlation management analysis methods and diverse the customer values segmentation recognition system. In conclusion, experimentation analysis could be implemented with actual customer transaction information of the real online business environment.
3. The Proposed Model
In this work, we have established a novel OLSTM-CCPBI method. The proposed OLSTM-CCPBI method incorporates many innovative components, such as Min-Max scaling for normalization, LSTM networks for temporal sequence modelling, and Adam optimization for hyperparameter tuning. Fig. 1 represents the entire flow of the OLSTM-CCPBI method.
Where 𝑠 shows the standard deviation of the training samples, 𝑧 refers to scaled data, 𝑥 symbolizes the scaled data, and 𝑢 specifies the mean of training samples.
B. LSTM-based Classification Process A recurrent neural network (RNN) is one kind of NN that exactly intended to simplify the forecast of information with time-based relations [18]. In RNN, the output from an exact time step is approved as an input to the subsequent time step, which allows the method to execute forecasts dependent upon the mixture of the input and output of the existing and preceding time steps, respectively. LSTM is the most commonly used RNN. It integrates an interior memory unit which permits the method to efficiently collect the state through an input feature, creating them which is appropriate for time-sequence predicting where relationships of unidentified duration among the observations and significant actions may occur.
The LSTM structure was stimulated by examining the error movement in conventional RNNs, resulting in the end that long-time dependences might not be controlled by such kinds of methods. The reputation of LSTM originates precisely from their essential capability to overwhelm the important issues of general RNN structures such as exploding and vanishing gradients. RNNs commonly consume a restricted collection of data which can be procedure and included in their forecasts. The foremost cause is that the influence of the input on the system yield may destroy rapidly, producing the issue of vanishing gradient, or blast greatly, by initiating the problem of exploding gradient. To contract with the abovementioned problems, LSTMs contain cells that include an additive gradient framework, permitting a preferred performance from the error gradient at each stage of the training procedure
The conventional RNNs contain a single unit, whereas normal LSTM cells comprise 4 units. The most significant idea of the defined structure is the cell state portrayed by the straight line at the topmost. Each line can be measured as a vector to numerous point-wise processes are executed. The cell state captures the long‐term memory ability of systems keeping and uploading data that are not essentially directly preceding events. The LSTM cell also comprises the functioning memory ability which handovers data from directly preceding events, recognized as a hidden layer (HL). The HL of the LSTM is over-written at each step.
LSTM cells need 3 inputs and offer dual outputs. The inputs distributed in the vector method are the preceding HL ℎ𝑡−1, the preceding cell state 𝑐𝑡−1, and the existing input 𝑥𝑡. The fundamental functions of an LSTM cell are executed over its 3 gates namely forget, the input, and the output. Fig. 2 defines the infrastructure of LSTM.
The forget gate is the initial block signified in the LSTM structure. The main part is to define which portion of the data should be kept or rejected. Then, the inputs preceding HL ℎ𝑡−1 and the existing input 𝑥𝑡. These inputs are delivered over the sigmoid function 𝜎𝑔 outcomes in output values among 0 and 1. The forget gate 𝑓𝑡 activation vector is set below:
The input gate aids as an input in order to upgrade the cell state. It generally works in dual portions. Initially, the preceding HL and the existing input were distributed into the 2nd sigmoid function 𝜎𝑔. Next, similar inputs are delivered into the hyperbolic tangent function 𝜎𝑐 to adjust the system. Lastly, the cell state 𝑐𝑡 is the outcome of the element‐by-element invention of the cell input activation vector 𝑐̃𝑡 and the upgrade gate 𝑖𝑡. The activation functions of the input gate are set below:
Lastly, the output gate defines what the subsequent HL ℎ𝑡 delivered by the cell must be. The HL contains data on preceding inputs and is used for forecast. The preceding HL ℎ𝑡−1 and the existing input 𝑥𝑡 were distributed into the 3rd sigmoid function 𝜎𝑔. Next, the altered cell state is delivered to the hyperbolic tangent function 𝜎ℎ. These outputs are increased element-by-element by permitting the system in order to define which data HL must transport.
Whereas, the parameters 𝑏∈ℝℎ and 𝑊∈ℝℎ×𝑑, 𝑈∈ℝℎ×ℎ signify bias and weight matrices vector, correspondingly, which are acquired through the training procedure. It is noticeable that this explanation shows how one LSTM cell functions.
C. Hyperparameter Tuning using Adam optimization The predictable values of the random parameter for the power of 𝑛 are known as 𝑡ℎ𝑒 𝑁‐ 𝑡ℎ moment [19]. This will be denoted as given below:
Here, 𝑅 represents the random variable, and 𝑚 refers to the moment.
The technique can measure rates of adaptive learning for each feature described in Adaptive Moment Estimation (Adam). This computes exponential changing averages dependent upon the gradient of the existing minibatch for evaluating the moments. This conserves an exponential decaying average of previous squared gradients 𝑣𝑡 along with an exponential decay average of the previous gradient 𝑚𝑡. This describes the first moment, and the uncentered variance will be the next one.
Now, 𝑚𝑡 and 𝑣𝑡 refer to the gradient estimation of the initial moment and the next moment. The default values of 𝛽1 and 𝛽2 are 0.9 and 0.999, correspondingly.
Adam allowed DL experts to considerably increase the optimization of present methods over normal and stochastic gradient descent.
Here, 𝜑 defines the new method hyperparameters presented, G means the gradient under the existing minibatch, and 𝑚 and 𝑣 refer to moving averages. The properties forms and 𝑣 are required since they measure the 1st and 2nd moments:
The change for such biases will be acquired by calculating bias‐corrected evaluates for the primary and secondary moments as expressed:
These bias‐corrected evaluations are further employed for upgrading the parameters, Same as Adadelta and RMSprop, which leads to the Adam upgrade rule to upgrade weight:
where 𝑤 refers to the model step size and weights.
The Adam optimization derives an FF to achieve better classifier outcomes. It determines a positive integer to represent the high efficiency of the candidate solutions. Here, the decline of the classifier error rate is assumed as the FF.
4. Result Analysis
The performance analysis of the OLSTM-CCPBI technique takes place using the dataset from the Kaggle dataset [20]. It includes data samples with two classes. Table 1 and Fig. 3 inspect the overall churn prediction outcomes of the OLSTM-CCPBI technique. The results highlighted that the OLSTM-CCPBI technique properly identified the existence of churn and non-churn samples. With 70%TRAS, the OLSTM-CCPBI technique provides an average 𝑎𝑐𝑐𝑢𝑦 of 94.37%, 𝑝𝑟𝑒𝑐𝑛 of 94.69%, 𝑟𝑒𝑐𝑎𝑙 of 94.37%, 𝐹𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 94.28%, and 𝐴𝑈𝐶𝑠𝑐𝑜𝑟𝑒 of 94.37%. Also, based on 30%TESS, the OLSTM-CCPBI method offered an average 𝑎𝑐𝑐𝑢𝑦 of 93.75%, 𝑝𝑟𝑒𝑐𝑛 of 94.83%, 𝑟𝑒𝑐𝑎𝑙 of 93.75%, 𝐹𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 93.94%, and 𝐴𝑈𝐶𝑠𝑐𝑜𝑟𝑒 of 93.75%.
Examining the precision-recall (PR) curve, as demonstrated in Fig. 4, the results confirmed that the OLSTMCCPBI method gradually achieves boosted PR values in every class. It confirms the improved capabilities of the OLSTM-CCPBI technique for the identification of diverse classes, displaying the ability in the recognition classes.
Likewise, in Fig. 5, ROC curves acquired by the OLSTM-CCPBI technique outperformed in the classification of diverse labels. It offers a comprehensive understanding of the tradeoff among TPR and FRP over distinctive recognition threshold values and epoch counts. The figure emphasized the greater classifier outcomes of the OLSTM-CCPBI algorithm with every class, pointing out the efficiency of overcoming several classification complexities.
In Table 2 and Fig. 6, the results of the OLSTM-CCPBI technique have undergone comparison with recent approaches in terms of distinct measures [21, 22]. Based on 𝑎𝑐𝑐𝑢𝑦, the OLSTM-CCPBI technique has resulted in boosted 𝑎𝑐𝑐𝑢𝑦 of 94.37% while the LR, DT, KNN, RF, NB, SVM linear, and XGBoost models have obtained reduced 𝑎𝑐𝑐𝑢𝑦 of 82.22%, 81.74%, 81.18%, 79.62%, 78.78%, 80.78%, and 82.32%, correspondingly. Along with that, based on 𝑝𝑟𝑒𝑐𝑛, the OLSTM-CCPBI method offers an increased 𝑝𝑟𝑒𝑐𝑛 of 94.69% whereas the LR, DT,
KNN, RF, NB, SVM linear, and XGBoost techniques have acquired decreased 𝑝𝑟𝑒𝑐𝑛 of 81.93%, 81.79%, 81.45%, 80.48%, 78.75%, 81.57%, and 82.26%. Meanwhile, based on 𝑟𝑒𝑐𝑎𝑙, the OLSTM-CCPBI system is provided a higher 𝑟𝑒𝑐𝑎𝑙 of 94.37% although the LR, DT, KNN, RF, NB, SVM linear, and XGBoost techniques get reduced 𝑟𝑒𝑐𝑎𝑙 of 80.68%, 80.31%, 79.97%, 79.25%, 79.15%, 80.19%, and 81.85%, respectively. Moreover, with 𝐹𝑚𝑒𝑎𝑠𝑢𝑟𝑒, the OLSTM-CCPBI method provides improved 𝐹𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 94.28% however the LR, DT, KNN, RF, NB, SVM linear, and XGBoost algorithms have acquired minimized 𝐹𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 80.61%, 80.41%, 78.76%, 79.64%, 78.87%, 80.50%, and 80.49%, correspondingly.
Thus, the OLSTM-CCPBI technique can be applied for enhanced prediction of customer churns.
5. Conclusion
In this study, we have introduced a novel OLSTM-CCPBI method. The proposed OLSTM-CCPBI method incorporates many innovative components, such as Min-Max scaling for normalization, LSTM networks for temporal sequence modelling, and Adam optimization for hyperparameter tuning. The OLSTM-CCPBI method effectively captures temporal dependency in sequential customer data by leveraging the dynamic nature of the LSTM network, which enables correct prediction of churn events. Through detailed investigations on real-time customer churn datasets, OLSTM-CCPBI achieves better predictive capabilities than classical approaches, displaying its promising solution to aid businesses in preemptively addressing customer attrition and considerably enhancing churn prediction accuracy.
Funding: “This research received no external funding”
Conflicts of Interest: “The authors declare no conflict of interest.”