Nomenclature
- AI
-
artificial intelligence
- ANN
-
artificial neural network
- CART
-
classification and regression trees
- GBDT
-
gradient boosting decision tree
- IoT
-
Internet of Things
- LR
-
linear regression
- LSTM
-
long short-term memory
- LSTM-RNN
-
long short-term memory recurrent neural network
- MAE
-
mean absolute error
- MEMS
-
micro electro-mechanical systems
- MSE
-
mean square error
- NODE
-
neural ordinary differential equations
- PoF
-
phase of flight
- QAR
-
quick access recorder
- RF
-
random forest
- RMSE
-
root mean square error
- SVM
-
support vector machine
- SVR
-
support vector regression
- UAV
-
unmanned aerial vehicle
- XGBoost
-
Extreme Gradient Boosting
1.0 Introduction
Modern aviation has a wide range of uses, from transportation to defense industry [Reference Dhaliwal1–Reference Zongjian4]. In addition, with technological developments, demand and research in the field of aviation has also increased [Reference Min, Sagarna, Gupta, Ong and Goh5]. Increasing demand has led to significant developments in aircraft produced for various usage purposes, and aircraft of different sizes and types have been produced. The aircraft produced continue to be constantly improved in order to a chieve flights that are more effective by prioritising issues such as safety and performance [Reference Daniel and Wietfeld6]. In this context, it is important to evaluate many possibilities and make optimum designs in order for highly complex systems that involve the interaction of various interconnected parameters to perform safe and efficient missions in aircraft developed [Reference Martinez, Fernández, Hernández, Cristóbal, Schwaiger, Nunez and Ruiz7, Reference Mattingly, Heiser and Pratt8]. However, effectiveness and safety of aircraft have always been the focus of aircraft operators and designers. The takeoff and landing phases, which are the most critical phases of every flight, are the phases where 30% of accidents occur, but it is stated that these phases are only 2% of the average flight time [Reference Kuznetsov, Shevchenko and Solonnikov9, Reference Puranik, Rodriguez and Mavris10].
The changing speeds of aircraft during their landing, takeoff and endurance are affected by various parameters. Parameters affecting the speed of the aircraft include various factors such as weather conditions, aerodynamic factors, aircraft weight, fuel amount and engine performance. There are many studies in the literature to accurately analyse and evaluate these parameters that affect the speed of the aircraft. One of the methods used in these studies is artificial intelligence applications. Artificial intelligence applications are preferred in many areas such as predicting possible dangers during flight, determining optimal speeds and making real-time recommendations to pilots.
Diallo presented an approach using artificial neural networks (ANNs) to estimate landing speed. They stated that the model they developed accurately predicted the landing speed for windless and high wind conditions [Reference Diallo11].
Hu et al. proposed a model using the support vector machine (SVM) method to predict hard landing events during the landing phase of the aircraft. In their analysis, they emphasised that the SVM model they proposed was successful in predicting hard landing events [Reference Hu, Zhou, Xie and Chang12].
Tong et al. proposed a long short-term memory (LSTM)-based architecture that they developed using artificial intelligence (AI) and Internet of Things (IoT)-based sensor data in order to estimate aircraft landing speed. They stated that the results obtained showed better performance compared to traditional methods [Reference Tong, Yin, Wang and Zheng13].
Zhang and Zhu stated that they successfully captured the long-term dependencies of quick access recorder (QAR) data by using the LSTM model to predict hard landings, and that the model demonstrated superior ability compared to other traditional hard landing prediction methods [Reference Zhang and Zhu14].
Borup et al. preferred ANNs and linear regression (LR) algorithm to estimate angle-of-attack, sideslip angle and airspeed using low-cost micro electro-mechanical systems (MEMS) based pressure sensors integrated on unmanned aerial vehicle (UAV). In their simulations, they stated that they generally obtained lower error values with the ANN algorithm compared to LR [Reference Borup, Fossen and Johansen15].
Kovarik et al. performed simulations with long short-term memory recurrent neural network (LSTM-RNN), SVM and neural ordinary differential equations (NODE) using many flight data to improve phase of flight (PoF) estimation. In their results, they emphasised that LSTM-RNN models are more suitable for PoF prediction [Reference Kovarik, Doherty, Korah, Mulligan, Rasool, Mehta, Bhavsar and Paglione16].
In the work presenting by Puranik et al., they proposed a model based on the random forest (RF) algorithm to estimate the landing true airspeed and ground speed. They emphasised that their proposed model performed better than existing techniques in the literature in estimating the true air speed and ground speed during landing [Reference Puranik, Rodriguez and Mavris10].
Using flight data records in their study, Jarry et al. examined target parameters such as fuel flow rate, flap and landing gear setting with a model based on LSTM [Reference Jarry, Delahaye and Feron17].
Kang et al. proposed a model based on LSTM architecture using QAR data to predict aircraft landing speed. Because of their simulations, they emphasised that the prediction accuracy of their proposed method is significantly higher than traditional methods [Reference Kang, Shang, Feng, Zheng, Liu, Qiang and Wei18].
In their study, Ozkat et al. used vibration data collected from a multi-rotor UAV to estimate the remaining useful life of the UAV with the LSTM method [Reference Ozkat, Bektas, Nielsen and la Cour-Harbo19].
Ozkat proposed a wavelet scattering LSTM autoencoder network to detect propeller failures at an early stage by analysing vibration signals. He made predictions with the proposed method using the vibration data generated by making an intentional change in one of the propeller blades of a multi-rotor UAV and emphasised that he obtained satisfactory results [Reference Ozkat20].
Karaburun et al. estimated the battery state of charge (SOC) using SVR, RF and LSTM methods in order to estimate the UAV’s flight time. They stated that the estimated values they obtained were consistent with the true values and emphasised that the methods they proposed could be used effectively in battery SOC estimation [Reference Karaburun, Hatipoğlu and Konar21].
When the studies in the literature are examined, there are no models in which different machine learning algorithms are used and compared in takeoff speed prediction. In this study, takeoff speed prediction was performed using different machine learning algorithms. Many parameters affect aircraft takeoff speed, but in this study, depending on the data set shared by Boeing, pressure altitude, temperature, weight, flap angle data were selected as independent variables, and takeoff speed was selected as dependent variable [22]. The selected dependent-independent variables were trained with machine learning algorithms such as LR, (SVR), classification and regression trees (CART), RF and Extreme Gradient Boosting (XGBoost), and, the results obtained were presented comparatively for the first time in the literature. The presented results emphasise that machine learning algorithms can be used as an alternative and innovative method for takeoff speed prediction.
2.0 Machine learning
Machine learning, a sub-branch of artificial intelligence, is the technology of developing computer algorithms that can imitate human intelligence and perform self-learning. It is the modeling of systems, which make predictions by making inferences on data through mathematical and statistical processes, by computers [Reference Mitchell23]. Machine learning algorithms are divided into three categories: supervised, unsupervised and reinforcement learning.
-
i. Supervised learning examines how the relationships between the dependent and the independent variables are learned based on the label information of the data set. Training data consists of both inputs and outputs. If the outputs are categorical, classification algorithms are used, if they are numerical, regression algorithms are used [Reference Kotsiantis, Zaharakis and Pintelas24].
-
ii. Unsupervised learning aims to understand and discover the relationships between unlabeled data. In this type of learning, there is no dependent variable and there is data without a cause and effect relationship. Clustering operations are performed according to the similarities of the observations to each other [Reference Celebi and Aydin25].
-
iii. Reinforcement learning is based on an agent using the trial-and-error method to interact with the environment in a certain situation and complete the given task in the most successful way. Its main purpose is to develop the optimal strategy to obtain the most reward in order to achieve the best result [Reference Sutton26].
The machine learning process, whose flow diagram is given in Fig. 1, is done by performing certain steps. First, data is collected, subjected to preprocessing steps, and received as input. In the preprocessing stage, data cleaning, checking of missing data and taking appropriate actions according to the problem situation are carried out [Reference Alzubi, Nayyar and Kumar27]. Next, model selection and feature engineered steps are applied. It is very important that the model selection is determined with appropriate features depending on the type of problem. Feature engineered is a critical preliminary step for machine learning algorithms. Feature extraction is the process of identifying and removing unnecessary features in order to reduce the problem size and make the algorithms work faster and more effectively. After feature engineered is implemented, the selected model is properly installed. Necessary parameter adjustments of the established model are made to obtain better results. As a result of model training, certain performance evaluation metrics are used to evaluate the performance of the model and model development steps are applied when necessary [Reference Grossberg28–Reference Kuhn, Johnson, Kuhn and Johnson30]. Finally, the predictive values of the model are obtained and the results are analysed. This process can be repeated and continuously improved in machine learning projects [Reference Farhat, Mourali, Jemni and Ezzedine31].
Flow diagram of the machine learning process.

