Ultrasound-assisted extraction of phytochemicals from green coconut shell: Optimization by integrated artificial neural network and particle swarm technique

This study employs artificial neural network (ANN) and particle swarm optimization (PSO) to maximize antioxidant and antimicrobial activity from green coconut shells. Phytochemical analysis was carried out on the extract obtained from ultrasound-assisted extraction performed at different combinations of time (10, 20, and 30 min), temperature (30, 35, and 40 °C), and the ratio of solid-solvent (1:10, 1:20, and 1:30 g/ml). The presence of these bioactive compounds exhibits antimicrobial and antioxidant activities. Quantitative analysis showed that the total phenolic compounds ranged from 7.08 to 33.46 mg GAE/g, flavonoids ranged from 2.09 to 28.46 mg QE/g, tannins ranged from 70.5 to 141.09 mg TAE/g, and antioxidant activity of 49.98–66.1 %. The FTIR analysis detected the presence of C 
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="20.666667pt" height="16.000000pt" viewBox="0 0 20.666667 16.000000" preserveAspectRatio="xMidYMid meet"><metadata>
Created by potrace 1.16, written by Peter Selinger 2001-2019
</metadata><g transform="translate(1.000000,15.000000) scale(0.019444,-0.019444)" fill="currentColor" stroke="none"><path d="M0 440 l0 -40 480 0 480 0 0 40 0 40 -480 0 -480 0 0 -40z M0 280 l0 -40 480 0 480 0 0 40 0 40 -480 0 -480 0 0 -40z"/></g></svg>
 O, O–H, and C–H bonds. The optimized condition of ultrasound-assisted extraction (UAE) was compared with the optimized condition of the microwave. The result of ultrasound-assisted extraction was observed to be better than microwave-assisted extraction.


