원시데이터 수집 시스템
선정목록으로

Machine learning-driven stability analysis of eco-friendly superhydrophobic graphene-based coatings on copper substrate

간접 관련 필름·전자재료 · (18) VENT(방수통기 부품) (11) 배리어 필름(15) 디스플레이 패널재료

기본 정보

저자
  1. Himanshu Prasad Mamgain — Department of Physics, Applied Science, School of Advanced Engineering, UPES, Dehradun, 248007, Uttarakhand, India. himanshuhm1111@gmail.com|||Department of Physics, Applied Science, School of Advanced Engineering, UPES, Dehradun, 248007, Uttarakhand, India
  2. Maria Vittoria Diamanti — Department of Chemistry, Materials and Chemical Engineering "Giulio Natta", Politecnico di Milano, Milan, Italy
  3. Pravat Ranjan Pati — Department of Mechanical Engineering, Graphic Era (Deemed to be University), Dehradun, 248002, Uttarakhand, India
  4. M. E. Mohamed — Chemistry Department, Faculty of Science, Alexandria University, Alexandria, Egypt
  5. Jitendra Kumar Pandey — Himalayan Institute for Learning and Leadership (HILL), UPES Dehradun, Dehradun, 248002, Uttarakhand, India. Jeetusnu@gmail.com|||Himalayan Institute for Learning and Leadership (HILL), UPES Dehradun, Dehradun, 248002, Uttarakhand, India
  6. Nitin Bhardwaj — Lovely Professional University, Phagwāra, India
  7. Ankit Vasudeva — Centre for Research Impact & Outcome, Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura, 140401, Punjab, India
  8. Mohammad Kanan — Department of Industrial Engineering, College of Engineering, University of Business and Technology, Jeddah, 21448, Saudi Arabia. m.kanan@ubt.edu.sa|||Department of Mechanical Engineering, College of Engineering, Zarqa University, Zarqa, Jordan. m.kanan@ubt.edu.sa|||Department of Industrial Engineering, College of Engineering, University of Business and Technology, Jeddah, 21448, Saudi Arabia|||Department of Mechanical Engineering, College of Engineering, Zarqa University, Zarqa, Jordan
DOI
10.1038/s41598-025-18155-y
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
8
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-18155-y
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4414794249

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.80
근거 용어
superhydrophobic, graphene-based coatings, machine learning, stability analysis, corrosion resistance
판단 근거
본 논문은 그래핀 기반 초발수 코팅의 내구성과 부식 저항성을 머신러닝으로 예측하는 연구입니다. 이는 코오롱인더스트리의 방수통기 부품(18)용 멤브레인이나 디스플레이 보호용 필름(11, 15)의 표면 처리 및 기능성 코팅 기술 개발에 응용 가능한 분석 방법론을 제시합니다.
R&D 활용 포인트
머신러닝 모델을 활용하여 기능성 코팅(방수, 방오, 내식성)의 장기 내구성을 실험 전 예측함으로써, 신규 필름 및 멤브레인 소재의 R&D 개발 기간을 단축하고 최적의 코팅 조성 설계를 가속화할 수 있습니다.
평가 입력
본문 84,143자 중 30,032자 발췌

초록

This study inspects the integration of machine learning (ML) techniques with materials science to develop durable, eco-friendly superhydrophobic (SHP) graphene-based coatings for copper. We employed various ML and regression models, including XGBoost, polynomial regression models, Random Forest (RF), K-Nearest Neighbours (KNN), and Support Vector Regression (SVR), to predict the stability of the contact angle (CA) under different stress conditions, such as NaCl immersion, abrasion cycles, tape peeling tests, sand impact, and open-air exposure. Our findings demonstrate that ensemble learning models, particularly XGBoost and Random Forest, outperform traditional regression techniques by effectively capturing nonlinear dependencies between stress parameters and CA retention. Higher-order polynomial regression models also exhibit strong predictive accuracy, making them well-suited for conditions where CA follows a well-defined trend. In contrast, SVR and KNN show limited generalization due to their sensitivity to hyperparameter selection and local interpolation effects, leading to weaker performance in datasets with high variability. ML-based algorithms predict CA values for tested coatings at longer term with respect to experimental tests, and underlined the beneficial effect of graphene incorporation in the coatings to extend the service life and preserve superhydrophobicity, overall reflecting the material's resilience under mechanical stress. The study highlights the importance of advanced predictive models, such as higher-degree polynomial regression and XGBoost, in capturing the complex relationships between variables influencing coating stability. Additionally, the integration of these models significantly accelerates the design and analysis process by reducing the reliance on time-consuming experimental testing.

본문 84,143자