The types of machine learning algorithm preferred in this study are briefly explained below.
2.1 Linear regression
Linear regression (LR) is a supervised learning algorithm that determines how the dependent variable constantly changes according to a set of independent variables and the relationship between them [Reference Liang and Song32]. The widely used linear regression is generally preferred in small data sets thanks to its simple structure. The parameters of the model can be easily interpreted. This makes it easier for analysts to understand the relationships between variables and explain the outputs of the model [Reference Su, Yan and Tsai33]. The mathematical model of simple LR is given in Equation (1) [Reference Fitzmaurice34].
Here, n is the number of individuals (i = 1, …,n), y
i
is the dependent variable, x
i
is the independent variable, e
i
is a random error term representing uncertainties, and
$\beta_{\textit{0}}$
and
$\beta_{\textit{1}}$
are the regression coefficients [Reference Fitzmaurice34].
2.2 Support vector regression
Support vector machines (SVM) consist of two basic categories as classification and solving regression problems. The basic working principle is to perform classification or regression operations on data points by creating a hyperplane [Reference Aghelpour, Mohammadi and Biazar35, Reference Cortes and Vapnik36].
SVM used in regression problems are called as support vector regression (SVR). SVR is a supervised learning model that aims to achieve good performance on both linear and nonlinear data sets. SVR tries to learn an optimal hyperplane with the most points within a margin using support vectors representing the closest data points on the hyperplane. This margin provides an organisation that is increasing the generalisation ability of the model [Reference Awad, Khanna, Awad and Khanna37].
The relationship between input and output in SVR is formulated with a linear function as given in Equation (2) [Reference Deka38].
Here, f(x) is the predicted value, w is the weight vector, and φ(x) is the kernel function. Various kernel functions such as linear, polynomial, radial basis function and sigmoid, which form the basis of SVR, can be selected depending on the problem and data set and are used to move the data to a high-dimensional feature space [Reference Cortez and Morais39]. b is the bias value and provides the effect that determines how the classes will be separated.
2.3 Classification and regression trees
The classification and regression trees (CART) algorithm is a machine learning algorithm used in many applications such as data mining, classification, regression and feature selection. CART, which has the main purpose of transforming complex structures into simple decision structures, is an algorithm built on a single tree where a set of decision rules are applied [Reference Hastie, Tibshirani, Friedman and Friedman40]. CART starts with the root node at the top and each node represents a feature. The root node represents the most important variable. The features are divided into sub-branches [Reference Harrington41]. When a structured variable is determined, CART creates a classification tree. When a continuous variable is determined, CART creates a regression tree. The tree structure makes decisions by evaluating the features in the data set and classifies the data or makes regression predictions for data set with these decisions [Reference Breiman42]. The clarity and interpretability of the tree structure is one of the advantages that is effective in choosing the algorithm. However, being based on a single tree can lead to limitations due to instability. For this reason, ensemble methods such as random forest, where many trees are evaluated simultaneously, have been developed [Reference Bharti, Mishra, Moorthy, Sathishkumar, Cho and Samui43].
2.4 Random forest regression
Random forest (RF) is an ensemble learning method that works by combining many decision trees for classification and regression operations. It aims to create a general and effective model by combining different learning algorithms. RF regression combines the predictions of decision trees and uses the voting method for classification problems and the mean value for regression problems [Reference Breiman44, Reference Breiman45]. The basic working principle of the RF algorithm is given in Equation (3).
Here, ŷ is the general estimate, n is the total number of trees, h i is the estimated value of the decision tree, and x is the mean of the independent variables [Reference Cutler, Cutler and Stevens46].
In RF regression, decision trees are combined into a hierarchical structure. This arrangement, which prevents the over-learning problem of a single tree structure, ensures that each tree has a hierarchical structure. Each tree represents the applied constraints, starting from a root node. The diversity between the trees reduces the tendency of the model to over-learning, allowing it to make more general and reliable predictions [Reference Breiman42, Reference Cox47, Reference Quinlan48].
The advantages of RF include working effectively on complex data sets, being resistant to over-learning and outliers. It is used to obtain successful results especially on large and complex data sets [Reference Kotsiantis, Zaharakis and Pintelas24]. These features make RF stand out as a machine learning method with wide application areas.
2.5 Extreme Gradient Boosting
Extreme Gradient Boosting (XGBoost) is a decision tree-based ensemble machine learning algorithm. Gradient boosting decision tree (GBDT) algorithm is a XGBoost version developed to increase speed and prediction performance. It performs well in both classification and regression problems. The XGBoost algorithm uses a mathematical function expressed as the sum of the predictions (ŷ i) of the total k trees in an ensemble, as given in Equation (4). In this function, the prediction of each tree for observation number i is represented by f k (x i ) [Reference Chen and Guestrin49].
The main purpose of the algorithm is to improve the tree created from continuously splitting trees according to the residual error between the prediction results of the previous one and the true value. The new prediction value is obtained by adding it to the previous prediction value [Reference Chen and Guestrin49, Reference Li, An, Li, Wang, Yu, Zhou and Geng50]. As a result, the trees are connected to each other and a tree tries to correct the residual errors of the predictions of the previous trees.
3.0 Problem definition
In this section, the steps followed for takeoff speed prediction using machine learning algorithms and the proposed models are discussed.
First, the data set was determined. For this purpose, the aircraft takeoff data shared by Boeing was used. This data set consists of the pressure altitude in feet (ft) during aircraft takeoff, the outer environmental temperature in Fahrenheit (F), the aircraft’s weight in pounds (lb), the angle of the flaps on its wings in degrees (°) and the aircraft’s speed in knots (kn). The lower and upper limits given in the data set for these variables are 0-9000 ft for pressure altitude, (-40)-(160) F for temperature, 75–140lb for weight, 1°–15° for flap angle, and 98–162kn for takeoff speed, respectively [22].
In the model proposed in this study, the pressure altitude, the outer environmental temperature, aircraft’s weight and flap angle were selected as independent variables, and the takeoff speed was selected as the dependent variable. Analytical methods are not very suitable for takeoff speed prediction using this complex relationship consisting of independent-dependent variables. For this reason, artificial intelligence techniques are used to solve problems with complex relationships that do not have a direct relationship between them. In this study, machine learning, one of the artificial intelligence techniques, was preferred in the takeoff speed prediction with complex relationships. The block diagram of the proposed method is presented in Fig. 2.
Block diagram of the proposed models for takeoff speed prediction.