Introduction
Processing plant-based foods can produce by-products that are high in bioactive substances, such as phenolic compounds, which can have a variety of physiological effects, including those that are anti-allergenic, anti-microbial, cardioprotective, antiinflammatory, antioxidant, and vasodilator [1,2]; Hung, 2016; [3].The positive benefits of phenolic compounds on public health have been linked to their antioxidant capacity.Cardiovascular disease, diabetes, cancer, and many other chronic diseases along with age-related diseases, are thought to be influenced by excessive oxidative stress.Consuming antioxidants is thought of as a preventative measure to lessen the bad consequences brought on by oxidative stress [4]; Li et al., 2015).Oxidative stress is a risk factor that can be brought on by numerous risk factors, including smoking, radiation, and environmental contaminants.By preventing the onset or growth of an oxidative chain reaction, antioxidants can postpone or prevent the oxidation of biomolecules (such as DNA, lipids, and protein) in tissues and cells [5].The natural antioxidants in food may also be able to reduce hydro-peroxides into stable derivatives of hydroxyl, inactivation metal catalysts using chelating agents, and work in concert with other reducing chemicals additionally with their ability to scavenge free radicals found in the body [6].The natural antioxidants are mostly present in cereals, spices, fruits, vegetables, and herbs and many of them have shown potent anti-inflammatory and free radical scavenging properties [1,2]; Hung, 2016; [3].The efficient extraction of radicals from plant sources is necessary due to the growing use of these compounds in medicines and food processing.
In India, the coconut is among the five Devavarikshas (God's trees) and is considered a very useful tree in the world.The uses of coconut can be judged by the Indonesian saying "There are many uses of coconut as there are days in the year".Cocos nucifera L. member of the Arecaceae family, a tree of the palm family, and the edible portion is coconut fruit.Typically, it is found on sandy shorelines of tropic regions [7].The coconut has been a great source of versatility.Coconut probably originated from Indo-Malaya and spread in tropical regions of the world [7].In India, the largest producers of coconut are the states of Kerala, Karnataka, and Tamil Nadu.The annual production of coconut fruit is 61.4 million metric tons with worldwide cultivation of 12.3 million hectares (Statista, 2020).Coconut fruit is surrounded by a hard shell and comes under the subcategory of Drupes.The fruit composes of trisection: the endocarp, mesocarp, and exocarp.Both exocarp and mesocarp make up coconut husk while green coconut shell is made by endocarp.Coconut flesh contains a high amount of fat and can be eaten in dried, fresh, and processed forms.The nut contains a liquid, known as coconut water.A hard shell encloses an embryo that is rich in endosperm and comprises both meat and liquid [7].The green coconut shell is the waste left after coconut water and cream is removed which accounts for almost 85 % of total weight and is rich in cellulose, phytochemicals, antimicrobial and antioxidant properties.Apart from edible components, approximately 60-65 % of coconut waste is generated in the form of husk and shell [8].Coconut shell is one of the wastes and environmental concerns in India as well as in coconut-producing countries.The green coconut shell is rich in phytochemicals such as flavonoids, reducing sugars, carbohydrates, saponins, alkaloids, tannins, glycosides, phenols, and terpenoids [9][10][11].
Currently, only a few sectors and agriculture industries use coconut fiber waste from coconut shells.It is novel to use the shells of coconut as a reservoir of chemicals, particularly phenolic compounds.The old Soxhlet procedure is losing popularity in place of ultrasound extraction which is being used in the food and pharmaceutical industries.UAE has emerged as a feasible alternative to conventional extraction techniques due to its high efficiency, minimum water usage, and low energy need [12].Additionally, UAE is a tried-and-true method for utilizing plant material, particularly for extracting molecules with low molecular weight and bioactive plant components.As a result of the cavitation bubbles collapsing, cell walls are ruptured, particle size is reduced, and cell content mass transfer to the solvent is improved, all of which contribute to the extraction process being improved by ultrasound [12][13][14].To extract the most antioxidants and antimicrobial agents from plant materials, it needs to optimize the extraction conditions.RSM is a useful tool for improving the process parameters because it is a statistical and mathematical technique.Utilizing RSM may make it possible to reduce the number of trials in the experiment and quantify how different parameters interact with one another.Further, an artificial neural network (ANN) is a black-box modeling approach, applied for the mapping of independent and dependent variables.In RSM-based optimization, ANN is frequently applied for the modeling of factors and responses along with other available nonlinear models.This makes the prediction more robust and accurate for the prediction of responses by the optimization algorithm.Many researchers have implemented, ANN and RSM based integrated approaches for the modeling and optimization of various extraction conditions of biological materials [15][16][17][18].Based on this the objective of this study is to maximize the extraction of antioxidants and antimicrobial activities from green coconut shells and study the impacts of the extraction process parameters (methanol, ultrasonication temperature, time, and the ratio of solvent-solid) by applying an integrated approach of artificial neural network (ANN) and particle swarm optimization (PSO).Additionally, MAE and UAE were used to compare the phytochemicals, antimicrobial, and antioxidant activity of green coconut shell extracts.Additionally, using FT-IR, the polyphenolic components of extracts produced under optimal circumstances were measured.

Raw material
The green coconut shell (sample) was gathered from the local shops of Lucknow, Uttar Pradesh (India).It was cut into small fragments and dried using a hot air oven for 24 h at 50 • C. A grinder was used to reduce the sample size followed by sieving to pass through a 150-μm sieve and stored in a sterilized airtight container.The standard of phytochemicals extraction (Folin -Ciocalteu reagent, Na 2 CO 3 , Gallic acid, Folin-Denis reagent, Tannin Acid, Aluminium Chloride, and Quercetin) and Potassium Acetate were purchased from Himedia.The methanol of analytical grade was used for extraction.The DPPH was purchased from GX chemicals for antioxidant activity.The standard bacterial strains E. coli and S. aureus were obtained from IIRC, Integral University, Lucknow, to study the antimicrobial effect.

Ultrasound-assisted extraction (UAE)
The extract from green coconut shell powder was recovered using an ultrasound probe sonicator.In a conical flask of 500 ml

Extraction using microwave
The extract from green coconut shell powder was recovered using a microwave.The green coconut shell powder will be mixed with solvent methanol in a Solvent Volume of 1:50.The green coconut shell and solvent processing mix were exposed to MAE processing value of power was 300 Watt and time was 2 min combination for the extraction of phytochemicals [10].After extraction, the extract was filtered and dried at a constant weight same as mentioned above.

Experimental design and optimization
The phytochemical extraction from the green coconut shell was conducted using the Box Behnken design (BBD).Three significant independent variables were sonication time (X st ), temperature (X T ), and solid-solvent ratio (X r ).Table 1A lists the ranges of the independent variables along with the relevant codes and levels.A total of 18 experiments were conducted based on the Box Behnkenbased experimental design combinations by considering five responses namely Yield (%), Phenols (GAE/g), Flavonoids, (QE/g), Tannins (TAE/g) and Antioxidants (%) for this extraction process from the green coconut shell.

Artificial neural network (ANN) modeling
The development of the ANN model is based on the natural neuron.Information processing in ANN models results from interactions between several simulated neurons.The artificial neural network's key elements include the input layer, hidden layer, summation function, threshold function, and output layer.By linking several processing components with varied weights, artificial neural networks can be created.Each layer is connected to the layer below by interconnection strengths or weights.In a neural network, W ih are the hidden (L H ) and input (L I ) layer interconnection weights, whereas Who are the hidden (L H ) and output (L O ) layer interconnection weights.In order to minimize mistakes, weights are adjusted through back propagation.It is accomplished by adjusting initial estimated weight values (i.e.W ih and W ho ) acquired between projected and known outputs throughout the training phase.Different neurons make up the input (L I ) and output (L H ) layers, which represent the process's input and output, respectively [20][21][22][23].
HL im , a linear function of the inputs (X i ) and weights (W im ) on these connections, stands in for the input to the hidden layer for the mth neuron.The mathematical expression for HL im is presented in Eqn.(1).
Bias (B m ) values are additionally added as inputs to the hidden (B h ) and output (B o ) layers when the ANN architecture is processed.The neural network calculation makes use of a transfer function called tansig.Hence, Equation (2) provides the mathematical expression for HL om .
Equation ( 3) was used to calculate O m , the output layer's ultimate result.
The experimental data for this investigation were split into three groups: training, testing, and validation.Programming was done in MATLAB R2015a to create ANN models.The investigation used a feed-forward back-propagation neural network.For the current investigation, ultrasound assisted extraction from coconut shell powder, five neurons viz.Yield (%), Phenols (GAE/g), Flavonoids, (QE/g), Tannins (TAE/g) and Antioxidants (%) made up the output layer and three neurons viz.sonication time, temperature, and solid-solvent ratio made up the input layer of the network.While the neuron in the hidden layer was changed after each run to get the highest coefficient of determination (R2) and lowest mean square error (MSE) values.

Optimization by using particle swarm optimization (PSO)
For the purpose of optimizing the constructed models of the ultrasound-assisted extraction from coconut shell powder, the standard particle swarm optimization (SPSO) method was employed.The SPSO algorithm used the chosen model as its objective function.In MATLAB R2019a, the SPSO algorithm was programmed.SPSO is a sophisticated population-based evolutionary optimization technique that replicates the flocking behavior of birds.This optimization technique can successfully and efficiently identify solutions among a certain population because it is based on collaboration and competition.According to previous observations of other particles, each particle travels in a M-dimensional space Z, and its location and velocity are described as u i → = (u i1 , …,u im , …u iM ) and x i → = (x i1 , …, x im , …,x iM ) respectively.The search process of the particles takes place according to Equations ( 4) and ( 5): Here, x im denotes the particle's location in the mth dimension, vim denotes its velocity in the mth dimension, c 1 and c 2 denote acceleration constants, and rand () denotes a random number between 0 and 1.The vector pi represents the position of the particle I with the best fitness value, whereas the vector p g represents the position of the best particle.w stands for the inertia weight used to balance the effectiveness of global and local search.

Analysis of phytochemicals 2.5.1. Extraction yield
The quantity of extract obtained was compared with the initial sample amount known as the extraction yield (%), which measures how effectively the solvent extracts particular components from the original material [24].For each approach that was examined.After drying, the dry extract was recovered; it was weighed to determine the extraction yield.The yield of the obtained extract was estimated using Equation (6).

Estimation of phenolic content
A 200 μL sample was mixed with 1.5 mL of diluted FC (Folin-Ciocalteu) reagent (1:10, v/v) and kept in incubation for 5 min at room temperature [25].After that, 1.5 mL of 0.566 M Na 2 CO 3 was mixed with the solution.The absorbance of the solution was measured by spectrophotometer at 725 nm, after 90 min of incubation.The same analytical process as samples was used to create the standard Gallic acid range of 0-125 mg/ml.The result was represented in milligrams of GAE per gram of material [10].

Estimation of Tannin content
The tannin estimation was done using [10] method.A volumetric flask (50 ml) containing distilled water (20 ml), Folin-Denis reagent (2.5 ml), and 17 % Na 2 CO 3 (10 ml) was pipette with one ml of sample extract.The mixture was properly mixed and made 50 mL using distilled water and kept for 20 min or until a bluish-green color emerged.The identical procedures used with the sample above were used with tannic acid solutions in the 0-500 ppm range.After the bluish-green hue had fully formed, the absorbance of the tannic acid (reference solutions), as well as the samples were measured using a spectrophotometer at 760 nm.Tannin concentration was determined using TASC (tannic acid standard curve), which was represented in milligrams of Tannic acid equivalence (TAE) per 100 g of dried material.

Estimation of Flavonoid content
The aluminum chloride colorimetric technique [10] was modified to estimate flavonoid content.One ml of the extract was mixed with methanol (3 ml), 10 % aluminum chloride (0.2 ml), 1 M potassium acetate (0.2 ml), and distilled water (5.6 ml) at room temperature and incubated for 30 min.The same procedure was performed to create a sample blank, but distilled water was substituted for aluminum chloride.The absorbance was calculated at 420 nm.The standard was Quercetin (1 mg/ml).The flavonoid content was calculated using a standard curve that is represented as Quercetin equivalent (mg/g of the isolated molecule).

Antioxidant activity
In 100 ml of methanol, the 0.0078 g DPPH was dissolved.1.5 ml of the sample and 1.5 ml of the DPPH solution in methanol were combined in an aliquot (0.2 mM).The samples were incubated at room temperature for 30 min in the dark.At 517 nm, the solution's absorbance was determined.The assay was carried out in the same way as the control, except that methanol was used in place of the sample solution.Analysis was done in triplicate for each extract [26].The test sample's capacity to scavenge DPPH was assessed by a reduction in absorbance and calculated as shown in Eqn.(7) Antioxidant Activity% = Control absorbance-extract absorbance Control absorbance ×100 (7)

Antimicrobial activity
Antimicrobial Activity was evaluated by Agar well diffusion method according to Refs.[27,28].Muellar Hinton Agar was seeded equally using a sterilized swab from an inoculated solution (saline) containing bacterial strains.For the extra fluid to be absorbed, these plates were left in laminar flow.Wells in seeded agar media were cut using a sterile cork borer.Using a micropipette of 60 μL of extract (1 mg/ml) obtained from different runs was added to plates.Positive control Gentamicin (30 μg /ml) and negative control DMSO (25 μg /ml), as well as negative control (sterile distilled water), was filled uniformly in the wells.The plates were incubated for 24 h at 37 • C. The diameter of the inhibition zone was observed using a caliper in millimeters.

Fourier transforms infrared spectroscopic (FTIR) analysis
FTIR is the most important tool for determining the presence of various chemical bonds and functional groups present in the samples.The distinguishing characteristic of chemical bonds shown in the annotated spectrum is the wavelength of light absorbed.The chemical bond in a substance can be identified by reading the infrared absorption spectra.FTIR analysis was conducted using dried powdered methanol solvent extract from green coconut shells.To create translucent sample discs, (10 mg) of dried crude extract was encapsulated in (100 mg) of KBr pellet.Each extract powder sample was placed in an FTIR spectrophotometer with a scan range of 400-4000 cm 1 with a resolution of 4 cm − 1 .

Statistical analysis
The findings of each experiment were represented as the mean value ± standard deviation.Using Excel 2010, Design Expert (version 7.0.0),and MATLAB R2019a software the model development, optimization, and other statistical analysis were performed.

Fitting the model for yield
Based on the BBD, the response of yield for extracts of green coconut shell using UAE was optimized, and the data were fitted to a polynomial equation of second-order.The ANOVA results as shown in Table 1B, were used to check the adequacy and significance of the model.From the results, the significance of the fitted model could be observed at 0.1 % level.The linear coefficients of Sonication From the equation, the negative effects of sonication time and temperature and the positive effect of solid solvent ratio could be observed.Table 1C provides a summary of the results.The model's validity could be confirmed by the non-significant lack of fit value.The R 2 was 0.9964, which predicted that 99.6 % of the variations could be explained by the fitted model.The adjusted coefficient of determination (R 2 Adj), which is comparable to R 2 , was 0.9934 and indicated that the observed and predicted values were highly correlated.Additionally, a low coefficient of variation (C.V. = 1.25 %) showed that the experimental results with a great precision level could be trusted and there was little variance in the mean value.Table 1C represents the results of various statistical parameters associated with the fitted model.These findings demonstrated how well the model captured the actual relationship between the independent variables and response.

Fitting the model for phenol
The BBD was used to optimize the response of phenol, and the data from the BBD were fitted to a polynomial equation of second order.The ANOVA results as shown in Table 1B, were used to check the adequacy and significance of the model.From the results, the significance of the fitted model could be observed at 0.1 % level.The linear coefficients of Sonication time, Temperature, and Solidsolvent ratio, all were significant at 0.1 % level as shown in the results.Furthermore, all the factors showed significant quadratic effects (5 % level for the sonication time and 0.1 % levels for the Sonication time and Solid solvent ratio on the response.The predictive equation in terms of coded factors is expressed in Equation ( 9).
From the equation, the negative effects of sonication time and temperature and the positive effect of solid solvent ratio could be observed.Table 1C provides a summary of the results.The model's validity could be confirmed by the non-significant lack of fit value.The fitted model could account for 99.6 % of the variables, according to the determination coefficient (R 2 ) of 0.9970.The Adj R 2 , which is comparable to R 2 , was 0.9937 and indicated that the observed and predicted values were highly correlated.Additionally, a low coefficient of variation (C.V. = 2.71 %) showed that there was little change in the mean value and that the experimental results with a greater precision level could be trusted.Table 1B represents the results of various statistical parameters associated with the fitted model.These findings demonstrated how well the model captured the actual connection between the response and independent factors.

Fitting the model for flavonoids
The BBD was used to optimize the response of flavonoids, and the data from the BBD were fitted to a polynomial equation of second order.The ANOVA results as shown in Table 1B, were used to check the adequacy and significance of the model.From the results, the significance of the fitted model could be observed at 0.1 % level.The linear coefficients of Sonication time, Temperature and Solidsolvent ratio, all were significant at 0.1 % level as shown in the results.Furthermore, all the factors showed significant quadratic effects (5 % level for Sonication time and 0.1 % levels for the Sonication time and Solid solvent ratio on the response.The predictive equation in terms of coded factors is expressed in Equation (10).From the equation, the negative effects of sonication time and temperature and the positive effect of solid solvent ratio could be observed.Table 1C provides a summary of the results.The model's validity could be confirmed by the non-significant lack of fit value.The fitted model could account for 99.6 % of the variables, according to the determination coefficient (R 2 ) of 0.9969.The adjusted determination coefficient (Adj R 2 ), which is comparable to R 2 , was 0.9935 and indicated that the observed and predicted values were highly correlated.Additionally, a low coefficient of variation (C.V. = 3.67 %) indicated that the mean value had not changed significantly and that the highly precise experimental results should be believed.Table 1C represents the results of various statistical parameters associated with the fitted model.All of these results showed how accurately the model represented the association between the independent variables and response.

Fitting the model for tannins
Tannin response was optimized using the Box Behnken design, and data from the BBD were fitted to a polynomial equation of second order.The ANOVA results as shown in Table 2, were used to check the adequacy and significance of the model.From the results, P. Singh et al. the significance of the fitted model could be observed at 0.1 % level.The linear coefficients of Sonication time and Solid-solvent ratio were (p < 0.0001) significant at 0.1 % level as shown in the results, whereas, Temperature showed a significant effect at 1 % level.Furthermore, all the factors showed significant quadratic effects (0.1 % level) on the response.The predictive equation in terms of coded factors is expressed in Equation (11).From the equation, the negative effects of sonication time and temperature and the positive effect of solid solvent ratio could be observed.Table 1C provides a summary of the results.The model's validity could be confirmed by the non-significant lack of fit value.The fitted model could account for 99.78 % of the variables, according to the determination coefficient (R 2 ) of 0.9978.The (Adj R 2 ), which is comparable to R 2 , was 0.9953 and indicated that the observed and predicted values were highly correlated.Additionally, a low coefficient of variation (C.V. = 1.04 %) suggested that the mean value had not changed considerably and that it was safe to assume the extremely accurate experimental results.Table 1C represents the results of various statistical parameters associated with the fitted model.These outcomes all demonstrated how well the model captured the correlation between the response and independent variables.

Fitting the model for antioxidant
The BBD was used to optimize the antioxidant activity response, and data from the BBD were fitted to a polynomial equation of second order.The ANOVA results as shown in Table 1B, were used to check the adequacy and significance of the model.From the results, the significance of the fitted model could be observed at 0.1 % level.The linear coefficients of Sonication time and Solid-solvent ratio were (p < 0.0001) significant at 0.1 % level as shown in the results, whereas, Temperature showed a significant effect at 5 % level.Furthermore, all the factors showed significant quadratic effects (at 5 % level for Sonication time and at 0.1 % level for Sonication temperature and Solid-solvent ratio) on the response.The predictive equation in terms of coded factors is expressed in Equation (12).
From the equation, the negative effects of sonication time and temperature and the positive effect of solid solvent ratio could be observed.Extended exposure to elevated temperatures can result in the deterioration of thermally vulnerable antioxidants.For instance, certain antioxidants, such as vitamin C, are vulnerable to heat and can be annihilated when subjected to extended sonication at high temperatures.Excessive sonication can produce reactive oxygen species (ROS) as a result of cavitation, which is the rapid creation and collapse of bubbles in the liquid.ROS can induce oxidative harm to antioxidants and other substances, hence diminishing their efficacy.The model's validity could be confirmed by the non-significant lack of fit value.The determination coefficient (R 2 ) of 0.9973 indicates that the fitted model could explain 99.7 % of the variables.The Adj R 2 , which is equivalent to R 2 , was 0.9943, indicating a strong relationship between the experimental and predicted values.Furthermore, a low coefficient of variation (C.V. = 0.552 %) suggested that the mean value had not changed considerably and that it was safe to assume the extremely accurate experimental results.Table 1C represents the results of various statistical parameters associated with the fitted model.These outcomes all demonstrated how well the model captured the association between the response and independent factors.

Modelling of the extraction process by applying artificial neural network (ANN)
ANN modelling was used to improve the predictive model's accuracy.'Tansig' transfer function and the feed-forward backpropagation method were used to model the experimental data of the extraction process.The input values for the ANN modelling were sonication time, sonication temperature and solid solvent ratio, whereas yield (%), phenols (GAE/gm), flavonoids (QE/gm), tannins (TAE/gm) and antioxidant (%) were the output values.As a result, there were three and five neurons in each of the input and output layers, respectively.Trial and error were used to determine the number of neurons in the hidden layer.The ANN algorithm used 2000 iterations per run, with learning rates ranging from 0.5 to 1.A total of 20,000 NNs were produced after 2000 iterations were performed ten times for each ANN architecture.The constructed MATLAB code was used to fit the experimental data after it had been divided into three equal sections (70 % for training, 15 % for testing, and 15 % for validation, respectively).
The mean square error (MSE) and coefficient of determination (R 2 ) were calculated for each run of a certain ANN architecture.The network with the highest R 2 and lowest MSE values was chosen as the best network.The best ANN architecture for the ultrasound-  The generated code used random number generations to determine the weight and bias values of the best ANN architecture ('W ih ', 'W ho ', 'T h ' and 'T o ').Based on known input, these parameters can be used to calculate the production output of the ultrasound-assisted extraction process viz.Yield (%), Phenols (GAE/g), Flavonoids, (QE/g), Tannins (TAE/g) and Antioxidants (%).Table 2 displays the weight and bias values of the best ANN architecture.

Optimization of process conditions by hybrid ANN-PSO approach
The optimal ANN architecture, 3-4-5 of Time, Temperature, and Solid Solvent Ratio, along with Yield (%), Phenols (GAE/gm), Flavonoids (QE/gm), Tannins (TAE/gm), and Antioxidant (%) was further employed to achieve process parameter optimization.The maximizing of all the responses was accomplished by formulating the fitness function of the optimization process.For the optimization procedure, the modelled parameters as derived from ANN were employed.Consequently, the 3-4-5 ANN architecture's weight and bias values were taken into account as input for the particle swarm optimization (PSO).According to Khawas et al. (2015), hybrid optimization for ANN-GA is a similar notion.The standard particle swarm optimization (SPSO) algorithm was used to calculate PSO.MATLAB R2015a was used to create the SPSO algorithm.The algorithm's starting population size was 40 particles.The weight values varied with the generations from 0.4 to 0.6, whereas the acceleration constants, c 1, and c 2 , were both equal to 0.5.2000 generations were specified as the maximum number of generations.When the iterative process produced the maximum number of generations (2000), it was stopped.The optimum process parameters as determined by hybrid ANN-PSO were time of 15 min, temperature of 33 • C, and solid solvent ratio of 24(w/v).The experimental and predicted values under the optimum process conditions of the extraction process are represented in Table 3.

Antimicrobial activity
The antimicrobial activity of extracts was examined based on the diameters of clear inhibition zones surrounding the Petri disks.The visual representations of the results of the inhibition zone are shown in Fig. 3.The maximum inhibition zone for E. coli was 9.6 mm and the minimum was 3.7 mm (Fig. 3A) whereas for S. aureus the maximum inhibition zone was 11 mm and the minimum was 5.8 mm (Fig. 3B).The previous studies showed the following results [11].suggested that the antimicrobial activity against S. aureus and E. coli was 7 mm and 10 mm.According to Rodiah et al., (2018), the Antimicrobial activity of dye extracts was examined based on diameters with clear inhibition zones surrounding the paper disks.If there is no inhibition zone, it is implicit that the dye extract did not possess antimicrobial activity towards the studied bacterial strains.Thus, the antimicrobial effect of the extract was shown when the Ultrasound-assisted extraction technique was employed.

Fourier transform infrared (FT-IR) spectroscopic analysis
Data from the infrared analysis may aid in understanding the sample's chemical composition.An example of evidence for the stretched hydroxyl groups (O-H) in aliphatic and phenolic compounds was the peak of absorption at 3400 cm − 1 .In Ultrasoundassisted extraction, a broad peak at wavenumber 3386.44 cm − 1 showed O-H bonding with cumulative C-H stretching.A sharp peak at wavenumber 1614.24cm − 1 represented C --O bonding.A small peak at wavenumber 1056.99 cm − 1 depicted C-O bonding whereas in the case of microwave-assisted extract the strong broad peak could be observed at a wavenumber of 3347.81 cm -1, showing the stretching of C-H and elongation of O-H bondings.A sharp peak at 1613.20 cm − 1 represented C --O bond elongation.According to researchers, the prominent peak observed at a wavenumber of 3370 cm − 1 in the Fourier Transform Infrared (FTIR) spectrum of the extract derived from green coconut shells can be attributed to the stretching vibration of phenolic hydroxyl groups, namely the oxygenhydrogen (O-H) bond [29,30]; Zheng et al., 2023).Additionally, the broad region surrounding this peak suggests the presence of intermolecular hydrogen bonding among the polyhydroxy aromatic compounds [31][32][33].The observed peak at 2940 cm − 1 can be attributed to the stretching frequencies of the 'C-H′ bonds [34].A sharp peak at wavenumber 1058.73 cm − 1 showed the presence of the C-O group as illustrated in Fig. 4 (a) and (b).These bands were reduced as the number of substituent rings increased, showing cross-linking of the processes occurring between the constituents (tannin and hardener).The peaks in the green coconut shell's FTIR spectrum were indicative of biomass tannins, which had the ideal chemical properties for use as an adhesive compound.

Conclusions
In this study, an integrated approach of artificial neural network (ANN) and particle swarm optimization was used to standardize the ultrasound-assisted extraction (UAE) process of phytochemicals compounds from the green coconut shell.Results showed the significant effects of Solvent time, temperature, and the solvent-solid ratio on the yield, phenol, tannin, flavonoid content, and antioxidant activity.Three extraction factors (the ratio of solvent to solid, time, and temperature) have also been examined in this study.The optimum process parameters as determined by hybrid ANN-PSO were a Sonication time of 15 min, Temperature of 33 • C, and Solid solvent ratio of 24 (w/v) for a maximum extraction yield of 38.41 %, Total phenol content of 40.99 GAE/g, Total Flavonoid content 36.13QE/g, Total Tannin content 176.73 TAE/g and Antioxidant activity was 68.39 %.The extract also exhibited antimicrobial activity against S. aureus and E. coli.Furthermore, this comparative analysis showed that the phytochemicals of green coconut shell extract using MAE were significantly lower than in the UAE.The overall findings of the present investigation demonstrated that UAE was a viable and successful method for extracting Phytochemicals from green coconut shells, as well as indicating the utility of green coconut shells.In popular trash green coconut shells, we quantitively found certain promising phytochemicals.Every year, imports of phytochemicals, which are all necessary raw materials for the food and pharmaceutical industries, are made.We can save a sizable sum of foreign currency if we can produce phytochemicals using green coconut shells.Annually, people worldwide dispose of one million metric tons of green coconut shells.As a result, its significance will increase in relation to concerns about environmental pollution.Hence, the implementation of a strategy to establish an interconnected sector focused on processing waste materials from plants and extracting extremely valuable phytochemicals, which are crucial for the food and pharmaceutical industries, would provide significant benefits.

Fig. 1 .
Fig. 1.Best ANN Architecture for the mapping of ultrasound assisted extraction from green coconut shell powder.(For interpretation of the references to color in this figure legend, the reader is referred to the Web version of this article.)

P
.Singh et al.

Fig. 3 .
Fig. 3. Visual representations of the results of the inhibition zone for (A) E. coli and (B) S. aureus.

Table 1A
Coded levels for independent variables in UAE.
P.Singh et al.

Table 1B
(8)VA outcomes for quadratic model of independent variables.andSolid-solventratio were (p < 0.0001) significant at 0.1 % level as shown in the results, whereas, Temperature showed a significant effect at 5 % level.Furthermore, all the factors showed significant quadratic effects on the response.The predictive equation in terms of coded factors is expressed in Equation(8).

Table 2
Weight and bias values of the best ANN architecture.

Table 3
Experimental vs. predicted values of the responses under the optimum process conditions.