본문 펼치기
## OPEN # Machine learning-driven stability analysis of eco-friendly superhydrophobic graphene-based coatings on copper substrate Himanshu Prasad Mamgain <sup>1</sup> <sup></sup> , Maria Vittoria Diamanti <sup>2</sup> , Pravat Ranjan Pati <sup>3</sup> , M. E. Mohamed <sup>4</sup> , Jitendra Kumar Pandey <sup>5</sup> <sup></sup> , Nitin Bhardwaj <sup>6</sup> , Ankit Vasudeva <sup>7</sup> & Mohammad Kanan <sup>8,9</sup> <sup></sup> This study inspects the integration of machine learning (ML) techniques with materials science to develop durable, eco-friendly superhydrophobic (SHP) graphene-based coatings for copper. We employed various ML and regression models, including XGBoost, polynomial regression models, Random Forest (RF), K-Nearest Neighbours (KNN), and Support Vector Regression (SVR), to predict the stability of the contact angle (CA) under different stress conditions, such as NaCl immersion, abrasion cycles, tape peeling tests, sand impact, and open-air exposure. Our findings demonstrate that ensemble learning models, particularly XGBoost and Random Forest, outperform traditional regression techniques by effectively capturing nonlinear dependencies between stress parameters and CA retention. Higher-order polynomial regression models also exhibit strong predictive accuracy, making them well-suited for conditions where CA follows a well-defined trend. In contrast, SVR and KNN show limited generalization due to their sensitivity to hyperparameter selection and local interpolation effects, leading to weaker performance in datasets with high variability. ML-based algorithms predict CA values for tested coatings at longer term with respect to experimental tests, and underlined the beneficial effect of graphene incorporation in the coatings to extend the service life and preserve superhydrophobicity, overall reflecting the material’s resilience under mechanical stress. The study highlights the importance of advanced predictive models, such as higher-degree polynomial regression and XGBoost, in capturing the complex relationships between variables influencing coating stability. Additionally, the integration of these models significantly accelerates the design and analysis process by reducing the reliance on time-consuming experimental testing. Keywords Superhydrophobic, ML, Stability, Corrosion resistant, Wettability Superhydrophobic (SHP) surfaces, characterized by a sliding angle (SA) less than 10° and a contact angle (CA) greater than 150° <sup>1</sup>, have gained significant attention as their remarkable properties and broad applications, including drag reduction <sup>2,3</sup>, self-cleaning <sup>4–7</sup>, corrosion resistance <sup>8</sup>, and water/oil separation <sup>9–11</sup> . Inspired by natural phenomena such as lotus leaves, SHP surfaces are designed by achieving a rough surface texture combined with surface chemistry modification using low-energy coatings. Various fabrication techniques like chemical vapor deposition <sup>12</sup>, sol–gel <sup>13</sup>, chemical etching <sup>14</sup>, and electrodeposition <sup>15</sup> have been developed to create SHP surfaces. However, most methods face limitations due to their complexity, high cost, and specialized equipment requirements. Electrodeposition has emerged as a simple and scalable technique for producing 1Department of Physics, Applied Science, School of Advanced Engineering, UPES, Dehradun 248007, Uttarakhand, India. <sup>2</sup> Department of Chemistry, Materials and Chemical Engineering “Giulio Natta”, Politecnico di Milano, Milan, Italy. <sup>3</sup> Department of Mechanical Engineering, Graphic Era (Deemed to be University), Dehradun 248002, Uttarakhand, India. <sup>4</sup> Chemistry Department, Faculty of Science, Alexandria University, Alexandria, Egypt. 5Himalayan Institute for Learning and Leadership (HILL), UPES Dehradun, Dehradun 248002, Uttarakhand, India. 6Lovely Professional University, Phagwāra, India. 7Centre for Research Impact & Outcome, Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura 140401, Punjab, India. <sup>8</sup> Department of Industrial Engineering, College of Engineering, University of Business and Technology, Jeddah 21448, Saudi Arabia. <sup>9</sup> Department of Mechanical Engineering, College of Engineering, Zarqa University, Zarqa, Jordan. <sup></sup> email: himanshuhm1111@gmail.com; Jeetusnu@gmail.com; m.kanan@ubt.edu.sa SHP coatings on conducting polymers, metal oxides, and metals. This method allows for precise control and cost-effective fabrication of robust coatings, and is particularly relevant for copper substrates, which are widely utilized in numerous applications – e.g., heat conductors, electrical power lin es, and water pipelines. As copper is particularly prone to corrosion in solutions containing chlorides, enhancing the corrosion resistance of copper substrates through SHP coatings is critical for extending their lifespan. Nickel, known for its hardness and corrosion resistance, has been effectively used as a coating material on copper, offering additional benefits when integrated with SHP properties <sup>16,17</sup> . Despite these advantages, SHP surfaces often suffer from susceptibility to external damage, low mechanical stability caused by wear and abrasion, which deteriorate the surface micro/ nanostructures, and consequent fast loss of superhydrophobicity, particularly in corrosive environments. Indeed, exposure to corrosive agents such as chloride ions, as well as acidic or alkaline environments, accelerates the degradation of the coatings, reducing their effectiveness in enhancing corrosion resistance. Furthermore, thermal and environmental factors, such as UV exposure and temperature fluctuations, also pose challenges to the long-term stability and durability of SHP surfaces <sup>6</sup> .Addressing these challenges requires the development of mechanically and chemically stable SHP coatings <sup>18</sup> . In this frame, large attention has been dedicated to the incorporation of graphene in anti-corrosion coatings due to its strength, hydrophobicity, and chemical inertness. However, challenges such as poor substrate adhesion and ineffective hydrophobicity necessitate graphene modification, often achieved through doping with metals or non-metals. In our previous study, Ni films and Ni-graphene composite coatings were fabricated on copper substrates using the electrodeposition technique, followed by treatment with myristic acid, a sustainable low-energy compound, to create SHP coatings <sup>19,20</sup> . Wettability, long term durability, corrosion resistance, mechanical stability, and chemical stability were evaluated for the fabricated coatings <sup>18</sup> . To address stability challenges, machine learning (ML) techniques are employed in this investigation. ML models, including classification, regression, and clustering algorithms, are utilized to predict key coating properties such as long-term durability, corrosion resistance, wettability, chemical and mechanical stability. These models analyse experimental data to uncover critical patterns and dependencies between material properties, environmental conditions, and performance metrics. The SHP coatings stability is influenced by multiple factors, including the physicochemical properties of the surface, environmental exposure conditions, and mechanical stresses experienced during operation. Traditional experimental methods utilized to estimate these factors are often labour-intensive, timeconsuming, and costly. To address these challenges, ML can become an influential method for forecasting and assessing the stability of SHP coatings. By utilizing data-driven models, ML can reveal complex relationships between coating formulations, processing parameters, and their performance characteristics <sup>21–23</sup> . Despite the growing interest in SHP coatings, only a few studies were performed on ML to predict the long-term stability and anticorrosion behavior of these coatings. Past research has primarily focused on developing SHP coatings with myristic acid (MA) on various substrates, such as aluminum, copper and Steel <sup>1,24,25</sup> . However, there has been a lack of comprehensive studies analysing the effects of process parameters on coating responses. In some cases, researchers have utilized ML techniques such as random forests (RF) <sup>26</sup>, artificial neural networks (ANN) <sup>27</sup>, support vector machines (SVM) <sup>28</sup>, extra trees (ET) <sup>29</sup>, particle swarm optimization (PSO) <sup>30</sup>, and genetic algorithms (GA) <sup>31</sup> to predict the outcomes of process parameters. Barai et al. used ANN models to predict the anticorrosion efficiency of SHP coatings and validated their predictions against experimental data, achieving highly accurate results <sup>32</sup> . Such studies highlight the potential of ML to optimize process parameters, reduce experimental workload, and enhance the understanding of SHP coating performance, particularly in terms of durability and anticorrosion capabilities. To show the potential of ML, water contact angle data from a previous study [33] were used to validate the ML algorithms developed in this article. This study builds upon previously published experimental data but introduces a new and significant contribution through the application of machine learning (ML) techniques to analyze and predict the stability of superhydrophobic graphene-based coatings. The novelty lies in the use of multiple ML and regression models such as XGBoost, KNN, Random Forest, SVR, and polynomial regression to assess contact angle (CA) degradation under various environmental and mechanical stress conditions. Unlike prior work, this approach provides a comparative evaluation of model performance tailored to specific degradation mechanisms and reveals valuable insights into the nonlinear and long-term behavior of the coatings. The predictive modeling confirms that graphene incorporation (Ni-G-MA) enhances long-term superhydrophobicity, particularly under mechanical stress, thus offering a new perspective not addressed in earlier studies. This study advances the current state of research by not only applying a wide range of machine learning (ML) models to predict the degradation of superhydrophobic coatings, but also by offering a comparative, conditionspecific evaluation of these models under various real-world stress scenarios for hydrophobicity predication these ML model is never used before this is the first time ML is using for durability predication in such as sand impact, tape peeling, abrasion, and long-term exposure. While previous studies have applied ML in this domain, they often focus on a single model or lack detailed differentiation across degradation mechanisms. Experimental details Substrate production and characterization The working electrode used in the previous work from where data were extracted [33] is a copper plate of dimensions 20 mm × 10 mm × 3 mm. The chemicals used for substrate preparation and coating by electrodeposition include anhydrous ethanol, boric acid, sulfuric acid, nickel chloride hexahydrate, sodium hydroxide, nickel sulfate, and myristic acid. We here briefly report the preparation procedures used. Prior to electrodeposition, copper substrates were sequentially polished using silicon carbide (SiC) abrasive papers ranging from grade 150 to 800, followed by ultrasonic cleaning in a soap solution for 10 min and brief immersion in 0.5 M H₂SO₄ for 1 min. The substrates were then rinsed with distilled water. The electrodeposition bath consisted of NiSO₄ (176 g/L), NiCl₂·6 H₂O (40 g/L), and H₃BO₃ (60 g/L). Electrodeposition of nickel (Ni) films was carried out at an applied potential of 8.75 V using a platinum rod as the anode and the copper substrate as the cathode. For the fabrication of nickel-graphene (Ni-G) films, a graphite rod was used as the anode, and electrochemical exfoliation of graphene was simultaneously achieved at 10.0 V. The exfoliation process was facilitated by the generation of oxygen and hydroxyl radicals from water, enhancing intercalation and delamination of graphene sheets. After deposition, both Ni and Ni-G films were rinsed with distilled water and dried at room temperature for 24 h. Surface modification was performed by immersing the dried films in 0.01 M myristic acid for 15 min, followed by ethanol rinsing and air drying. The resulting films, Ni-MA and Ni-G-MA, were subjected to further characterization and stability analysis <sup>33</sup> .Samples were then subjected to mechanical and chemical stress, and coating stability and adhesion were tested through wettability measurements, as previously reported. Machine learning framework for wettability of Ni-Ma-G coating In this study, a ML framework is developed to predict the wettability of Ni-MA and Ni-G-MA coatings, utilizing experimental data CA measurements. The goal is to build a predictive model that captures the relationship between various coating characteristics and external factors that influence wettability, including environmental conditions and processing parameters. The ML model incorporates a range of input features, including the coating deposition parameters and testing conditions such as abrasion cycles, tape peeling cycles, immersion in NaCl, and atmospheric exposure. CA is the primary target variable for the model, as it is the key indicator of coatings SHP properties. Data pre-processing steps were used to confirm the reliability of the model. These steps included normalization, feature selection, and outlier detection. A variety of ML algorithms were tested to determine their suitability for predicting the wettability of experimentally analysed coatings. Among these algorithms, artificial neural networks (ANN), random forests (RF) and support vector machines (SVM), XGBoost <sup>34</sup> and regression models <sup>35</sup> were evaluated for their ability to accurately predict CA and SA values under various conditions. To determine the model performance and ensure generalization to unseen data, cross-validation techniques were employed. These techniques help prevent overfitting and ensure that the model remains accurate when applied to new, unseen experimental data. Once trained, the ML model can predict the wettability characteristics of coatings under different experimental conditions, such as changes in temperature, voltage, pH levels, immersion time in NaCl solution, and number of abrasion cycles, referring to all mechanical damage tests performed (scratch, tape, sand impact). Additionally, to enhance the model performance, data augmentation techniques based on the introduction of Gaussian noise were applied. These techniques were compared with models trained on the original dataset to determine the effect of data augmentation on the model accuracy and generalization capability. As above mentioned, the study also delves into the relationship between CA and key environmental factors, including immersion time in NaCl solution, long term durability in atmospheric exposure, pH levels, and the number of abrasion cycles. By examining these relationships, the study objective is to understand the factors that govern the wettability behavior of coatings in different conditions and to predict its changes under varying conditions. A regression model was fitted to further explore the nonlinearities and higher-order interactions between the environmental variables and the wettability of the coatings. _Machine learning using random forest and XGBoost_ The XGBoost model, introduced by Chen et al. <sup>34</sup>, is one of the most advanced and widely used ML algorithms given its exceptional efficiency and performance. At its core, XGBoost leverages the concept of gradient boosting, which is a sequential group learning technique. It constructs multiple “weak learners” (mainly decision trees) in a stepwise manner, each new model seeks to rectify the mistakes of its predecessors. This iterative process enhances the accuracy of predictions by focusing on the residuals (the errors) left by earlier trees. One of the standouts feature of XGBoost is its ability to handle overfitting through the use of regularization. Unlike traditional gradient boosting methods, which may suffer from overfitting due to the accumulation of many weak models, XGBoost incorporates regularization terms into its objective function. This allows the model to control its complexity, balancing between fitting the training data well and maintaining the ability to generalize to new data. The objective function that XGBoost minimizes is a combination of two components: the prediction error and a regularization term that penalizes overly complex models, preventing overfitting. This is mathematically expressed as <sup>34</sup> _L_ = _i_ ∑ _l_ _i_ <sup>(</sup> <sup>_y_</sup> _i_ <sup>_,_</sup> _i_ <sup>_,yi_</sup> <sup>)</sup> <sup>+</sup> _k_ ∑ Ω where Ω( _fk_ ) = _γ_ _T_ + <sup><u>1</u></sup> _k_ <sup>Ω(</sup> <sup>_fk_</sup> <sup>)</sup> <sup>_,_</sup> <u>2</u> Ω <sup><u>1</u></sup> (1) <u>2</u> <sup>_λ_</sup> <sup>_||ω ||_</sup> <sup>2</sup> Where L is the loss function, _yi_ is the actual value and _yi_ <sup>_,_</sup> i​ <sup>is the predicted value,</sup> <sup>Ω(</sup> <sup>_fk_</sup> <sup>)is the regularization</sup> term, which controls the complexity of the model, _γ_ _T_ is a parameter that penalizes the number of trees in the model. ω represents the weights of the model and λ is the regularization parameter that controls the weight of the L2 norm (ridge regression-like penalty) on the model parameter By minimizing this objective function, XGBoost not only improves predictive performance, but also ensures robustness by preventing overfitting. Where L is the loss function, _yi_ is the actual value and _yi_ <sup>_,_</sup> In contrast, the Random Forest (RF) model operates based on an entirely different philosophy. Rather than optimizing a single function, RF combines the predictions of multiple individual decision trees, each trained on a random portion of the dataset. Each tree in the forest generates its own prediction for a given input, and the final prediction is obtained by averaging the predictions of all trees in the ensemble. Considering the collection of decision trees, denoted as _{T_ 1 _, T_ 2 _, . . ._ _, Tn}_, in the random forest group, each tree, _Ti_ generates a prediction _yi_, for a given input _x_ . In a regression problem, the random forest ensemble final prediction, y, is usually obtained by taking the average of the predictions made by all the trees. _y_ = <sup><u>1</u></sup> _n_ _i_ ∑ _n_ _i_ =1 <sup>_yi_</sup> (2) The technique of averaging serves to mitigate the impact of individual tree projections and generates a more consistent and resilient overall prediction <sup>35</sup> . _Linear regression model_ Linear Regression is a supervised learning algorithm used for predicting continuous numerical values. It assumes a linear relationship between the independent variable(s) (features, X) and the dependent variable (target, y). The goal is to find the best-fit line that minimizes the difference between actual and predicted values. _Polynomial regression models_ Polynomial regression extends linear regression by modelling the relationship between independent variables (predictors) and the dependent variable (response) as an nth-degree polynomial. This method is especially effective for capturing non-linear relationships within the data, which can provide a more accurate fit for complex patterns that linear models might fail to capture. In the context of this study, polynomial regression is used to model the wettability of the Ni-MA and Ni-GMA coating by considering the relation between the environmental and processing factors used in stressing the coatings and the resulting CA. The polynomial regression equation with one independent variable can be expressed in the general form: (3) _y_ = _β_ 0 + _β_ 1 _x_ + _β_ 2 _x_ <sup>2</sup> + _. . ._ + _βnx_ <sup>_n_</sup> + _∈_ Here, _y_ is the dependent variable, _x_ is the independent variable, _β_ 0 _,_ _β_ 1 _,_ _β_ 2 _,_ _. . ._ _β_ _n_ are the coefficients of the polynomial terms, _∈_ is the error term and _n_ is the degree of the polynomial. The complexity of the relationship that the model can capture is determined by the degree of the polynomial. Polynomial regression models are commonly fitted using the method of least squares estimation, which aims to minimize the total sum of the squared discrepancies between the predicted and observed values. The polynomial terms coefficient is computed to optimize the fit to the data. The coefficients of the polynomial terms quantify the impact of each degree of the independent variable on the dependent variable. The coefficient _β_ 1 indicates the linear relation between the independent and dependent variables, β2 captures the quadratic relationship, and so on for higher-order terms <sup>36</sup> . _Support vector model (SVR)_ Support Vector Regression (SVR) is a ML model designed for regression tasks, aiming to predict continuous values. It builds upon the principles of Support Vector Machines (SVM), which are primarily utilized for classification, but are adapted in SVR to forecast real-valued outputs. The fundamental concept of SVR involves identifying a function that accurately represents the data while maintaining a specified margin of tolerance (ε), meaning that deviations within this margin are not penalized. The model works by identifying support vectors, which are the data points closest to the regression function and optimizing the function to be as flat as possible while minimizing prediction errors. To address non-linear relationships, SVR employs kernel functions, including radial basis function (RBF), polynomial, and linear kernels. These functions transform the data into higher-dimensional spaces, enabling the identification of linear relationships. The SVR is highly effective in high-dimensional spaces and demonstrates robustness against overfitting. However, it can be computationally intensive, particularly when dealing with large datasets. Additionally, it necessitates meticulous tuning of hyperparameters, including the regularization parameter (C) and ε. Despite these challenges, SVR is widely used in applications like time series forecasting and stock market prediction, where the relationships between variables are often complex and non-linear <sup>37</sup> . The goal of SVR is to find a function f(x) that predicts the target variable with minimal deviation from the actual data points, within a margin. The general form of the regression function is: _f_ ( _x_ ) = _w.θ_ ( _x_ ) + _b_ (4) Where _w_ is the weight vector (the coefficients of the regression model), _θ_ ( _x_ ) is the mapping function that transforms the data into a higher-dimensional space through the kernel function and _b_ is the bias term (the intercept). _Multilayer perceptron (MLP)_ A Multilayer Perceptron (MLP) is a sophisticated type of artificial neural network constructed for supervised learning tasks, including classification and regression. It comprises several layers of interconnected nodes, or neurons, where each neuron in one layer is linked to every neuron in the subsequent layer. The architecture comprises an input layer responsible for data reception, one or more hidden layers dedicated to information processing, and an output layer that produces the final predictions. In the hidden layers, each neuron takes inputs from the preceding layer, calculates a weighted sum, incorporates a bias, and applies an activation function—like ReLU or sigmoid—to introduce non-linearity. The output layer then produces the final prediction using an appropriate activation function, like softmax for classification tasks or linear activation for regression. During the training phase, the network learns its weights and biases through backpropagation, where the discrepancy between predicted and actual outputs is sent back through the network. Gradient descent is employed to adjust the weights, aiming to minimize this error effectively. The process involves forward propagation, loss calculation, and backward propagation, which are repeated until the model converges. The MLP ability to model complex relationships comes from its use of multiple hidden layers, enabling it to capture non-linear patterns in data <sup>38</sup> . Experimental dataset The electrodeposited coatings on copper exhibited distinct micro-nano structures, with Ni-MA forming dendritic patterns and Ni-G-MA displaying a cauliflower-like morphology). SEM images of the coatings are reported with permission from [33] in Supplementary Figures S1. Contact angle (CA) measurements revealed that both Ni-GMA and Ni-MA achieved superhydrophobicity (162° and 159°, respectively), compared to pure copper (58°) and nickel-coated copper (24°), with Ni-MA forming dendritic patterns and Ni-G-MA displaying a cauliflower-like morphology. WCA images of the coatings are reported with permission from <sup>33</sup> in Supplementary Figures S2. This behavior aligns with the Cassie-Baxter model, where micro- and nano-scale structuring enhances WCA. Machine learning results Linear regression, xgboost, random forest This study investigates the correlation between superhydrophobicity and several influencing factors using machine learning models. The input variables included: number of days immersed in NaCl solution, pH levels, environmental exposure duration, number of tape peeling cycles, sand impact and number of abrasion cycles. The contact angle (CA) served as the sole output variable. Various ML algorithms were applied to analyse the data, including XGBoost, Random Forest (RF), polynomial regression, multilayer perceptron (MLP), gradient boosting, support vector regression (SVR), and k-nearest neighbours (KNN). The experimental datasets taken from the previous research <sup>1</sup>, and detailed in Tables S1–S12, were used to train separate models for each dataset. Additionally, the importance of each input variable in predicting the CA was evaluated and discussed, highlighting their influence on the SHP performance of the coatings <sup>21</sup> . Linear regression is initially used to capture any linear trends, providing a simple and direct approach to modelling the data. Polynomial regression models are then applied to better capture any nonlinear patterns, offering flexibility to model more complex relationships between CA and abrasion cycles. Additionally, we incorporate two advanced machine learning models: XGBoost, particularly effective in handling large datasets and complex relationships, and Random Forest, which combines predictions if multiple decision trees to improve accuracy. The study initially utilized the dataset related to abrasion cycles in Tables S1, S2. The objective was to develop regression models using the XGBoost and Random Forest (RF) algorithms to predict CA based on the provided input. The dataset was randomly divided into training and testing subsets using an 80:20 split. This approach ensured that a substantial portion of the data was available for model training while preserving a separate subset for evaluation. Both the XGBoost and Random Forest (RF) models were trained using the training dataset, and their performance was evaluated with the test dataset. Figure 1a represents the distribution of experimental values (in blue) and values predicted using linear regression, Random Forest and XG Boost ML models for Ni-MA coatings (red, green and yellow, respectively). Key performance metrics were then extracted and reported in Table 1, which included the mean squared error (MSE) and R-squared (R²) values. The MSE measured the average squared differences between the predicted and actual CA values, serving as an indicator of prediction accuracy, while, the R² value represented the proportion of variance in CA that the model explained. Performance metrics for both models are summarized in Table 2, highlighting their effectiveness in forecasting the CA. The Linear Regression model exhibited excellent performance, with an R² of 0.9979 and a low MSE of 0.229 on the testing data, indicating a near-perfect fit and a strong predictive power. The training data results were also impressive, with an R² of 0.9846 and an MSE of 1.118, suggesting that while the model performed well, it slightly underperformed on the training data compared to the testing set. This highlights the model ability to Fig. 1 . Distribution of predicted and measured contact angle values from linear regression, random forest and Xgboost for ( a ) Ni-MA and ( b ) Ni-G-MA. <u>Model</u> <u>MSE (testing)</u> _<u>R</u>_ <sup>2</sup> <u>(testing)</u> <u>MSE (training)</u> _<u>R</u>_ <sup>2</sup> <u>(training)</u> <u>Linear regression</u> <u>0.2290</u> <u>0.9979</u> <u>1.1180</u> <u>0.9846</u> <u>Random forest</u> <u>3.010</u> <u>0.9719</u> <u>0.4900</u> <u>0.9933</u> <u>XG boost</u> <u>3.4182</u> <u>0.9690</u> <u>0.1000</u> <u>0.9990</u> Table 1 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Polynomial regression (Order 2)</u> <u>0.2993</u> <u>0.9869</u> <u>Polynomial regression (Order 3)</u> <u>0.0428</u> <u>0.9981</u> <u>Polynomial regression (Order 4)</u> <u>1.0509</u> <u>0.9541</u> <u>SVR</u> <u>6.6876</u> <u>0.7078</u> <u>KNN</u> <u>2.3056</u> <u>0.8993</u> Table 2 . MSE and R <sup>2</sup> value by polynomial regression of different orders, SVR and KNN models for Ni-G-MA. <u>Model</u> <u>MSE (Testing)</u> _<u>R</u>_ <sup>2</sup> <u>(Testing)</u> <u>MSE (Training)</u> _<u>R</u>_ <sup>2</sup> <u>(Training)</u> <u>Linear regression</u> <u>0.1557</u> <u>0.9932</u> <u>0.2732</u> <u>0.9836</u> <u>Random forest</u> <u>1.3258</u> <u>0.9421</u> <u>0.2805</u> <u>0.9832</u> <u>XG Boost</u> <u>1.4181</u> <u>0.9380</u> <u>0.0001</u> <u>0.9999</u> Table 3 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA-G. generalize effectively to unseen data while maintaining a good fit to the training data. In contrast, the Random Forest model showed a slightly higher MSE of 3.00976 on the testing data and an R² of 0.9719. While this is still a strong performance, it is less accurate than Linear Regression in terms of generalization to the testing data. However, the model performed well on the training data, with an MSE of 0.490 and an R² of 0.9933, suggesting that it was able to fit the training data very well. The difference between the training and testing performance indicates a potential overfitting of the Random Forest model to the training data. The XGBoost model, although powerful, demonstrated the highest testing MSE of 3.4182 and an R² of 0.9690, indicating slightly lower accuracy compared to both Linear Regression and Random Forest. On the training data, XGBoost performed exceptionally well, with an MSE of 0.100 and an R² of 0.999, suggesting that the model closely fits the training data. However, similar to Random Forest, this discrepancy in performance between training and testing data points to potential overfitting. Overall, Linear Regression provided the best balance of accuracy and generalization, with superior performance on both training and testing datasets. While Random Forest and XGBoost also demonstrated strong predictive capabilities, they showed a tendency to overfit the training data, leading to slightly reduced performance on the testing data. Similar considerations can be drawn on data related to Ni-G-MA coatings, reported in Fig. 1b, whose figures or merit are summarized in Table 3. Indeed, also in this case Linear Regression achieved the highest testing R² with a value of 0.9932 and a low MSE of 0.1557, indicating strong generalization and accuracy. Random Forest had a slightly lower testing R² of 0.9421 with a higher MSE of 1.3258, suggesting it made larger prediction errors but still performed well. XGBoost showed the lowest testing R² of 0.9380 and the highest MSE of 1.4181, indicating higher error rates and potential overfitting, despite achieving perfect accuracy on the training data. Overall, Linear Regression outperformed the other models in terms of both accuracy and generalization. To evaluate the predictive performance and robustness of the selected machine learning models, 5-fold crossvalidation was performed using R² (coefficient of determination) and mean squared error (MSE) as evaluation metrics. Among the tested models, linear regression demonstrated the highest accuracy, achieving an average R² of 0.9616 with a low standard deviation of 0.0504, indicating consistent performance across folds. It also yielded the lowest average MSE of 1.3047, confirming its suitability for modeling degradation trends that follow a relatively linear behavior. The Random Forest model also performed well, with an average R² of 0.9557 and MSE of 2.1399, though slightly less accurate and stable than linear regression, possibly due to sensitivity to data noise or moderate overfitting. In contrast, XGBoost showed comparatively lower performance, with an average R² of 0.8697 and a higher MSE of 5.4084. Additionally, its larger standard deviations in both R² (0.0849) and MSE (1.9493) suggest higher variability and reduced generalization capability. These results indicate that while ensemble models like Random Forest and XGBoost offer flexibility, simpler models such as linear regression may be more effective when the underlying data trends are predominantly linear, offering more reliable and interpretable predictions. <u>Model</u> <u>MSE (testing)</u> _<u>R</u>_ <sup>2</sup> <u>(testing)</u> <u>MSE (training)</u> _<u>R</u>_ <sup>2</sup> <u>(training)</u> <u>Linear regression</u> <u>0.2100</u> <u>0.9981</u> <u>1.1028</u> <u>0.9853</u> <u>Random forest</u> <u>2.2338</u> <u>0.9797</u> <u>0.5033</u> <u>0.9933</u> <u>XG boost</u> <u>3.1506</u> <u>0.9714</u> <u>0.0059</u> <u>0.9999</u> Table 4 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA after data augmentation. <u>Abrasion length (mm)</u> <u>Experimental CA (°)</u> <u>Predicted CA (°) (linear regression)</u> <u>Predicted CA (°) (random forest)</u> <u>Predicted CA (°) (XGBoost)</u> <u>0</u> <u>159</u> <u>159</u> <u>156</u> <u>156</u> <u>50</u> <u>157</u> <u>157</u> <u>156</u> <u>156</u> <u>100</u> <u>156</u> <u>155</u> <u>156</u> <u>155</u> <u>150</u> <u>155</u> <u>152</u> <u>154</u> <u>155</u> <u>200</u> <u>151</u> <u>150</u> <u>151</u> <u>150</u> <u>250</u> <u>147</u> <u>148</u> <u>148</u> <u>147</u> <u>300</u> <u>145</u> <u>146</u> <u>145</u> <u>145</u> <u>350</u> <u>143</u> <u>144</u> <u>143</u> <u>143</u> <u>400</u> <u>141</u> <u>141</u> <u>141</u> <u>141</u> <u>450</u> <u>139</u> <u>139</u> <u>140</u> <u>141</u> <u>500</u> <u>136</u> <u>137</u> <u>137</u> <u>136</u> <u>550</u> <u>135</u> <u>135</u> <u>135</u> <u>136</u> <u>600</u> <u>133</u> <u>132</u> <u>133</u> <u>133</u> <u>650</u> <u>132</u> <u>131</u> <u>131</u> <u>132</u> Table 5 . Comparison between experimental and predicted CA by different ML models for Ni-MA after data augmentation. Data augmentation for XGBoost and RF Data augmentation was applied to the XGBoost and Random Forest models to mitigate overfitting and improve model performance. Among the different augmentation techniques available, Gaussian noise augmentation was selected for its simplicity, effectiveness, and ability to improve model performance. By adding small, controlled random perturbations, it helps prevent overfitting and increases the model exposure to varied data without altering the underlying structure. Unlike methods like SMOTE or jittering, Gaussian noise is easy to apply to both features and targets in regression tasks. It offers precise control over the noise level, allowing for finetuning based on model needs. This approach is computationally efficient, scalable, and ideal for situations where generating large datasets is impractical. Gaussian Noise Augmentation involves augmenting a given data point or feature vector, represented as _x_, by introducing Gaussian noise. Mathematically, this augmentation process can be expressed as <sup>39</sup>, _xaugmt_ = _x_ + _∈_ (5) Where: _xaugmt_ : represent the augmented data point. _x_ : is the original data point. _∈_ : is a random sample drawn from a Gaussian distribution with a mean of 0 and a specified standard deviation. _σ_ The Gaussian distribution is defined as, <u>1</u> _p_ ( _∈_ ) = _sqrt_ <u>(2</u> _πσ_ <sup><u>2</u></sup> <u>)</u> <sup>_e−_</sup> <u>2</u> <sup>_<u>∈</u>_</sup> _σ_ <sup>2</sup> <sup>~~2~~</sup> (6) The parameter _σ_ specifies the level of noise that is added using Gaussian Noise Augmentation. Smaller values of _σ_ indicate reduced noise, whereas larger values of _σ_ result in more pronounced noise. In this study, a mean of 0 and a variance of 0.2 are used as Gaussian distribution parameters. As reported in Tables 4 and 5, data augmentation using Gaussian noise resulted in improved R² scores and reduced MSE for all three models, especially in the testing data. This suggests that augmenting the dataset with Gaussian noise helped the models generalize better by exposing them to a wider variety of data points, thus reducing overfitting. The slight improvements in the testing performance for Linear Regression and Random Forest highlight the benefits of adding augmented data, particularly when real-world data is limited or costly to acquire. XGBoost showed a more dramatic improvement in training performance, indicating that it might <u>Model</u> <u>MSE (testing)</u> _<u>R</u>_ <sup>2</sup> <u>(testing)</u> <u>MSE (training)</u> _<u>R</u>_ <sup>2</sup> <u>(training)</u> <u>Linear regression</u> <u>0.1582</u> <u>0.9933</u> <u>0.3768</u> <u>0.9769</u> <u>Random forest</u> <u>1.3125</u> <u>0.9444</u> <u>0.2346</u> <u>0.9856</u> <u>XG boost</u> <u>1.4085</u> <u>0.9403</u> <u>0.000779</u> <u>0.9999</u> Table 6 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-G-MA after data augmentation. <u>Abrasion length (mm)</u> <u>Experimental CA (°)</u> <u>Predicted CA (°) (linear regression)</u> <u>Predicted CA (°) (random forest)</u> <u>Predicted CA (°) (XGBoost)</u> <u>0</u> <u>162</u> <u>162</u> <u>160</u> <u>160</u> <u>50</u> <u>160</u> <u>161</u> <u>160</u> <u>160</u> <u>100</u> <u>160</u> <u>160</u> <u>160</u> <u>160</u> <u>150</u> <u>159</u> <u>159</u> <u>159</u> <u>159</u> <u>200</u> <u>158</u> <u>158</u> <u>158</u> <u>158</u> <u>250</u> <u>157</u> <u>158</u> <u>157</u> <u>157</u> <u>300</u> <u>156</u> <u>157</u> <u>157</u> <u>156</u> <u>350</u> <u>155</u> <u>155</u> <u>156</u> <u>155</u> <u>400</u> <u>154</u> <u>155</u> <u>155</u> <u>154</u> <u>450</u> <u>153</u> <u>154</u> <u>154</u> <u>154</u> <u>500</u> <u>152</u> <u>152</u> <u>154</u> <u>152</u> <u>550</u> <u>151</u> <u>150</u> <u>152</u> <u>152</u> <u>600</u> <u>150</u> <u>149</u> <u>151</u> <u>` 150</u> <u>650</u> <u>147</u> <u>148</u> <u>150</u> <u>149</u> Table 7 . Comparison between experimental and predicted CA by different ML models for Ni-G-MA after data augmentation. have been overfitting to the original data, and Gaussian noise helped alleviate that issue, leading to better generalization on unseen data. The Table 6 show that Linear Regression outperforms both Random Forest and XGBoost in terms of generalization, with the lowest testing MSE (0.1582) and a high R² (0.9933). This indicates that it provides accurate predictions without overfitting. In contrast, Random Forest and XGBoost exhibit higher testing MSE values (1.3125 and 1.4085, respectively) and lower testing R², suggesting they struggle more with generalization. Notably, XGBoost has an almost perfect training R² (0.9999) and an extremely low training MSE (0.000779), indicating overfitting, where the model memorizes training data but does not perform as well on new data. Table 7 Figure S3 further confirms these trends, as Linear Regression closely follows the experimental CA values, while Random Forest and XGBoost show minor deviations, particularly at higher abrasion lengths. For example, at 650 mm, the experimental CA is 147, but Random Forest predicts 150, and XGBoost predicts 148, highlighting their slightly reduced accuracy. These results suggest that while all models perform reasonably well, Linear Regression remains the most reliable choice for this dataset, balancing both accuracy and generalization effectively. To assess the generalization performance of the models, 5-fold cross-validation was conducted using mean squared error (MSE) and R² as evaluation metrics. Linear Regression outperformed the other models, achieving the lowest cross-validated MSE of 0.5355 and the highest R² of 0.9704, indicating excellent predictive accuracy and minimal error on unseen data. Random Forest followed with a higher MSE of 1.3847 and an R² of 0.9235, reflecting good but slightly less consistent performance. XGBoost showed the highest MSE at 1.8816 and the lowest R² of 0.8961 among the three, suggesting that while it can capture complex patterns. Overall, the results highlight that linear regression is the most suitable model for this dataset, likely due to the largely linear nature of contact angle degradation trends under the tested conditions. Other ML models Other models were applied to NI-MA and NI-G-MA CA values on different abrasion cycles to capture the corelation between input and output. Result of MSE and R <sup>2</sup> are listed in Table 8, Fig. 2. Table 8 summarizes the performance of various regression models in predicting the contact angle (CA) variation with abrasion length for Ni-MA coatings. Among them, the third-order polynomial regression demonstrated the highest accuracy, with the lowest mean squared error (MSE: 0.2988) and the highest coefficient of determination (R²: 0.9973), indicating a near-perfect fit. The second-order polynomial model also performed well (MSE: 1.8579, R²: 0.9831), capturing the overall trend effectively. However, the fourth-order polynomial exhibited a slightly higher error (MSE: 2.1525, R²: 0.9805), possibly due to overfitting. In contrast, the support vector regression (SVR) model showed poor predictive capability (MSE: 61.6268, R²: 0.4409), likely due to its sensitivity to the dataset’s complexity. The k-nearest neighbours (KNN) model performed better (MSE: 3.7870, <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Polynomial regression (Order 2)</u> <u>1.8579</u> <u>0.9831</u> <u>Polynomial regression (Order 3)</u> <u>0.2988</u> <u>0.9973</u> <u>Polynomial regression (Order 4)</u> <u>2.1525</u> <u>0.9805</u> <u>SVR</u> <u>61.6268</u> <u>0.4409</u> <u>KNN</u> <u>3.7870</u> <u>0.9656</u> Table 8 . MSE and R <sup>2</sup> value by Poly regression (order 2, 3, 4), SVR, and KNN model for Ni-MA. Fig. 2 . Distribution of predicted and measured contact angle values from polynomial regression order 2,3,4, SVR and KNN models for Ni-MA. R²: 0.9656) but still lagged behind polynomial regression. KNN’s performance is influenced by the choice of neighbours (k) and its reliance on local interpolation. Since CA variation with abrasion length follows a continuous nonlinear trend, KNN’s distance-based approach may fail to generalize well across the entire dataset, leading to inconsistencies. Moreover, KNN is sensitive to noise, and the presence of abrupt changes in CA values can distort its predictions while SVR relies on finding a hyperplane that maximizes the margin within a specified tolerance (epsilon-tube) around the data points, which makes it highly sensitive to the choice of hyperparameters such as kernel type, regularization parameter (C), and epsilon value. If these parameters are not carefully tuned, the model may struggle to capture highly nonlinear patterns, as seen in CA variation with abrasion length. Additionally, SVR assumes that small deviations within the epsilon range are not significant, which might limit its accuracy in datasets where small variations are critical. In the Table 2 the second-order polynomial regression model achieved a good fit with an MSE of 0.2993 and an R² of 0.9869, capturing most of the data variation. The third-order polynomial regression performed the best, with an exceptionally low MSE of 0.0428 and a high R² of 0.9981, showing high predictive accuracy. In contrast, the fourth-order polynomial regression showed a higher MSE of 1.0509 and a lower R² of 0.9541, suggesting overfitting as the model increased complexity. The Support Vector Regression (SVR) model exhibited the highest MSE of 6.6876 and an R² of 0.7078, indicating poor performance likely caused by its sensitivity to noise and lack of proper tuning. The K-Nearest Neighbours (KNN) model showed moderate results, with an MSE of 2.3056 and an R² of 0.8993, which was better than SVR but still behind the polynomial models. In Fig. 3 the CA distributions obtained using polynomial regression order 2,3,4, as well as the models and KNN, are presented for Ni-G-MA. Overall, the third-order polynomial regression model outperformed the others. Indeed, the polynomial regression model, especially of order 3, effectively captured the nonlinear relationships within the data, which is crucial for the accurate prediction of contact angles. Compared to other models, Polynomial Regression (Order 3) demonstrated a better balance between bias and variance, as it did not overfit to the training data, unlike models such as XGBoost, which showed overfitting with a perfect training R² but a poor R² on testing data. While Linear Regression also performed well, it did not fully capture Fig. 3 . Distribution of predicted and measured contact angle values from polynomial regression order 2,3,4, SVR and KNN models for Ni-G-MA. the complexities of the dataset, and models like SVR and KNN yielded lower performance in terms of R² and MSE. Therefore, Polynomial Regression (Order 3) stands out due to its ability to model the data underlying patterns more effectively and with greater accuracy. Polynomial regression, particularly the second- and thirdorder models, performed best because they effectively captured the dataset’s nonlinear pattern without excessive complexity. The fourth-order polynomial suffered from overfitting. SVR performed the worst, likely due to improper tuning and sensitivity to noise, while KNN showed decent but not outstanding performance due to its reliance on local neighbourhood relationships rather than an explicit global function. The performance of various regression models was evaluated using cross-validation to predict the target output. Among the polynomial models, the third-degree polynomial (Poly3) exhibited the best performance with the lowest mean squared error (MSE) of 0.6649 and the highest coefficient of determination (R²) of 0.9918, indicating a strong fit to the data. In comparison, Poly2 and Poly4 showed slightly higher MSE values of 1.2249 and 1.2924, with corresponding R² values of 0.9849 and 0.9840, respectively. The k-nearest neighbors (KNN) model also demonstrated good predictive accuracy with an MSE of 3.5675 and an R² of 0.9559. However, the support vector regression (SVR) model yielded significantly poorer results, with a high MSE of 46.4255 and a low R² of 0.4262, indicating limited suitability for this dataset. Overall, the Poly3 model emerged as the most reliable among the tested algorithms. Tape peeling and chemical stability datasets The dataset presented in Table S3, Table S4 was analysed to investigate the relationship between the contact angle (CA) and tape peeling cycles. To achieve this, various modelling techniques were applied, including linear regression, polynomial regression, XGBoost, and Random Forest, as illustrated in Fig. 6. For capturing potential nonlinear relationships, polynomial regression models of degrees 2 through 4 were utilized, offering enhanced flexibility to accurately represent complex patterns within the data. Advanced ML models, such as XGBoost and Random Forest, were also employed as their ability to handle intricate, nonlinear associations effectively. These approaches provided a robust framework to complement traditional regression methods, enabling a more comprehensive understanding of the underlying trends in the dataset. Table 9 presents the Mean Squared Error (MSE) and R² values for different regression models applied to NiMA data. The results indicate that the XGBoost model outperforms all others, achieving the lowest MSE (0.0001) and the highest R² (0.9999), demonstrating its superior predictive accuracy. Random Forest and higher-order Polynomial Regression models also exhibit strong performance, with R² values exceeding 0.99, while Linear Regression has the highest MSE (0.4090), suggesting a weaker fit. The trend highlights the advantage of nonlinear models in capturing complex relationships within the data, with XGBoost providing the most precise predictions (Fig. 4). In Table 10; Fig. 5, the results illustrate the effectiveness of various models in predicting the CA based on tape-peeling cycles. Linear regression performed well, with an MSE of 0.1161 and an R² of 0.9931, capturing <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.4090</u> <u>0.9715</u> <u>Random forest</u> <u>0.07834</u> <u>0.9945</u> <u>XG Boost</u> <u>0.0001</u> <u>0.9999</u> <u>Polynomial regression (Order 2)</u> <u>0.1649</u> <u>0.9885</u> <u>Polynomial regression (Order 3)</u> <u>0.0886</u> <u>0.9938</u> <u>Polynomial regression (Order 4)</u> <u>0.0629</u> <u>0.9956</u> Table 9 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA. Fig. 4 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, poly order 2,3,4 for Ni-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.1161243</u> <u>0.993144</u> <u>Random Forest</u> <u>0.1561192</u> <u>0.990783</u> <u>XG Boost</u> <u>0.000988</u> <u>0.999</u> <u>Polynomial Regression (Order 2)</u> <u>0.1158841</u> <u>0.993158</u> <u>Polynomial Regression (Order 3)</u> <u>0.06209175</u> <u>0.996334</u> <u>Polynomial Regression (Order 4)</u> <u>0.06201943</u> <u>0.996338</u> Table 10 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-G-MA. the overall linear trend in the data. However, nonlinear models offered better flexibility in identifying subtle patterns. Polynomial regression models demonstrated significant improvements, with the second-order model achieving an MSE of 0.1159 and an R² of 0.9932, while the third- and fourth-order models further enhanced predictions, both achieving an MSE of 0.0620 and an R² of 0.9963. Advanced machine learning techniques were also applied, with Random Forest achieving an MSE of 0.1561 and an R² of 0.9908, effectively modelling the dataset’s nonlinear features. The XGBoost model outshone all others, achieving an outstandingly low MSE of 0.00098 and an R² of 0.999, underscoring its ability to model complex relationships with exceptional accuracy Fig. 5 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, poly order 2,3,4 for Ni-G-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.1336</u> <u>0.9863</u> <u>Random Forest</u> <u>0.3162</u> <u>0.9675</u> <u>XG Boost</u> <u>1.4160</u> <u>0.8544</u> Table 11 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA. and reliability. While polynomial regression and Random Forest provided strong performance, XGBoost proved to be the most accurate and versatile model. The comparative evaluation of regression models using 5-fold cross-validation revealed that polynomial regression models outperformed other approaches in terms of prediction accuracy. Specifically, the fourth-order polynomial regression model achieved the best performance, with the lowest mean squared error (MSE) of 0.1674 and the highest coefficient of determination (R²) of 0.9884. This was closely followed by the third-order polynomial model (MSE: 0.1951, R²: 0.9864), indicating that increasing the polynomial order up to a certain extent improves model fit. The second-order polynomial and linear regression models also showed strong performance, with R² values of 0.9704 and 0.9640, respectively. In contrast, ensemble models such as Random Forest and XGBoost demonstrated relatively lower predictive accuracy, with MSE values of 0.7424 and 1.4772, and corresponding R² values of 0.9484 and 0.8972. These findings confirm the effectiveness of polynomial regression, particularly of orders three and four, in capturing the underlying patterns in the dataset. In the dataset presented in Table S5, S6 we begin the analysis by plotting the CA against the number of sand impact cycles. To show the relationship between these variables, we employ a combination of polynomial regression, linear regression, XGBoost, and Random Forest models. Table 11 presents the Mean Squared Error (MSE) and R² values for Ni-MA modeling using Linear Regression, Random Forest, and XGBoost. The Linear Regression model demonstrates the best performance with the lowest MSE (0.1336) and highest R² (0.9863), indicating strong predictive accuracy and minimal error. The Random Forest model shows slightly higher error (MSE = 0.3162) and a lower R² (0.9675), suggesting a moderate decrease in performance. In contrast, the XGBoost model exhibits significantly higher MSE (1.4160) and lower R² (0.8544), indicating a poorer fit, due to overfitting, hyperparameter tuning issues. Figure 6 presents a scatter plot comparing the predicted and experimental contact angles (CA°) as a function of the number of sand impact cycles. The black dots represent experimental data, while predictions from Linear Regression (LR), Random Forest (RF), and XGBoost models are indicated by red crosses, green crosses, and blue crosses, respectively. The plot shows that Linear Regression and Random Forest predictions closely align with the experimental values, particularly at lower sand impact cycles, reinforcing their superior performance (as indicated by the lower MSE and higher R² values in Table 11). In contrast, the XGBoost model exhibits greater deviations, especially at higher impact cycles, Fig. 6 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.1250</u> <u>0.9945</u> <u>Random Forest</u> <u>1.0448</u> <u>0.9537</u> <u>XG Boost</u> <u>3.1234</u> <u>0.8616</u> Table 12 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-G-MA. In Table 12; Fig. 7, the Linear Regression model is the best, with the lowest MSE (0.1250) and highest R² (0.9945), showing it fits the data most accurately. The other models, Random Forest and XGBoost, have higher MSE and lower R² values, suggesting less accurate predictions. The 5-fold cross-validation analysis further highlights the superiority of linear regression for this dataset. Linear regression achieved the lowest mean squared error (MSE) of 0.2820 and the highest coefficient of determination (R²) of 0.9826, indicating an excellent fit and strong predictive capability. In contrast, ensemble models such as Random Forest and XGBoost showed relatively lower performance, with MSE values of 1.6400 and 2.2089, and R² values of 0.8987 and 0.8635, respectively. Although ensemble techniques are generally robust for complex, non-linear data, in this case, the simplicity of linear regression appears to better capture the underlying relationships, likely due to the dataset’s linear or near-linear characteristics. In Table S7, S8 we analyse the relationship between the CA and number of days in NaCl (0.5 M) solution by plotting the data and applying again various machine learning models. Cross-validation (5-fold) was conducted to evaluate the performance and generalization capability of different regression models. Linear regression exhibited the best performance among the evaluated models, with a mean squared error (MSE) of 0.1887 ± 0.1297. Random Forest and XGBoost showed significantly higher errors, with MSE values of 2.1400 ± 1.3269 and 3.8006 ± 0.9731, respectively. Figure. 8 illustrates the variation of contact angle (CA°) over time of immersion in NaCl (days) using actual data (black dots) and predictions from three models: Linear Regression (blue line), Random Forest (orange line), and XGBoost (green line). The Linear Regression model follows a smooth, linear trend, closely approximating the overall experimental pattern. The Random Forest and XGBoost models, in contrast, exhibit step-like predictions, characteristic of tree-based models. While Random Forest predictions align relatively well with actual data, XGBoost shows larger deviations, particularly at certain intervals, reinforcing its higher MSE Fig. 7 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA. Fig. 8 . Distribution of predicted and measured contact angle values from linear regression, XGBoost, Random Forest, for Ni-MA. (3.1235) and lower R² (0.8867) Table 13. This suggests that XGBoost struggles with the dataset’s characteristics, potentially due to overfitting or sensitivity to variations in the data. In Table 14; Fig. 9, considering the same phenomenon on coating Ni-G-MA, the Linear Regression model is the best, with the lowest MSE (0.1250) and highest R² (0.9945), showing it fits the data most accurately. The <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.0625</u> <u>0.9977</u> <u>Random Forest</u> <u>0.7729</u> <u>0.9720</u> <u>XG Boost</u> <u>3.1235</u> <u>0.8867</u> Table 13 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.1250</u> <u>0.9945</u> <u>Random Forest</u> <u>1.0448</u> <u>0.9537</u> <u>XG Boost</u> <u>3.1234</u> <u>0.8616</u> Table 14 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-G-MA. Fig. 9 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA. other models, Random Forest and XGBoost, have higher MSE and lower R² values, suggesting less accurate predictions. ML models were also applied to data in Table S9, S10 to find out correlation between CA and number of days of exposure in open environment. Table 15; Fig. 10 compare the performance of various models in predicting contact angle values after outdoor exposure in coating Ni-MA. The Polynomial Regression models of order 2 and 3 achieve the best results with the lowest MSE (0.1125) and highest R² (0.9854), indicating excellent predictive accuracy. Random Forest also performs well (MSE = 0.3085, R² = 0.9601), outperforming Linear Regression (MSE = 0.4228, R² = 0.9452) and XGBoost (MSE = 0.6668, R² = 0.9137). The fourth-order polynomial model (MSE = 0.2446, R² = 0.9683) shows slight overfitting, suggesting that a second- or third-order polynomial is optima for this dataset. In Table 16 Fig. 11, when applying the models to outdoor exposure of coating Ni-G-MA, the Polynomial Regression of Order 3 performs the best, with the lowest MSE (0.0393) and the highest R² (0.9949). This indicates a very close fit to the data, capturing the underlying relationship with high accuracy. Polynomial Regression of higher orders (4) and other models, such as Random Forest and XGBoost, show slightly worse performance, likely due to overfitting (in the case of higher polynomial orders) or a less optimal fit compared to the cubic <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.4228</u> <u>0.9452</u> <u>Random Forest</u> <u>0.3085</u> <u>0.9601</u> <u>XG Boost</u> <u>0.6668</u> <u>0.9137</u> <u>Poly Order 2</u> <u>0.1125</u> <u>0.9854</u> <u>Poly Order 3</u> <u>0.1125</u> <u>0.9854</u> <u>Poly Order 4</u> <u>0.2446</u> <u>0.9683</u> Table 15 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-MA. Fig. 10 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-MA. <u>Model</u> <u>MSE</u> _<u>R</u>_ <sup>2</sup> <u>Linear regression</u> <u>0.5317</u> <u>0.9311</u> <u>Random Forest</u> <u>0.1792</u> <u>0.9768</u> <u>XG Boost</u> <u>0.4168</u> <u>0.9460</u> <u>Poly Order 2</u> <u>0.4358</u> <u>0.9436</u> <u>Poly Order 3</u> <u>0.0393</u> <u>0.9949</u> <u>Poly Order 4</u> <u>0.4466</u> <u>0.9422</u> Table 16 . MSE and R <sup>2</sup> value by linear regression, XG boost model and random forest model for Ni-G-MA. model. The Linear Regression also performs reasonably well, but its MSE and R² indicate it doesn’t capture the more complex relationship as effectively as the cubic polynomial. A detailed 5-fold cross-validation was performed to assess the predictive accuracy and stability of multiple regression models. Among all models, polynomial regression of order 2 demonstrated the best performance, achieving the lowest mean squared error (MSE) of 0.0566 ± 0.0506 and the highest mean R² value of 0.9866 ± 0.0081, indicating excellent fit and low variance across folds. Polynomial regressions of orders 3 and 4 followed closely, with MSEs of 0.0601 and 0.0771 and R² values of 0.9797 and 0.9796, respectively, suggesting that higher-order terms do not significantly enhance model performance beyond the second order. Among the non-polynomial models, Random Forest outperformed both Linear Regression and XGBoost, achieving an MSE Fig. 11 . Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA. Fig. 12 . Predicted contact angle values from linear for Ni-MA and Ni-G-MA. of 0.2291 ± 0.1916 and R² of 0.9333 ± 0.0385. Linear Regression yielded a mean MSE of 0.1855 ± 0.1269 and R² of 0.9025 ± 0.0902, while XGBoost showed the lowest performance with an MSE of 0.3667 ± 0.1869 and R² of 0.8094 ± 0.1477. Overall, these results clearly indicate that second-order polynomial regression offers the best balance of accuracy and generalizability for this dataset. Eventually, concerning data related to coatings immersion in different pH and reported in Table S11, S12, all models struggle to predict contact angle (CA) at different pH levels, with high MSE values and mostly negative R² scores, likely due to the small dataset failing to capture underlying patterns. Among them, the fourth-order polynomial model (Poly Order 4) performs relatively better, achieving the lowest MSE (0.4118) and the only positive R² (0.5882). However, despite its improved fit compared to other models, its predictive accuracy remains suboptimal, suggesting that the dataset lacks sufficient variation for reliable trend identification Figure S4. Stability prediction on superhydrophobic coatings In this study, we employed a variety of machine learning (ML) and regression models, including XGBoost, K-Nearest Neighbours (KNN), Random Forest (RF), Support Vector Regression (SVR), and multiple polynomial regression models, to predict the stability of the contact angle (CA) under different environmental and mechanical stress conditions. These conditions included immersion in NaCl solution, varying abrasion cycles, tape peeling tests, sand impact, and open-air exposure. Our analysis revealed that the best-performing model varied depending on the specific degradation mechanism. For abrasion cycles and tape peeling tests, linear regression performed best, as the CA degradation followed a relatively linear trend due to gradual surface wear and adhesive forces. XGBoost also demonstrated strong predictive capability in these cases, benefiting from its ability to detect slight nonlinearities while remaining robust against noise. However, for sand impact and open-air exposure, where the CA degradation followed a nonlinear trend, third-order polynomial regression (cubic regression) outperformed other models. The nature of sand impact resulted in an initial sharp decline in CA followed by stabilization, while open-air exposure led to a time-dependent degradation influenced by oxidation and contamination effects. Higher-order polynomial regression effectively captured these nonlinear trends, whereas simpler models like linear regression and SVR failed to generalize well. Among all models, XGBoost consistently delivered strong performance across multiple conditions, as it could handle both linear and nonlinear relationships while effectively reducing overfitting. In contrast, SVR and KNN exhibited weaker predictive capabilities. SVR struggled due to its sensitivity to hyperparameter tuning, leading to suboptimal performance in highly nonlinear cases such as sand impact and open-air exposure. KNN, being a distance-based algorithm, was less effective at capturing long-term trends and tended to overfit localized variations, making it unsuitable for extrapolating CA degradation over extended periods. Using the best-performing model in each case, the contact angle (CA) values were predicted under different untested conditions, as shown in Figure. 12. These predicted values closely match the experimental results until available (Figure S5, S6 Table S13), confirming the model reliability in estimating CA under different environmental and mechanical conditions. Moreover, these values allow to draw conclusions on the long-term behavior of these coatings, indicating that Ni-G-MA overperforms Ni-MA. to the presence of graphene not only in initial conditions, but also by preserving, or approaching, superhydrophobicity on a longer run even when subjected to strong mechanical stress. The only clear point of failure of superhydrophobicity for both coatings was for prolonged contact with salty water, which indeed is one of the major concerns in the field of coatings durability. Based on the predicted contact angle data), NaCl immersion emerged as the most critical degradation factor, especially over prolonged exposure (100 days), where both Ni-MA and Ni-G-MA coatings experienced a substantial drop in contact angle falling below the 150° superhydrophobic threshold. In contrast, air storage, sand impingement, and tape peeling exhibited relatively minor influence, with contact angles consistently remaining above 150°, indicating better stability under those conditions. Notably, abrasion resistance was improved in Ni-G-MA compared to Ni-MA, suggesting that graphene incorporation enhanced mechanical robustness. This analysis highlights chemical durability particularly in corrosive environments as the most significant challenge to maintaining long-term superhydrophobicity, and has been discussed in detail in the revised manuscript. Linear Regression was chosen as a baseline due to its simplicity and interpretability. Polynomial Regression (orders 2–4) was applied to capture potential non-linear relationships between the input features and the predicted contact angle. Random Forest and XGBoost, both ensemble-based models, were selected for their ability to model complex, non-linear interactions and their robustness to overfitting. These models are widely used in materials science and surface engineering for predictive tasks due to their high accuracy and feature importance analysis capabilities. Conclusion This study illustrates the integration of machine learning (ML) with materials science to develop durable, eco-friendly superhydrophobic (SHP) graphene-based coatings for copper. The choice of coatings to be used in this study fell on Ni-graphene composite films modified with myristic acid, which resulted in exceptional hydrophobicity, achieving a contact angle (CA) of up to 162°, while maintaining impressive stability under mechanical, chemical, and environmental stresses. Various ML models, including polynomial regression, XGBoost, Random Forest, Linear Regression, Support Vector Machine (SVM), and k-Nearest Neighbours (KNN), were employed to predict the performance of the coatings. Among these, the polynomial regression (Order 3), XGBoost, and Linear Regression models showed superior performance, closely aligning with experimental data even considering long term performances expressed in abrasion resistance and in exposure to potentially aggressive environments. The data augmentation techniques employed helped reduce overfitting, improving the models’ ability to generalize and enhance prediction accuracy. By minimizing the need for extensive experimental testing, ML models provided precise performance forecasting, significantly accelerating the design and analysis process. Data availability [Data analysed and code is available ​[​h​t​t​p​s​:​/​/​g​i​t​h​u​b​.​c​o​m​/​h​i​m​a​n​s​h​u​h​m​1​1​1​1​/​Z​n​-​M​A​/​t​r​e​e​/​m​a​i​n​]​(​h​t​t​p​s​:​/​g​i​t​h​u​b​.​c​o​](https://github.com/himanshuhm1111/Zn-MA/tree/main) m​/​h​i​m​a​n​s​h​u​h​m​1​1​1​1​/​Z​n​-​M​A​/​t​r​e​e​/​m​a​i​n​)​. ​ Received: 5 June 2025; Accepted: 29 August 2025 References 1. Athulya, V., Vanithakumari, S. C., Shankar, A. R. & Ningshen, S. Electrodeposition of myristate based superhydrophobic coatings on steel with enhanced corrosion resistance and self-cleaning property. _Surf. Coat. Technol._ 489 [, 131114. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​j​](https://doi.org/10.1016/j.surfcoat.2024.131114) [.​s​u​r​f​c​o​a​t​.​2​0​2​4​.​1​3​1​1​1​4 (2024).](https://doi.org/10.1016/j.surfcoat.2024.131114) ​ 2. Deng, Y. et al. A facile method for constructing scalable and low-cost superhydrophobic coating with anti-corrosion and drag reduction properties. _Ind. Crops Prod._ 216 [, 118732. https://doi.org/10.1016/j.indcrop.2024.118732 (2024).](https://doi.org/10.1016/j.indcrop.2024.118732) 3. Yin, Z. et al. A multifunctional and environmentally safe superhydrophobic membrane with superior oil/water separation, photocatalytic degradation and anti-biofouling performance. _J. Colloid Interface Sci._ 611 [, 93–104. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​j​.​j​c​i​s​.​2​0​](https://doi.org/10.1016/j.jcis.2021.12.070) [2​1​.​1​2​.​0​7​0 (2022).](https://doi.org/10.1016/j.jcis.2021.12.070) ​ 4. Anjum, A. S., Sun, K. C., Ali, M., Riaz, R. & Jeong, S. H. Fabrication of coral-reef structured nano silica for self-cleaning and super hydrophobic textile applications. _Chem. Eng. J._ 401, 25859–25859 (2020). 5. Li, M. et al. Facile fabrication of superhydrophobic and photocatalytic self-cleaning flexible strain sensor membrane for human motion. _Sens. Actuators Phys._ 363 [, 114750. https://doi.org/10.1016/j.sna.2023.114750 (2023).](https://doi.org/10.1016/j.sna.2023.114750) 6. Deng, Y. et al. Delaying frost formation by controlling surface chemistry of ZnO-coated 304 stainless steel surfaces. _Colloids Surf._ _Physicochem Eng. Asp_ 696 [, 134375. https://doi.org/10.1016/j.colsurfa.2024.134375 (2024).](https://doi.org/10.1016/j.colsurfa.2024.134375) 7. Yin, Z. et al. Superhydrophobic Photocatalytic Self-Cleaning Nanocellulose-Based Strain Sensor for Full-Range Human Motion Monitoring. _Adv. Mater. Interfaces_ 10 [(33), 2300350. https://doi.org/10.1002/admi.202300350 (2023).](https://doi.org/10.1002/admi.202300350) 8. Abiola, O. K. & Tobun, Y. Cocos nucifera L. water as green corrosion inhibitor for acid corrosion of aluminium in HCl solution. _Chin. Chem. Lett._ 21 [, 12, 1449–1452. https://doi.org/10.1016/j.cclet.2010.07.008 (2010).](https://doi.org/10.1016/j.cclet.2010.07.008) 9. Cho, E. C. et al. Robust multifunctional superhydrophobic coatings with enhanced water/oil separation, self-cleaning, anti corrosion, and anti-biological adhesion. _Chem. Eng. J._ 314, 347–357 (2017). 10. Zha, Q. et al. Facile construction of multifunctional 3D smart MOF-based polyurethane sponges with photocatalytic ability for efficient separation of oil-in-water emulsions and co-existing organic pollutant. _Chem. Eng. J._ 490 [, 151747. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​](https://doi.org/10.1016/j.cej.2024.151747) [6​/​j​.​c​e​j​.​2​0​2​4​.​1​5​1​7​4​7 (2024).](https://doi.org/10.1016/j.cej.2024.151747) ​ 11. Yang, G. et al. Robust mussel-inspired LBL carbon nanotube-based superhydrophobic polyurethane sponge for efficient oil–water separation utilizing photothermal effect. _Fuel_ 381 [, 133353. https://doi.org/10.1016/j.fuel.2024.133353 (2025).](https://doi.org/10.1016/j.fuel.2024.133353) 12. Siddiqui, A. R., Maurya, R., Katiyar, P. K. & Balani, K. Superhydrophobic, self-cleaning carbon nanofiber CVD coating for corrosion protection of AISI 1020 steel and AZ31 magnesium alloys. _Surf. Coat. Technol._ 404, 26421–26421 (2020). 13. Albayrak, S. et al. The Investigation of Hybrid and Layered Ha/Ta2o5 Sol-Gel Composite Coating on Az91 Mg Alloy, _SSRN_ _Electron. J._ [(2023). https://api.semanticscholar.org/CorpusID:256654717](https://api.semanticscholar.org/CorpusID:256654717) 14. Jameei Rad, P., Aliofkhazraei, M. & Darband, G. B. Ni-W nanostructure well-marked by Ni selective etching for enhanced hydrogen evolution reaction. _Int. J. Hydrog Energy_ . 44 [, 2, 880–894. https://doi.org/10.1016/j.ijhydene.2018.11.026 (2019).](https://doi.org/10.1016/j.ijhydene.2018.11.026) 15. Elias, L. & Chitharanjan Hegde, A. Electrodeposition of laminar coatings of Ni–W alloy and their corrosion behaviour. _Surf. Coat._ _Technol._ 283 [, 61–69. https://doi.org/10.1016/j.surfcoat.2015.10.025 (2015).](https://doi.org/10.1016/j.surfcoat.2015.10.025) 16. Cao, J. et al. In-situ fabrication of superhydrophobic surface on copper with excellent anti-icing and anti-corrosion properties. _Mater. Today Commun._ 33 [, 104633. https://doi.org/10.1016/j.mtcomm.2022.104633 (2022).](https://doi.org/10.1016/j.mtcomm.2022.104633) 17. Li, H., Sun, Y., Wang, Z. & Wang, S. Constructing Superhydrophobic Surface on Copper Substrate with Dealloying-Forming and Solution-Immersion Method. _Materials_ 15 [(14), 4816. https://doi.org/10.3390/ma15144816 (2022).](https://doi.org/10.3390/ma15144816) 18. Han, J. et al. A smart electroplating approach to fabricate mechanically robust and fluorine-free Ni-W alloys based superhydrophobic coating on al alloy. _Vacuum_ 217 [, 112501. https://doi.org/10.1016/j.vacuum.2023.112501 (2023).](https://doi.org/10.1016/j.vacuum.2023.112501) 19. Qiao, M., Ji, G., Lu, Y. & Zhang, B. Sustainable corrosion-resistant superhydrophobic composite coating with strengthened robustness. _J. Ind. Eng. Chem._ 121 [, 215–227. https://doi.org/10.1016/j.jiec.2023.01.025 (2023).](https://doi.org/10.1016/j.jiec.2023.01.025) 20. Mahdi. Ebrahimi, A., Bayat, S. R., Ardekani, E. S., Iranizad, & Moshfegh, A. Z. Sustainable superhydrophobic branched hierarchical ZnO nanowires: Stability and wettability phase diagram. _Appl. Surf. Sci._ 561 [, 150068. https://doi.org/10.1016/j.apsusc.2021.150068](https://doi.org/10.1016/j.apsusc.2021.150068) (2021). 21. Prasad Mamgain, H., Pal, R., Kumar, S., Brajpuriya, R. & Pandey, J. K. Machine Learning-Based stability prediction and analysis of polypropylene Cu-MA superhydrophobic coating on the aluminum substrate. _J. Phys. Chem. C_ . 128 [(40), 17184–17195. ​h​t​t​p​s​:​/​/​d​o​](https://doi.org/10.1021/acs.jpcc.4c05934) [i​.​o​r​g​/​1​0​.​1​0​2​1​/​a​c​s​.​j​p​c​c​.​4​c​0​5​9​3​4 (2024).](https://doi.org/10.1021/acs.jpcc.4c05934) ​ 22. Wang, Q., Dumond, J. J., Teo, J. & Low, H. Y. Superhydrophobic polymer topography design assisted by machine learning algorithms. _ACS Appl. Mater. Interfaces_ . 13 [, 25, 30155–30164. https://doi.org/10.1021/acsami.1c04473 (2021).](https://doi.org/10.1021/acsami.1c04473) 23. Usman, J. et al. Design and machine learning prediction of in situ grown PDA-Stabilized MOF (UiO-66-NH2) membrane for Low Pressure separation of emulsified oily wastewater. _ACS Appl. Mater. Interfaces_ . 16 [, 13, 16271–16289. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​2​1​/​a​c​s​a​m​](https://doi.org/10.1021/acsami.4c00752) [i​.​4​c​0​0​7​5​2 (2024).](https://doi.org/10.1021/acsami.4c00752) ​ 24. Elhady, S., Zaki, E. G., El-Azabawy, O. E. & Fahim, I. S. Electrochemical evaluation of green corrosion inhibitor based on ground coffee waste in Petroleum fields. _Results Eng._ 21 [, 101880. https://doi.org/10.1016/j.rineng.2024.101880 (2024).](https://doi.org/10.1016/j.rineng.2024.101880) 25. Li, M. et al. Myristic acid-tetradecanol-capric acid ternary eutectic/SiO2/MIL-100(Fe) as phase change humidity control material for indoor temperature and humidity control. _J. Energy Storage_ 74 [, 109437. https://doi.org/10.1016/j.est.2023.109437 (2023).](https://doi.org/10.1016/j.est.2023.109437) 26. Fawagreh, K., Gaber, M. M. & Elyan, E. Random forests: from early developments to recent advancements. _Syst. Sci. Control Eng._ 2 [, 1. https://doi.org/10.1080/21642583.2014.956265 (2014).](https://doi.org/10.1080/21642583.2014.956265) 27. Tafarroj, M. M., Mousavi Ajarostaghi, S. S., Ho, C. J. & Yan, W. M. Artificial neural network approaches for predicting the heat transfer in a Mini-Channel heatsink with alumina/water nanofluid. _J. Heat. Mass. Transf. Res._ 11 [(1), 75–88. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​2​2​](https://doi.org/10.22075/jhmtr.2024.32947.1520) [0​7​5​/​j​h​m​t​r​.​2​0​2​4​.​3​2​9​4​7​.​1​5​2​0 (2024).](https://doi.org/10.22075/jhmtr.2024.32947.1520) ​ 28. Chen, Y., Xiao, C., Yang, S., Yang, Y. & Wang, W. Research on long term power load grey combination forecasting based on fuzzy support vector machine. _Comput. Electr. Eng._ 116 [, 109205. https://doi.org/10.1016/j.compeleceng.2024.109205 (2024).](https://doi.org/10.1016/j.compeleceng.2024.109205) 29. John, V., Liu, Z., Guo, C., Mita, S. & Kidono, K. Real-Time lane Estimation using deep features and extra trees regression. In _Image_ _and Video Technology_ (eds Bräunl, T. et al.) 721–733 (Springer International Publishing, 2016). 30. Cuong-Le, T. et al. An efficient approach for damage identification based on improved machine learning using PSO-SVM. _Eng._ _Comput._ 38 [(4), 3069–3084. https://doi.org/10.1007/s00366-021-01299-6 (2022).](https://doi.org/10.1007/s00366-021-01299-6) 31. Paszkowicz, W. Genetic algorithms, a Nature-Inspired tool: survey of applications in materials science and related fields. _Mater._ _Manuf. Process._ 24 [, 2, 174–197. https://doi.org/10.1080/10426910802612270 (2009).](https://doi.org/10.1080/10426910802612270) 32. Barai, B. et al. Enhancing corrosion resistance of biodegradable magnesium alloys through hydrophobic surface modification: experimental analysis and ANN modeling. _Surf. Rev. Lett._ [https://doi.org/10.1142/S0218625X24500938 (2024).](https://doi.org/10.1142/S0218625X24500938) 33. Ragheb, D. M., Abdel-Gaber, A. M., Mahgoub, F. M. & Mohamed, M. E. Eco-friendly method for construction of superhydrophobic graphene-based coating on copper substrate and its corrosion resistance performance. _Sci. Rep._ 12 [(1), 17929. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​](https://doi.org/10.1038/s41598-022-22915-5) [0​3​8​/​s​4​1​5​9​8​-​0​2​2​-​2​2​9​1​5​-​5 (2022).](https://doi.org/10.1038/s41598-022-22915-5) ​ 34. Chen, T. & Guestrin, C. XGBoost: A Scalable Tree Boosting System, in _Proceedings of the 22nd ACM SIGKDD International_ _Conference on Knowledge Discovery and Data Mining_, in KDD ’16. Association for Computing Machinery, 785–794. (New York, [NY, USA, 2016). https://doi.org/10.1145/2939672.2939785](https://doi.org/10.1145/2939672.2939785) 35. Kazemi, M. M. K., Nabavi, Z. & Armaghani, D. J. A novel hybrid XGBoost methodology in predicting penetration rate of rotary based on Rock-Mass and material properties. _Arab. J. Sci. Eng._ 49 [(4), 5225–5241. https://doi.org/10.1007/s13369-023-08360-0](https://doi.org/10.1007/s13369-023-08360-0) (2024). 36. Swischuk, R., Mainini, L., Peherstorfer, B. & Willcox, K. Projection-based model reduction: formulations for physics-based machine learning. _Comput. Fluids_ . 179 [, 704–717. https://doi.org/10.1016/j.compfluid.2018.07.021 (2019).](https://doi.org/10.1016/j.compfluid.2018.07.021) 37. Tran, N. K., Kühle, L. C. & Klau, G. W. A critical review of multi-output support vector regression. _Pattern Recognit. Lett._ 178, [69–75. https://doi.org/10.1016/j.patrec.2023.12.007 (2024).](https://doi.org/10.1016/j.patrec.2023.12.007) 39. Zhang, C. et al. Enhancing state of charge and state of energy estimation in Lithium-ion batteries based on a TimesNet model with Gaussian data augmentation and error correction. _Appl. Energy_ 359 [, 122669. https://doi.org/10.1016/j.apenergy.2024.122669](https://doi.org/10.1016/j.apenergy.2024.122669) (2024). 38. Zhang, C. et al. Enhancing state of charge and state of energy estimation in Lithium-ion batteries based on a TimesNet model with Gaussian data augmentation and error correction. _Appl. Energy_ 3589, 129. (2021). Acknowledgements We express our heartfelt gratitude to the University of Petroleum and Energy Studies (UPES), Research and Development department UPES, HILL UPES for their support and guidance. Author contributions H.P.M. conceptualized the study and performed the machine learning modeling and data analysis. M.V.D. supervised on the ML P.R.P. contributed to materials synthesis and experimental validation. M.E.M. assisted in mechanical durability testing and corrosion analysis. J.K.P. and M.K. co-supervised the entire study and contributed to the interpretation of results. N.B. supported data curation and visualization. A.V. assisted in model tuning and regression validation. H.P.M. wrote the main manuscript text. Declarations Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​](https://doi.org/10.1038/s41598-025-18155-y) [0​.​1​0​3​8​/​s​4​1​5​9​8​-​0​2​5​-​1​8​1​5​5​-​y.](https://doi.org/10.1038/s41598-025-18155-y) ​​ Correspondence and requests for materials should be addressed to H.P.M., J.K.P. or M.K. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to [obtain permission directly from the copyright holder. To view a copy of this licence, visit ​h​t​t​p​:​/​/​c​r​e​a​t​i​v​e​c​o​m​m​o​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [n​s​.​o​r​g​/​l​i​c​e​n​s​e​s​/​b​y​-​n​c​-​n​d​/​4​.​0​/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) ​​ © The Author(s) 2025