After determining the data, LR, SVR, CART, RF and XGBoost algorithms were selected from machine learning algorithms for training and test the data. Seventy per cent of the data set was used for training and 30% for testing, and the models were created accordingly. These algorithms were modeled using Anaconda Python software.
The root mean square error (RMSE) expressed by Equation (5), the mean square error (MSE) expressed by Equation (6) and the mean absolute error (MAE) expressed by Equation (7) were used as performance criteria to evaluate the simulation performance. The smaller the error value, the higher the model accuracy is considered. Therefore, these metrics were prefered to objectively evaluate the performance of the proposed models [Reference Chicco, Warrens and Jurman51].
\begin{align}RMSE = \sqrt {{1 \over n}\mathop \sum \limits_{i = 1}^n {{\left( {{y_i} - {{\hat y}_i}} \right)}^2}} \end{align}
4.0 Simulation results
In this section, the results of the study are presented in detail.
The first step of the study is to determine the data. For this purpose, the aircraft takeoff data shared by Boeing was used. The parameters of pressure altitude, the outer environment temperature, aircraft’s weight, the angle of the flaps were selected as independent variables and takeoff speed was selected as dependent variable. Then, the data pre-processing step was performed. In this step, missing values, outliers and variable types were checked and necessary corrections were made. The StandardScaler operation in the Scikit-Learn library was applied to scale the data. Thus, each variable was standardised. The standardised data was separated as 70% train data and 30% test data with the holdout method. Models were generated using LR, SVR, CART, RF and XGBoost algorithms from machine learning algorithms. The generated models were trained with the training data and evaluated with the test data. For takeoff speed estimation, the values of the performance criteria of the simulation results made with base models are presented in Table 1.
The RMSE, MSE and MAE values of the proposed base models