섹션 본문 92문단 · 51,087자

(제목 없음)

1This study inspects the integration of machine learning (ML) techniques with materials science to develop durable, eco-friendly superhydrophobic (SHP) graphene-based coatings for copper.We employed various ML and regression models, including XGBoost, polynomial regression models, Random Forest (RF), K-Nearest Neighbours (KNN), and Support Vector Regression (SVR), to predict the stability of the contact angle (CA) under different stress conditions, such as NaCl immersion, abrasion cycles, tape peeling tests, sand impact, and open-air exposure.Our findings demonstrate that ensemble learning models, particularly XGBoost and Random Forest, outperform traditional regression techniques by effectively capturing nonlinear dependencies between stress parameters and CA retention.Higher-order polynomial regression models also exhibit strong predictive accuracy, making them well-suited for conditions where CA follows a well-defined trend.In contrast, SVR and KNN show limited generalization due to their sensitivity to hyperparameter selection and local interpolation effects, leading to weaker performance in datasets with high variability.ML-based algorithms predict CA values for tested coatings at longer term with respect to experimental tests, and underlined the beneficial effect of graphene incorporation in the coatings to extend the service life and preserve superhydrophobicity, overall reflecting the material's resilience under mechanical stress.The study highlights the importance of advanced predictive models, such as higher-degree polynomial regression and XGBoost, in capturing the complex relationships between variables influencing coating stability.Additionally, the integration of these models significantly accelerates the design and analysis process by reducing the reliance on time-consuming experimental testing.

Substrate production and characterization

2The working electrode used in the previous work from where data were extracted [33] is a copper plate of dimensions 20 mm × 10 mm × 3 mm.The chemicals used for substrate preparation and coating by electrodeposition include anhydrous ethanol, boric acid, sulfuric acid, nickel chloride hexahydrate, sodium hydroxide, nickel sulfate, and myristic acid.We here briefly report the preparation procedures used.Prior to electrodeposition, copper substrates were sequentially polished using silicon carbide (SiC) abrasive papers ranging from grade 150 to 800, followed by ultrasonic cleaning in a soap solution for 10 min and brief immersion in 0.5 M H₂SO₄ for 1 min.The substrates were then rinsed with distilled water.The electrodeposition bath consisted of NiSO₄ (176 g/L), NiCl₂•6 H₂O (40 g/L), and H₃BO₃ (60 g/L).Electrodeposition of nickel (Ni) films was carried out at an applied potential of 8.75 V using a platinum rod as the anode and the copper substrate as the cathode.For the fabrication of nickel-graphene (Ni-G) films, a graphite rod was used as the anode, and electrochemical exfoliation of graphene was simultaneously achieved at 10.0 V.The exfoliation process was facilitated by the generation of oxygen and hydroxyl radicals from water, enhancing intercalation and delamination of graphene sheets.After deposition, both Ni and Ni-G films were rinsed with distilled water and dried at room temperature for 24 h.Surface modification was performed by immersing the dried films in 0.01 M myristic acid for 15 min, followed by ethanol rinsing and air drying.The resulting films, Ni-MA and Ni-G-MA, were subjected to further characterization and stability analysis 33 .Samples were then subjected to mechanical and chemical stress, and coating stability and adhesion were tested through wettability measurements, as previously reported.