When Table 1 is examined, the largest error metric value is obtained in the SVR model, while the smallest error metric value is obtained in the XGBoost model. Considering the error values of the proposed base models to improve the performance of the selected models, feature engineered steps were applied and new variables were added. The new variables derived in this study represent important factors that evaluate the performance of the aircraft. Speed_weight_ratio measures agility of the aircraft by showing the ratio of speed to weight. Altitude_flaps_ratio evaluates the relationship between pressure altitudes and flaps. Performance_score measures overall performance by considering the interaction between speed, weight and flaps. Altitude_pressure reflects the interaction between pressure altitude and temperature. Flap_weight_ratio affects manoeuverability by determining the ratio of flaps to weight. These characteristics help understand the aircraft’s efficiency. The correlation map of the numerical data created with these new variables is presented in Fig. 3.
The correlation map of the numerical data created with these new variables.

When the correlation map of the numerical data in Fig. 3 is examined, since the flap angle is a categorical variable, it is not directly specified in the correlation map. However, new variables were generated using the flap angle data. Remodelings and predictions were made using the updated data set with the addition of new variables. For this purpose, scaling was first applied to the updated data. Then, the scaled data was separated into training and test data at the same rates in the base model using the holdout method. Models were generated again using LR, SVR, CART, RF and XGBoost algorithms. The new models generated were trained with training data and evaluated with test data. For takeoff speed prediction, the RMSE, MSE and MAE values of the simulation results made with the new models obtained by applying feature engineered are presented in Table 2.
The RMSE, MSE and MAE values of the proposed new models with feature engineered