Machine learning framework for wettability of Ni-Ma-G coating

3In this study, a ML framework is developed to predict the wettability of Ni-MA and Ni-G-MA coatings, utilizing experimental data CA measurements.The goal is to build a predictive model that captures the relationship between various coating characteristics and external factors that influence wettability, including environmental conditions and processing parameters.

4The ML model incorporates a range of input features, including the coating deposition parameters and testing conditions such as abrasion cycles, tape peeling cycles, immersion in NaCl, and atmospheric exposure.CA is the primary target variable for the model, as it is the key indicator of coatings SHP properties.Data pre-processing steps were used to confirm the reliability of the model.These steps included normalization, feature selection, and outlier detection.A variety of ML algorithms were tested to determine their suitability for predicting the wettability of experimentally analysed coatings.Among these algorithms, artificial neural networks (ANN), random forests (RF) and support vector machines (SVM), XGBoost 34 and regression models 35 were evaluated for their ability to accurately predict CA and SA values under various conditions.To determine the model performance and ensure generalization to unseen data, cross-validation techniques were employed.These techniques help prevent overfitting and ensure that the model remains accurate when applied to new, unseen experimental data.Once trained, the ML model can predict the wettability characteristics of coatings under different experimental conditions, such as changes in temperature, voltage, pH levels, immersion time in NaCl solution, and number of abrasion cycles, referring to all mechanical damage tests performed (scratch, tape, sand impact).Additionally, to enhance the model performance, data augmentation techniques based on the introduction of Gaussian noise were applied.These techniques were compared with models trained on the original dataset to determine the effect of data augmentation on the model accuracy and generalization capability.

5As above mentioned, the study also delves into the relationship between CA and key environmental factors, including immersion time in NaCl solution, long term durability in atmospheric exposure, pH levels, and the number of abrasion cycles.By examining these relationships, the study objective is to understand the factors that govern the wettability behavior of coatings in different conditions and to predict its changes under varying conditions.A regression model was fitted to further explore the nonlinearities and higher-order interactions between the environmental variables and the wettability of the coatings.

Machine learning using random forest and XGBoost

6The XGBoost model, introduced by Chen et al. 34 , is one of the most advanced and widely used ML algorithms given its exceptional efficiency and performance.At its core, XGBoost leverages the concept of gradient boosting, which is a sequential group learning technique.It constructs multiple "weak learners" (mainly decision trees) in a stepwise manner, each new model seeks to rectify the mistakes of its predecessors.This iterative process enhances the accuracy of predictions by focusing on the residuals (the errors) left by earlier trees.

7One of the standouts feature of XGBoost is its ability to handle overfitting through the use of regularization.Unlike traditional gradient boosting methods, which may suffer from overfitting due to the accumulation of many weak models, XGBoost incorporates regularization terms into its objective function.This allows the model to control its complexity, balancing between fitting the training data well and maintaining the ability to generalize to new data.The objective function that XGBoost minimizes is a combination of two components: the prediction error and a regularization term that penalizes overly complex models, preventing overfitting.This is mathematically expressed as 34

8Where L is the loss function, yiis the actual value and y , ii is the predicted value, Ω (f k )is the regularization term, which controls the complexity of the model, γ T is a parameter that penalizes the number of trees in the model.ω represents the weights of the model and λ is the regularization parameter that controls the weight of the L 2 norm (ridge regression-like penalty) on the model parameter By minimizing this objective function, XGBoost not only improves predictive performance, but also ensures robustness by preventing overfitting.

9In contrast, the Random Forest (RF) model operates based on an entirely different philosophy.Rather than optimizing a single function, RF combines the predictions of multiple individual decision trees, each trained on a random portion of the dataset.Each tree in the forest generates its own prediction for a given input, and the final prediction is obtained by averaging the predictions of all trees in the ensemble.Considering the collection of decision trees, denoted as {T1, T2, . . . ,Tn}, in the random forest group, each tree, Ti generates a prediction yi, for a given input x .In a regression problem, the random forest ensemble final prediction, y, is usually obtained by taking the average of the predictions made by all the trees.

10The technique of averaging serves to mitigate the impact of individual tree projections and generates a more consistent and resilient overall prediction 35 .

Linear regression model

11Linear Regression is a supervised learning algorithm used for predicting continuous numerical values.It assumes a linear relationship between the independent variable(s) (features, X) and the dependent variable (target, y).

12The goal is to find the best-fit line that minimizes the difference between actual and predicted values.

Polynomial regression models

13Polynomial regression extends linear regression by modelling the relationship between independent variables (predictors) and the dependent variable (response) as an nth-degree polynomial.This method is especially effective for capturing non-linear relationships within the data, which can provide a more accurate fit for complex patterns that linear models might fail to capture.

14In the context of this study, polynomial regression is used to model the wettability of the Ni-MA and Ni-G-MA coating by considering the relation between the environmental and processing factors used in stressing the coatings and the resulting CA.

15The polynomial regression equation with one independent variable can be expressed in the general form:

16Here, y is the dependent variable, x is the independent variable, β 0 , β 1 , β 2 , . . .β n are the coefficients of the polynomial terms, ∈is the error term and n is the degree of the polynomial.The complexity of the relationship that the model can capture is determined by the degree of the polynomial.Polynomial regression models are commonly fitted using the method of least squares estimation, which aims to minimize the total sum of the squared discrepancies between the predicted and observed values.The polynomial terms coefficient is computed to optimize the fit to the data.The coefficients of the polynomial terms quantify the impact of each degree of the independent variable on the dependent variable.

17The coefficient β 1 indicates the linear relation between the independent and dependent variables, β 2 captures the quadratic relationship, and so on for higher-order terms 36 .

Support vector model (SVR)

18Support Vector Regression (SVR) is a ML model designed for regression tasks, aiming to predict continuous values.It builds upon the principles of Support Vector Machines (SVM), which are primarily utilized for classification, but are adapted in SVR to forecast real-valued outputs.The fundamental concept of SVR involves identifying a function that accurately represents the data while maintaining a specified margin of tolerance (ε), meaning that deviations within this margin are not penalized.The model works by identifying support vectors, which are the data points closest to the regression function and optimizing the function to be as flat as possible while minimizing prediction errors.To address non-linear relationships, SVR employs kernel functions, including radial basis function (RBF), polynomial, and linear kernels.These functions transform the data into higher-dimensional spaces, enabling the identification of linear relationships.The SVR is highly effective in high-dimensional spaces and demonstrates robustness against overfitting.However, it can be computationally intensive, particularly when dealing with large datasets.Additionally, it necessitates meticulous tuning of hyperparameters, including the regularization parameter (C) and ε.Despite these challenges, SVR is widely used in applications like time series forecasting and stock market prediction, where the relationships between variables are often complex and non-linear 37 .

19The goal of SVR is to find a function f(x) that predicts the target variable with minimal deviation from the actual data points, within a margin.The general form of the regression function is:

20Where w is the weight vector (the coefficients of the regression model), θ (x) is the mapping function that transforms the data into a higher-dimensional space through the kernel function and b is the bias term (the intercept).

Multilayer perceptron (MLP)

21A Multilayer Perceptron (MLP) is a sophisticated type of artificial neural network constructed for supervised learning tasks, including classification and regression.It comprises several layers of interconnected nodes, or neurons, where each neuron in one layer is linked to every neuron in the subsequent layer.The architecture comprises an input layer responsible for data reception, one or more hidden layers dedicated to information processing, and an output layer that produces the final predictions.In the hidden layers, each neuron takes inputs from the preceding layer, calculates a weighted sum, incorporates a bias, and applies an activation function-like ReLU or sigmoid-to introduce non-linearity.The output layer then produces the final prediction using an appropriate activation function, like softmax for classification tasks or linear activation for regression.During the training phase, the network learns its weights and biases through backpropagation, where the discrepancy between predicted and actual outputs is sent back through the network.Gradient descent is employed to adjust the weights, aiming to minimize this error effectively.The process involves forward propagation, loss calculation, and backward propagation, which are repeated until the model converges.The MLP ability to model complex relationships comes from its use of multiple hidden layers, enabling it to capture non-linear patterns in data 38 .

Experimental dataset

22The electrodeposited coatings on copper exhibited distinct micro-nano structures, with Ni-MA forming dendritic patterns and Ni-G-MA displaying a cauliflower-like morphology).SEM images of the coatings are reported with permission from [33]

Linear regression, xgboost, random forest

23This study investigates the correlation between superhydrophobicity and several influencing factors using machine learning models.The input variables included: number of days immersed in NaCl solution, pH levels, environmental exposure duration, number of tape peeling cycles, sand impact and number of abrasion cycles.

24The contact angle (CA) served as the sole output variable.

25Various ML algorithms were applied to analyse the data, including XGBoost, Random Forest (RF), polynomial regression, multilayer perceptron (MLP), gradient boosting, support vector regression (SVR), and k-nearest neighbours (KNN).The experimental datasets taken from the previous research 1 , and detailed in Tables S1-S12, were used to train separate models for each dataset.Additionally, the importance of each input variable in predicting the CA was evaluated and discussed, highlighting their influence on the SHP performance of the coatings 21 .Linear regression is initially used to capture any linear trends, providing a simple and direct approach to modelling the data.Polynomial regression models are then applied to better capture any nonlinear patterns, offering flexibility to model more complex relationships between CA and abrasion cycles.Additionally, we incorporate two advanced machine learning models: XGBoost, particularly effective in handling large datasets and complex relationships, and Random Forest, which combines predictions if multiple decision trees to improve accuracy.

26The study initially utilized the dataset related to abrasion cycles in Tables S1, S2.The objective was to develop regression models using the XGBoost and Random Forest (RF) algorithms to predict CA based on the provided input.The dataset was randomly divided into training and testing subsets using an 80:20 split.This approach ensured that a substantial portion of the data was available for model training while preserving a separate subset for evaluation.Both the XGBoost and Random Forest (RF) models were trained using the training dataset, and their performance was evaluated with the test dataset.

27Figure 1a represents the distribution of experimental values (in blue) and values predicted using linear regression, Random Forest and XG Boost ML models for Ni-MA coatings (red, green and yellow, respectively).Key performance metrics were then extracted and reported in Table 1, which included the mean squared error (MSE) and R-squared (R²) values.The MSE measured the average squared differences between the predicted and actual CA values, serving as an indicator of prediction accuracy, while, the R² value represented the proportion of variance in CA that the model explained.Performance metrics for both models are summarized in Table 2, highlighting their effectiveness in forecasting the CA.

28The Linear Regression model exhibited excellent performance, with an R² of 0.9979 and a low MSE of 0.229 on the testing data, indicating a near-perfect fit and a strong predictive power.The training data results were also impressive, with an R² of 0.9846 and an MSE of 1.118, suggesting that while the model performed well, it slightly underperformed on the training data compared to the testing set.This highlights the model ability to generalize effectively to unseen data while maintaining a good fit to the training data.In contrast, the Random Forest model showed a slightly higher MSE of 3.00976 on the testing data and an R² of 0.9719.While this is still a strong performance, it is less accurate than Linear Regression in terms of generalization to the testing data.However, the model performed well on the training data, with an MSE of 0.490 and an R² of 0.9933, suggesting that it was able to fit the training data very well.The difference between the training and testing performance indicates a potential overfitting of the Random Forest model to the training data.The XGBoost model, although powerful, demonstrated the highest testing MSE of 3.4182 and an R² of 0.9690, indicating slightly lower accuracy compared to both Linear Regression and Random Forest.On the training data, XGBoost performed exceptionally well, with an MSE of 0.100 and an R² of 0.999, suggesting that the model closely fits the training data.However, similar to Random Forest, this discrepancy in performance between training and testing data points to potential overfitting.Overall, Linear Regression provided the best balance of accuracy and generalization, with superior performance on both training and testing datasets.While Random Forest and XGBoost also demonstrated strong predictive capabilities, they showed a tendency to overfit the training data, leading to slightly reduced performance on the testing data.

29Similar considerations can be drawn on data related to Ni-G-MA coatings, reported in Fig. 1b, whose figures or merit are summarized in Table 3.Indeed, also in this case Linear Regression achieved the highest testing R² with a value of 0.9932 and a low MSE of 0.1557, indicating strong generalization and accuracy.Random Forest had a slightly lower testing R² of 0.9421 with a higher MSE of 1.3258, suggesting it made larger prediction errors but still performed well.XGBoost showed the lowest testing R² of 0.9380 and the highest MSE of 1.4181, indicating higher error rates and potential overfitting, despite achieving perfect accuracy on the training data.Overall, Linear Regression outperformed the other models in terms of both accuracy and generalization.

30To evaluate the predictive performance and robustness of the selected machine learning models, 5-fold crossvalidation was performed using R² (coefficient of determination) and mean squared error (MSE) as evaluation metrics.Among the tested models, linear regression demonstrated the highest accuracy, achieving an average R² of 0.9616 with a low standard deviation of 0.0504, indicating consistent performance across folds.It also yielded the lowest average MSE of 1.3047, confirming its suitability for modeling degradation trends that follow a relatively linear behavior.The Random Forest model also performed well, with an average R² of 0.9557 and MSE of 2.1399, though slightly less accurate and stable than linear regression, possibly due to sensitivity to data noise or moderate overfitting.In contrast, XGBoost showed comparatively lower performance, with an average R² of 0.8697 and a higher MSE of 5.4084.Additionally, its larger standard deviations in both R² (0.0849) and MSE (1.9493) suggest higher variability and reduced generalization capability.These results indicate that while ensemble models like Random Forest and XGBoost offer flexibility, simpler models such as linear regression may be more effective when the underlying data trends are predominantly linear, offering more reliable and interpretable predictions.

Data augmentation for XGBoost and RF