When Table 2 is examined, in the takeoff speed prediction made with the new feature engineered models, the largest error metric value is obtained in the SVR model, while the smallest error metric value is obtained in the XGBoost model. Although there is a minimal increase in the error values in the feature engineered model compared to the base model for XGBoost, when Table 2 is compared to Table 1, it is generally seen that there is an improvement in the error values of the proposed models. In other words, it is seen that the models generated with the feature engineered data perform better than the base models. The comparison of the actual takeoff speed values and the takeoff speed values estimated with models established with the feature engineered data is given from Figs. 4 to 8, respectively, for the LR, SVR, CART, RF and XGBoost algorithms.
Comparison of actual takeoff speed values with predicted takeoff speed values for LR.

Comparison of actual takeoff speed values with predicted takeoff speed values for SVR.

Comparison of actual takeoff speed values with predicted takeoff speed values for CART.

Comparison of actual takeoff speed values with predicted takeoff speed values for RF.

Comparison of actual takeoff speed values with predicted takeoff speed values for XGBoost.

The comparison of the true takeoff speed values with the predicted takeoff speed values is presented in the first column (A) of Fig. 9. The graphs of true versus predicted values make it easier to visually evaluate the model accuracy and variability with the regression line and 95% confidence interval. The graphs of the residuals versus predicted values in the second column (B) of Fig. 9 analyse the distribution of errors in the model predictions. In these graphs, the red line representing zero error provides a reference for evaulating the accuracy of the predictions.
First column A: Comparison of actual takeoff speed values with predicted takeoff speed values, second column B: Comparison of the residuals versus predicted values, for LR, CART, RF, SVR and XGBoost algorithms.