31Data augmentation was applied to the XGBoost and Random Forest models to mitigate overfitting and improve model performance.Among the different augmentation techniques available, Gaussian noise augmentation was selected for its simplicity, effectiveness, and ability to improve model performance.By adding small, controlled random perturbations, it helps prevent overfitting and increases the model exposure to varied data without altering the underlying structure.Unlike methods like SMOTE or jittering, Gaussian noise is easy to apply to both features and targets in regression tasks.It offers precise control over the noise level, allowing for finetuning based on model needs.This approach is computationally efficient, scalable, and ideal for situations where generating large datasets is impractical.Gaussian Noise Augmentation involves augmenting a given data point or feature vector, represented as x , by introducing Gaussian noise.Mathematically, this augmentation process can be expressed as 39 ,

32Where:

33xaugmt : represent the augmented data point.

34x : is the original data point.

35∈: is a random sample drawn from a Gaussian distribution with a mean of 0 and a specified standard deviation.σ

36The Gaussian distribution is defined as,

37The parameter σ specifies the level of noise that is added using Gaussian Noise Augmentation.Smaller values of σ indicate reduced noise, whereas larger values of σ result in more pronounced noise.In this study, a mean of 0 and a variance of 0.2 are used as Gaussian distribution parameters.

38As reported in Tables 4 and 5, data augmentation using Gaussian noise resulted in improved R² scores and reduced MSE for all three models, especially in the testing data.This suggests that augmenting the dataset with Gaussian noise helped the models generalize better by exposing them to a wider variety of data points, thus reducing overfitting.The slight improvements in the testing performance for Linear Regression and Random Forest highlight the benefits of adding augmented data, particularly when real-world data is limited or costly to acquire.XGBoost showed a more dramatic improvement in training performance, indicating that it might www.nature.com/scientificreports/have been overfitting to the original data, and Gaussian noise helped alleviate that issue, leading to better generalization on unseen data.The Table 6 show that Linear Regression outperforms both Random Forest and XGBoost in terms of generalization, with the lowest testing MSE (0.1582) and a high R² (0.9933).This indicates that it provides accurate predictions without overfitting.In contrast, Random Forest and XGBoost exhibit higher testing MSE values (1.3125 and 1.4085, respectively) and lower testing R², suggesting they struggle more with generalization.Notably, XGBoost has an almost perfect training R² (0.9999) and an extremely low training MSE (0.000779), indicating overfitting, where the model memorizes training data but does not perform as well on new data.

39Table 7 Figure S3 further confirms these trends, as Linear Regression closely follows the experimental CA values, while Random Forest and XGBoost show minor deviations, particularly at higher abrasion lengths.For example, at 650 mm, the experimental CA is 147, but Random Forest predicts 150, and XGBoost predicts 148, highlighting their slightly reduced accuracy.These results suggest that while all models perform reasonably well, Linear Regression remains the most reliable choice for this dataset, balancing both accuracy and generalization effectively.

40To assess the generalization performance of the models, 5-fold cross-validation was conducted using mean squared error (MSE) and R² as evaluation metrics.Linear Regression outperformed the other models, achieving the lowest cross-validated MSE of 0.5355 and the highest R² of 0.9704, indicating excellent predictive accuracy and minimal error on unseen data.Random Forest followed with a higher MSE of 1.3847 and an R² of 0.9235, reflecting good but slightly less consistent performance.XGBoost showed the highest MSE at 1.8816 and the lowest R² of 0.8961 among the three, suggesting that while it can capture complex patterns.Overall, the results highlight that linear regression is the most suitable model for this dataset, likely due to the largely linear nature of contact angle degradation trends under the tested conditions.

Other ML models

41Other models were applied to NI-MA and NI-G-MA CA values on different abrasion cycles to capture the corelation between input and output.Result of MSE and R 2 are listed in Table 8, Fig. 2.

42Table 8 summarizes the performance of various regression models in predicting the contact angle (CA) variation with abrasion length for Ni-MA coatings.Among them, the third-order polynomial regression demonstrated the highest accuracy, with the lowest mean squared error (MSE: 0.2988) and the highest coefficient of determination (R²: 0.9973), indicating a near-perfect fit.The second-order polynomial model also performed well (MSE: 1.8579, R²: 0.9831), capturing the overall trend effectively.However, the fourth-order polynomial exhibited a slightly higher error (MSE: 2.1525, R²: 0.9805), possibly due to overfitting.In contrast, the support vector regression (SVR) model showed poor predictive capability (MSE: 61.6268, R²: 0.4409), likely due to its sensitivity to the dataset's complexity.The k-nearest neighbours (KNN) model performed better (MSE: 3.7870, R²: 0.9656) but still lagged behind polynomial regression.KNN's performance is influenced by the choice of neighbours (k) and its reliance on local interpolation.Since CA variation with abrasion length follows a continuous nonlinear trend, KNN's distance-based approach may fail to generalize well across the entire dataset, leading to inconsistencies.Moreover, KNN is sensitive to noise, and the presence of abrupt changes in CA values can distort its predictions while SVR relies on finding a hyperplane that maximizes the margin within a specified tolerance (epsilon-tube) around the data points, which makes it highly sensitive to the choice of hyperparameters such as kernel type, regularization parameter (C), and epsilon value.If these parameters are not carefully tuned, the model may struggle to capture highly nonlinear patterns, as seen in CA variation with abrasion length.Additionally, SVR assumes that small deviations within the epsilon range are not significant, which might limit its accuracy in datasets where small variations are critical.

43In the Table 2 the second-order polynomial regression model achieved a good fit with an MSE of 0.2993 and an R² of 0.9869, capturing most of the data variation.The third-order polynomial regression performed the best, with an exceptionally low MSE of 0.0428 and a high R² of 0.9981, showing high predictive accuracy.In contrast, the fourth-order polynomial regression showed a higher MSE of 1.0509 and a lower R² of 0.9541, suggesting overfitting as the model increased complexity.The Support Vector Regression (SVR) model exhibited the highest MSE of 6.6876 and an R² of 0.7078, indicating poor performance likely caused by its sensitivity to noise and lack of proper tuning.The K-Nearest Neighbours (KNN) model showed moderate results, with an MSE of 2.3056 and an R² of 0.8993, which was better than SVR but still behind the polynomial models.

44In Fig. 3 the CA distributions obtained using polynomial regression order 2,3,4, as well as the models and KNN, are presented for Ni-G-MA.Overall, the third-order polynomial regression model outperformed the others.Indeed, the polynomial regression model, especially of order 3, effectively captured the nonlinear relationships within the data, which is crucial for the accurate prediction of contact angles.Compared to other models, Polynomial Regression (Order 3) demonstrated a better balance between bias and variance, as it did not overfit to the training data, unlike models such as XGBoost, which showed overfitting with a perfect training R² but a poor R² on testing data.While Linear Regression also performed well, it did not fully capture the complexities of the dataset, and models like SVR and KNN yielded lower performance in terms of R² and MSE.Therefore, Polynomial Regression (Order 3) stands out due to its ability to model the data underlying patterns more effectively and with greater accuracy.Polynomial regression, particularly the second-and thirdorder models, performed best because they effectively captured the dataset's nonlinear pattern without excessive complexity.The fourth-order polynomial suffered from overfitting.SVR performed the worst, likely due to improper tuning and sensitivity to noise, while KNN showed decent but not outstanding performance due to its reliance on local neighbourhood relationships rather than an explicit global function.

45The performance of various regression models was evaluated using cross-validation to predict the target output.Among the polynomial models, the third-degree polynomial (Poly3) exhibited the best performance with the lowest mean squared error (MSE) of 0.6649 and the highest coefficient of determination (R²) of 0.9918, indicating a strong fit to the data.In comparison, Poly2 and Poly4 showed slightly higher MSE values of 1.2249 and 1.2924, with corresponding R² values of 0.9849 and 0.9840, respectively.The k-nearest neighbors (KNN) model also demonstrated good predictive accuracy with an MSE of 3.5675 and an R² of 0.9559.However, the support vector regression (SVR) model yielded significantly poorer results, with a high MSE of 46.4255 and a low R² of 0.4262, indicating limited suitability for this dataset.Overall, the Poly3 model emerged as the most reliable among the tested algorithms.

Tape peeling and chemical stability datasets

46The dataset presented in Table S3, Table S4 was analysed to investigate the relationship between the contact angle (CA) and tape peeling cycles.To achieve this, various modelling techniques were applied, including linear regression, polynomial regression, XGBoost, and Random Forest, as illustrated in Fig. 6.For capturing potential nonlinear relationships, polynomial regression models of degrees 2 through 4 were utilized, offering enhanced flexibility to accurately represent complex patterns within the data.Advanced ML models, such as XGBoost and Random Forest, were also employed as their ability to handle intricate, nonlinear associations effectively.These approaches provided a robust framework to complement traditional regression methods, enabling a more comprehensive understanding of the underlying trends in the dataset.

47Table 9 presents the Mean Squared Error (MSE) and R² values for different regression models applied to Ni-MA data.The results indicate that the XGBoost model outperforms all others, achieving the lowest MSE (0.0001) and the highest R² (0.9999), demonstrating its superior predictive accuracy.Random Forest and higher-order Polynomial Regression models also exhibit strong performance, with R² values exceeding 0.99, while Linear Regression has the highest MSE (0.4090), suggesting a weaker fit.The trend highlights the advantage of nonlinear models in capturing complex relationships within the data, with XGBoost providing the most precise predictions (Fig. 4).

48In Table 10; Fig. 5, the results illustrate the effectiveness of various models in predicting the CA based on tape-peeling cycles.Linear regression performed well, with an MSE of 0.1161 and an R² of 0.9931, capturing the overall linear trend in the data.However, nonlinear models offered better flexibility in identifying subtle patterns.Polynomial regression models demonstrated significant improvements, with the second-order model achieving an MSE of 0.1159 and an R² of 0.9932, while the third-and fourth-order models further enhanced predictions, both achieving an MSE of 0.0620 and an R² of 0.9963.Advanced machine learning techniques were also applied, with Random Forest achieving an MSE of 0.1561 and an R² of 0.9908, effectively modelling the dataset's nonlinear features.The XGBoost model outshone all others, achieving an outstandingly low MSE of 0.00098 and an R² of 0.999, underscoring its ability to model complex relationships with exceptional accuracy and reliability.While polynomial regression and Random Forest provided strong performance, XGBoost proved to be the most accurate and versatile model.The comparative evaluation of regression models using 5-fold cross-validation revealed that polynomial regression models outperformed other approaches in terms of prediction accuracy.Specifically, the fourth-order polynomial regression model achieved the best performance, with the lowest mean squared error (MSE) of 0.1674 and the highest coefficient of determination (R²) of 0.9884.This was closely followed by the third-order polynomial model (MSE: 0.1951, R²: 0.9864), indicating that increasing the polynomial order up to a certain extent improves model fit.The second-order polynomial and linear regression models also showed strong performance, with R² values of 0.9704 and 0.9640, respectively.In contrast, ensemble models such as Random Forest and XGBoost demonstrated relatively lower predictive accuracy, with MSE values of 0.7424 and 1.4772, and corresponding R² values of 0.9484 and 0.8972.These findings confirm the effectiveness of polynomial regression, particularly of orders three and four, in capturing the underlying patterns in the dataset.

49In the dataset presented in Table S5, S6 we begin the analysis by plotting the CA against the number of sand impact cycles.To show the relationship between these variables, we employ a combination of polynomial regression, linear regression, XGBoost, and Random Forest models.

50Table 11 presents the Mean Squared Error (MSE) and R² values for Ni-MA modeling using Linear Regression, Random Forest, and XGBoost.The Linear Regression model demonstrates the best performance with the lowest MSE (0.1336) and highest R² (0.9863), indicating strong predictive accuracy and minimal error.The Random Forest model shows slightly higher error (MSE = 0.3162) and a lower R² (0.9675), suggesting a moderate decrease in performance.In contrast, the XGBoost model exhibits significantly higher MSE (1.4160) and lower R² (0.8544), indicating a poorer fit, due to overfitting, hyperparameter tuning issues.

51Figure 6 presents a scatter plot comparing the predicted and experimental contact angles (CA°) as a function of the number of sand impact cycles.The black dots represent experimental data, while predictions from Linear Regression (LR), Random Forest (RF), and XGBoost models are indicated by red crosses, green crosses, and blue crosses, respectively.

52The plot shows that Linear Regression and Random Forest predictions closely align with the experimental values, particularly at lower sand impact cycles, reinforcing their superior performance (as indicated by the lower MSE and higher R² values in Table 11).In contrast, the XGBoost model exhibits greater deviations, especially at higher impact cycles, In Table 12; Fig. 7, the Linear Regression model is the best, with the lowest MSE (0.1250) and highest R² (0.9945), showing it fits the data most accurately.The other models, Random Forest and XGBoost, have higher MSE and lower R² values, suggesting less accurate predictions.

53The 5-fold cross-validation analysis further highlights the superiority of linear regression for this dataset.Linear regression achieved the lowest mean squared error (MSE) of 0.2820 and the highest coefficient of determination (R²) of 0.9826, indicating an excellent fit and strong predictive capability.In contrast, ensemble models such as Random Forest and XGBoost showed relatively lower performance, with MSE values of 1.6400 and 2.2089, and R² values of 0.8987 and 0.8635, respectively.Although ensemble techniques are generally robust for complex, non-linear data, in this case, the simplicity of linear regression appears to better capture the underlying relationships, likely due to the dataset's linear or near-linear characteristics.

54In Table S7, S8 we analyse the relationship between the CA and number of days in NaCl (0.5 M) solution by plotting the data and applying again various machine learning models.

55Cross-validation (5-fold) was conducted to evaluate the performance and generalization capability of different regression models.Linear regression exhibited the best performance among the evaluated models, with a mean squared error (MSE) of 0.1887 ± 0.1297.Random Forest and XGBoost showed significantly higher errors, with MSE values of 2.1400 ± 1.3269 and 3.8006 ± 0.9731, respectively.

56Figure .8 illustrates the variation of contact angle (CA°) over time of immersion in NaCl (days) using actual data (black dots) and predictions from three models: Linear Regression (blue line), Random Forest (orange line), and XGBoost (green line).The Linear Regression model follows a smooth, linear trend, closely approximating the overall experimental pattern.The Random Forest and XGBoost models, in contrast, exhibit step-like predictions, characteristic of tree-based models.While Random Forest predictions align relatively well with actual data, XGBoost shows larger deviations, particularly at certain intervals, reinforcing its higher MSE (3.1235) and lower R² (0.8867) Table 13.This suggests that XGBoost struggles with the dataset's characteristics, potentially due to overfitting or sensitivity to variations in the data.In Table 14; Fig. 9, considering the same phenomenon on coating Ni-G-MA, the Linear Regression model is the best, with the lowest MSE (0.1250) and highest R² (0.9945), showing it fits the data most accurately.The ML models were also applied to data in Table S9, S10 to find out correlation between CA and number of days of exposure in open environment.

57Table 15; Fig. 10 compare the performance of various models in predicting contact angle values after outdoor exposure in coating Ni-MA.The Polynomial Regression models of order 2 and 3 achieve the best results with the lowest MSE (0.1125) and highest R² (0.9854), indicating excellent predictive accuracy.Random Forest also performs well (MSE = 0.3085, R² = 0.9601), outperforming Linear Regression (MSE = 0.4228, R² = 0.9452) and XGBoost (MSE = 0.6668, R² = 0.9137).The fourth-order polynomial model (MSE = 0.2446, R² = 0.9683) shows slight overfitting, suggesting that a second-or third-order polynomial is optima for this dataset.

58In Table 16 Fig.11, when applying the models to outdoor exposure of coating Ni-G-MA, the Polynomial Regression of Order 3 performs the best, with the lowest MSE (0.0393) and the highest R² (0.9949).This indicates a very close fit to the data, capturing the underlying relationship with high accuracy.Polynomial Regression of higher orders (4) and other models, such as Random Forest and XGBoost, show slightly worse performance, likely due to overfitting (in the case of higher polynomial orders) or a less optimal fit compared to the cubic model.The Linear Regression also performs reasonably well, but its MSE and R² indicate it doesn't capture the more complex relationship as effectively as the cubic polynomial.A detailed 5-fold cross-validation was performed to assess the predictive accuracy and stability of multiple regression models.Among all models, polynomial regression of order 2 demonstrated the best performance, achieving the lowest mean squared error (MSE) of 0.0566 ± 0.0506 and the highest mean R² value of 0.9866 ± 0.0081, indicating excellent fit and low variance across folds.Polynomial regressions of orders 3 and 4 followed closely, with MSEs of 0.0601 and 0.0771 and R² values of 0.9797 and 0.9796, respectively, suggesting that higher-order terms do not significantly enhance model performance beyond the second order.Among the non-polynomial models, Random Forest outperformed both Linear Regression and XGBoost, achieving an MSE Eventually, concerning data related to coatings immersion in different pH and reported in Table S11, S12, all models struggle to predict contact angle (CA) at different pH levels, with high MSE values and mostly negative R² scores, likely due to the small dataset failing to capture underlying patterns.Among them, the fourth-order polynomial model (Poly Order 4) performs relatively better, achieving the lowest MSE (0.4118) and the only positive R² (0.5882).However, despite its improved fit compared to other models, its predictive accuracy remains suboptimal, suggesting that the dataset lacks sufficient variation for reliable trend identification Figure S4.

Stability prediction on superhydrophobic coatings

59In this study, we employed a variety of machine learning (ML) and regression models, including XGBoost, K-Nearest Neighbours (KNN), Random Forest (RF), Support Vector Regression (SVR), and multiple polynomial regression models, to predict the stability of the contact angle (CA) under different environmental and mechanical stress conditions.These conditions included immersion in NaCl solution, varying abrasion cycles, tape peeling tests, sand impact, and open-air exposure.Our analysis revealed that the best-performing model varied depending on the specific degradation mechanism.For abrasion cycles and tape peeling tests, linear regression performed best, as the CA degradation followed a relatively linear trend due to gradual surface wear and adhesive forces.XGBoost also demonstrated strong predictive capability in these cases, benefiting from its ability to detect slight nonlinearities while remaining robust against noise.However, for sand impact and open-air exposure, where the CA degradation followed a nonlinear trend, third-order polynomial regression (cubic regression) outperformed other models.The nature of sand impact resulted in an initial sharp decline in CA followed by stabilization, while open-air exposure led to a time-dependent degradation influenced by oxidation and contamination effects.Higher-order polynomial regression effectively captured these nonlinear trends, whereas simpler models like linear regression and SVR failed to generalize well.Among all models, XGBoost consistently delivered strong performance across multiple conditions, as it could handle both linear and nonlinear relationships while effectively reducing overfitting.In contrast, SVR and KNN exhibited weaker predictive capabilities.SVR struggled due to its sensitivity to hyperparameter tuning, leading to suboptimal performance in highly nonlinear cases such as sand impact and open-air exposure.KNN, being a distance-based algorithm, was less effective at capturing long-term trends and tended to overfit localized variations, making it unsuitable for extrapolating CA degradation over extended periods.

60Using the best-performing model in each case, the contact angle (CA) values were predicted under different untested conditions, as shown in Figure .12.These predicted values closely match the experimental results until available (Figure S5, S6 Table S13), confirming the model reliability in estimating CA under different environmental and mechanical conditions.Moreover, these values allow to draw conclusions on the long-term behavior of these coatings, indicating that Ni-G-MA overperforms Ni-MA.to the presence of graphene not only in initial conditions, but also by preserving, or approaching, superhydrophobicity on a longer run even when subjected to strong mechanical stress.The only clear point of failure of superhydrophobicity for both coatings was for prolonged contact with salty water, which indeed is one of the major concerns in the field of coatings durability.

61Based on the predicted contact angle data), NaCl immersion emerged as the most critical degradation factor, especially over prolonged exposure (100 days), where both Ni-MA and Ni-G-MA coatings experienced a substantial drop in contact angle falling below the 150° superhydrophobic threshold.In contrast, air storage, sand impingement, and tape peeling exhibited relatively minor influence, with contact angles consistently remaining above 150°, indicating better stability under those conditions.Notably, abrasion resistance was improved in Ni-G-MA compared to Ni-MA, suggesting that graphene incorporation enhanced mechanical robustness.This analysis highlights chemical durability particularly in corrosive environments as the most significant challenge to maintaining long-term superhydrophobicity, and has been discussed in detail in the revised manuscript.

62Linear Regression was chosen as a baseline due to its simplicity and interpretability.Polynomial Regression (orders 2-4) was applied to capture potential non-linear relationships between the input features and the predicted contact angle.Random Forest and XGBoost, both ensemble-based models, were selected for their ability to model complex, non-linear interactions and their robustness to overfitting.These models are widely used in materials science and surface engineering for predictive tasks due to their high accuracy and feature importance analysis capabilities.

Conclusion

63This study illustrates the integration of machine learning (ML) with materials science to develop durable, eco-friendly superhydrophobic (SHP) graphene-based coatings for copper.The choice of coatings to be used in this study fell on Ni-graphene composite films modified with myristic acid, which resulted in exceptional hydrophobicity, achieving a contact angle (CA) of up to 162°, while maintaining impressive stability under mechanical, chemical, and environmental stresses.Various ML models, including polynomial regression, XGBoost, Random Forest, Linear Regression, Support Vector Machine (SVM), and k-Nearest Neighbours (KNN), were employed to predict the performance of the coatings.Among these, the polynomial regression (Order 3), XGBoost, and Linear Regression models showed superior performance, closely aligning with experimental data even considering long term performances expressed in abrasion resistance and in exposure to potentially aggressive environments.The data augmentation techniques employed helped reduce overfitting, improving the models' ability to generalize and enhance prediction accuracy.By minimizing the need for extensive experimental testing, ML models provided precise performance forecasting, significantly accelerating the design and analysis process.

Fig. 1 .

64Fig. 1.Distribution of predicted and measured contact angle values from linear regression, random forest and Xgboost for (a) Ni-MA and (b) Ni-G-MA.

Fig. 2 .Table 8 .

65Fig. 2. Distribution of predicted and measured contact angle values from polynomial regression order 2,3,4, SVR and KNN models for Ni-MA.

Fig. 3 .

66Fig. 3. Distribution of predicted and measured contact angle values from polynomial regression order 2,3,4, SVR and KNN models for Ni-G-MA.

Fig. 4 .Table 9 .

67Fig. 4. Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, poly order 2,3,4 for Ni-MA.

Fig. 5 .

68Fig. 5. Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, poly order 2,3,4 for Ni-G-MA.

Fig. 6 .

69Fig. 6.Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-MA.

Fig. 8 .

70Fig. 8. Distribution of predicted and measured contact angle values from linear regression, XGBoost, Random Forest, for Ni-MA.

Fig. 7 .

71Fig. 7. Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA.

Fig. 9 .

72Fig. 9. Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA.

Fig. 12 .

73Fig. 12. Predicted contact angle values from linear for Ni-MA and Ni-G-MA.

Fig. 11 .

74Fig. 11.Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-G-MA.

7533A images of the coatings are reported with permission from33in Supplementary Figures S2.This behavior aligns with the Cassie-Baxter model, where micro-and nano-scale structuring enhances WCA.

Table 3 .

76MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA-G.

77ModelMSE (Testing) R 2 (Testing) MSE (Training) R 2 (Training)

Table 2 .

78MSE and R 2 value by polynomial regression of different orders, SVR and KNN models for Ni-G-MA.

Table 1 .

79MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA.

Table 5 .

80Comparison between experimental and predicted CA by different ML models for Ni-MA after data augmentation.

Table 4 .

81MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA after data augmentation.

Table 7 .

82Comparison between experimental and predicted CA by different ML models for Ni-G-MA after data augmentation.

Table 6 .

83MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-G-MA after data augmentation.

Table 10 .

84MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-G-MA.

Table 11 .

85MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA.

Table 12 .

86MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-G-MA.

Table 14 .

87MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-G-MA.

Table 13 .

88MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA.

Table 16 .

89MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-G-MA.

90Fig. 10.Distribution of predicted and measured contact angle values from linear regression XGBoost, Random Forest, for Ni-MA.

Table 15 .

91MSE and R 2 value by linear regression, XG boost model and random forest model for Ni-MA.

92of 0.2291 ± 0.1916 and R² of 0.9333 ± 0.0385.Linear Regression yielded a mean MSE of 0.1855 ± 0.1269 and R² of 0.9025 ± 0.0902, while XGBoost showed the lowest performance with an MSE of 0.3667 ± 0.1869 and R² of 0.8094 ± 0.1477.Overall, these results clearly indicate that second-order polynomial regression offers the best balance of accuracy and generalizability for this dataset.

참고문헌 38건

  1. Electrodeposition of laminar coatings of Ni–W alloy and their corrosion behaviour Surface and Coatings Technology · Elsevier BV · 2015 10.1016/j.surfcoat.2015.10.025
  2. Cocos nucifera L. water as green corrosion inhibitor for acid corrosion of aluminium in HCl solution Chinese Chemical Letters · Elsevier BV · 2010 10.1016/j.cclet.2010.07.008
  3. Random forests: from early developments to recent advancements Systems Science & Control Engineering · Taylor & Francis · 2014 10.1080/21642583.2014.956265
  4. XGBoost 2016 10.1145/2939672.2939785
  5. Real-Time Lane Estimation Using Deep Features and Extra Trees Regression Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-29451-3_57
  6. Robust multifunctional superhydrophobic coatings with enhanced water/oil separation, self-cleaning, anti-corrosion, and anti-biological adhesion Chemical Engineering Journal · Elsevier BV · 2016 10.1016/j.cej.2016.11.145
  7. Projection-based model reduction: Formulations for physics-based machine learning Computers & Fluids · Elsevier BV · 2018 10.1016/j.compfluid.2018.07.021
  8. Ni-W nanostructure well-marked by Ni selective etching for enhanced hydrogen evolution reaction International Journal of Hydrogen Energy · Elsevier BV · 2018 10.1016/j.ijhydene.2018.11.026
  9. Fabrication of coral-reef structured nano silica for self-cleaning and super-hydrophobic textile applications Chemical Engineering Journal · Elsevier BV · 2020 10.1016/j.cej.2020.125859
  10. Superhydrophobic, self-cleaning carbon nanofiber CVD coating for corrosion protection of AISI 1020 steel and AZ31 magnesium alloys Surface and Coatings Technology · Elsevier BV · 2020 10.1016/j.surfcoat.2020.126421
  11. An efficient approach for damage identification based on improved machine learning using PSO-SVM Engineering With Computers · Springer Science+Business Media · 2021 10.1007/s00366-021-01299-6
  12. Sustainable superhydrophobic branched hierarchical ZnO nanowires: Stability and wettability phase diagram Applied Surface Science · Elsevier BV · 2021 10.1016/j.apsusc.2021.150068
  13. Superhydrophobic Polymer Topography Design Assisted by Machine Learning Algorithms ACS Applied Materials & Interfaces · American Chemical Society · 2021 10.1021/acsami.1c04473
  14. A multifunctional and environmentally safe superhydrophobic membrane with superior oil/water separation, photocatalytic degradation and anti-biofouling performance Journal of Colloid and Interface Science · Elsevier BV · 2021 10.1016/j.jcis.2021.12.070
  15. Genetic Algorithms, a Nature-Inspired Tool: Survey of Applications in Materials Science and Related Fields Materials and Manufacturing Processes · Taylor & Francis · 2009 10.1080/10426910802612270
  16. Constructing Superhydrophobic Surface on Copper Substrate with Dealloying-Forming and Solution-Immersion Method Materials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ma15144816
  17. In-situ fabrication of superhydrophobic surface on copper with excellent anti-icing and anti-corrosion properties Materials Today Communications · Elsevier BV · 2022 10.1016/j.mtcomm.2022.104633
  18. Eco-friendly method for construction of superhydrophobic graphene-based coating on copper substrate and its corrosion resistance performance Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-22915-5
  19. Sustainable corrosion-resistant superhydrophobic composite coating with strengthened robustness Journal of Industrial and Engineering Chemistry · Elsevier BV · 2023 10.1016/j.jiec.2023.01.025
  20. The Investigation of Hybrid and Layered Ha/Ta2o5 Sol-Gel Composite Coating on Az91 Mg Alloy SSRN Electronic Journal · Social Science Electronic Publishing · 2023 10.2139/ssrn.4349298
  21. A smart electroplating approach to fabricate mechanically robust and fluorine-free Ni-W alloys based superhydrophobic coating on Al alloy Vacuum · Elsevier BV · 2023 10.1016/j.vacuum.2023.112501
  22. Superhydrophobic Photocatalytic Self‐Cleaning Nanocellulose‐Based Strain Sensor for Full‐Range Human Motion Monitoring Advanced Materials Interfaces · Wiley · 2023 10.1002/admi.202300350
  23. Facile fabrication of superhydrophobic and photocatalytic self-cleaning flexible strain sensor membrane for human motion Sensors and Actuators A Physical · Elsevier BV · 2023 10.1016/j.sna.2023.114750
  24. Myristic acid-tetradecanol-capric acid ternary eutectic/SiO2/MIL-100(Fe) as phase change humidity control material for indoor temperature and humidity control Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.109437
  25. A novel Hybrid XGBoost Methodology in Predicting Penetration Rate of Rotary Based on Rock-Mass and Material Properties Arabian Journal for Science and Engineering · Springer Science+Business Media · 2023 10.1007/s13369-023-08360-0
  26. A critical review of multi-output support vector regression Pattern Recognition Letters · Elsevier BV · 2023 10.1016/j.patrec.2023.12.007
  27. Enhancing state of charge and state of energy estimation in Lithium-ion batteries based on a TimesNet model with Gaussian data augmentation and error correction Applied Energy · Elsevier BV · 2024 10.1016/j.apenergy.2024.122669
  28. Electrochemical evaluation of green corrosion inhibitor based on ground coffee waste in Petroleum fields Results in Engineering · Elsevier BV · 2024 10.1016/j.rineng.2024.101880
  29. Enhancing Corrosion Resistance of Biodegradable Magnesium Alloys through Hydrophobic Surface Modification: Experimental Analysis and ANN Modeling Surface Review and Letters · World Scientific · 2024 10.1142/s0218625x24500938
  30. Design and Machine Learning Prediction of In Situ Grown PDA-Stabilized MOF (UiO-66-NH<sub>2</sub>) Membrane for Low-Pressure Separation of Emulsified Oily Wastewater ACS Applied Materials & Interfaces · American Chemical Society · 2024 10.1021/acsami.4c00752
  31. Research on long term power load grey combination forecasting based on fuzzy support vector machine Computers & Electrical Engineering · Elsevier BV · 2024 10.1016/j.compeleceng.2024.109205
  32. Facile construction of multifunctional 3D smart MOF-based polyurethane sponges with photocatalytic ability for efficient separation of oil-in-water emulsions and co-existing organic pollutant Chemical Engineering Journal · Elsevier BV · 2024 10.1016/j.cej.2024.151747
  33. A facile method for constructing scalable and low-cost superhydrophobic coating with anti-corrosion and drag-reduction properties Industrial Crops and Products · Elsevier BV · 2024 10.1016/j.indcrop.2024.118732
  34. Delaying frost formation by controlling surface chemistry of ZnO-coated 304 stainless steel surfaces Colloids and Surfaces A Physicochemical and Engineering Aspects · Elsevier BV · 2024 10.1016/j.colsurfa.2024.134375
  35. Electrodeposition of myristate based superhydrophobic coatings on steel with enhanced corrosion resistance and self-cleaning property Surface and Coatings Technology · Elsevier BV · 2024 10.1016/j.surfcoat.2024.131114
  36. Machine Learning-Based Stability Prediction and Analysis of Polypropylene Cu-MA Superhydrophobic Coating on the Aluminum Substrate The Journal of Physical Chemistry C · American Chemical Society · 2024 10.1021/acs.jpcc.4c05934
  37. Robust mussel-inspired LBL carbon nanotube-based superhydrophobic polyurethane sponge for efficient oil–water separation utilizing photothermal effect Fuel · Elsevier BV · 2024 10.1016/j.fuel.2024.133353
  38. Artificial Neural Network Approaches for Predicting the Heat Transfer in a Mini-Channel Heatsink with Alumina/Water Nanofluid SHILAP Revista de lepidopterología · 2024 10.22075/jhmtr.2024.32947.1520