When the figures comparing the actual takeoff speed values with the estimated takeoff speed values are examined, satisfactory results are observed. However, another method that can be done to increase the model performance is hyperparameter optimisation. In this study, when Table 2 is taken as reference, it is seen that the XGBoost algorithm has a smaller error value compared to the other models. Therefore, hyperparameter optimisation was applied to the XGBoost algorithm to increase the model performance. For this purpose, learning_rate, max_depth, n_estimators, colsample_bytree hyperparameters were selected for optimisation. learning_rate limits the contribution of each tree and its default value is 0.3. max_depth controls the maximum depth of the trees and its default value is 6. n_estimators affects the complexity of the model and its default value is 100. colsample_bytree determines the percentage of random selection of features for each tree and its default value is 1. The value ranges selected for hyperparameter optimisation in this study are given in Table 3.
Using GridSearchCV, hyperparameter optimisation on the XGBoost model was performed with using the value ranges in Table 3. he optimisation result was obtained as learning_rate=0.05, max_depth=6, n_estimators=1000, colsample_bytree=1. As a result of the simulation performed with the new XGBoost model established with the obtained optimum hyperparameter values, the RMSE value was found as 0.564, the MSE value as 0.319 and the MAE value as 0.143. The comparison of the actual takeoff speed values and the takeoff speed values estimated with the new XGBoost model is given in Fig. 10.
When Fig. 10 is examined, it is seen that the XGBoost algorithm shows better performance in takeoff speed prediction than previous models with the determined hyperparameters.
5.0 Conclusions
The development of technology has led to significant developments in the aviation industry, as in many other areas. For different missions, aircraft with different features and sizes are designed. In these designs, the performance and safety of the aircraft are the main issues. Although there are many factors that affect aircraft safety, one of these factors is the takeoff and landing phases of the aircraft. The speed changes of the aircraft during takeoff and landing are important for the safety of the aircraft and are an issue that must be controlled.
The value ranges selected for hyperparameter optimisation

Comparison of actual takeoff speed values with predicted takeoff speed values for XGBoost with hyperparameter optimisation.

In this study, takeoff speed prediction using flight takeoff data belonging to Boeing company is presented for the first time in the literature by using different machine learning algorithms and comparing them with each other. It is important to consider the parameters that are not directly related to each other simultaneously and with equal importance in takeoff speed prediction. In this study, LR, SVR, CART, RF and XGBoost algorithms were selected from machine learning algorithms for takeoff speed prediction using variables that are not directly related to each other. Takeoff speed prediction was made with these machine learning algorithms and presented comparatively. Then, feature engineered method was applied to reduce the error values of the algorithms and takeoff speed was obtained with lower error values with the developed new models. When the simulation results were compared, the compatibility of the estimated values obtained with the developed models with the real takeoff speed values was satisfactory. The proposing of base models for takeoff speed estimation, then the reduction of error values by applying feature engineered to these models and the comparison of the results are presented for the first time in the literature. Simulation results using models developed using variables that have no direct relationship with each other for takeoff speed prediction emphasise that machine learning algorithms can be used as an effective and alternative method to assist pilots in takeoff speed estimation.
In next studies, new models can be developed using different data sets and different artificial intelligence techniques. With appropriate integration systems, the proposed models can be integrated into aircraft for use in real-time flight.












