When optimizing the performance of neural network-based chatbots, determining the optimizer is one of the most important aspects. Optimizers primarily control the adjustment of model parameters such as weight and bias to minimize a loss function during training. Adaptive optimizers such as ADAM have become a standard choice and are widely used for their invariant parameter updates' magnitudes concerning gradient scale variations, but often pose generalization problems. Alternatively, Stochastic Gradient Descent (SGD) with Momentum and the extension of ADAM, the ADAMW, offers several advantages. This study aims to compare and examine the effects of these optimizers on the chatbot CST dataset. The effectiveness of each optimizer is evaluated based on its sparse-categorical loss during training and BLEU in the inference phase, utilizing a neural generative attention-based additive scoring function. Despite memory constraints that limited ADAMW to ten epochs, this optimizer showed promising results compared to configurations using early stopping techniques. SGD provided higher BLEU scores for generalization but was very time-consuming. The results highlight the importance of finding a balance between optimization performance and computational efficiency, positioning ADAMW as a promising alternative when training efficiency and generalization are primary concerns.
ABSTRACT Objective: Cardiovascular diseases are the first ranked cause of death worldwide. Adhering to health promoting lifestyle behaviors will maintain an individual’s cardiovascular health and decrease the risk of cardiovascular diseases. Methods: In this descriptive study, 150 nursing faculty were surveyed via a non-probability (purposive) sampling method to assess their adherence to health promoting lifestyle in order to know the risk of cardiovascular diseases. The Arabic version of Health-Promoting Lifestyle Profile II (HPLP-II) was used to achieve this goal. Results: Seventy-two nursing faculty completed the survey. The results indicated that the study sample had moderate level of health promotion based on Health-Promot
... Show MoreThe insulation system of a machine coil includes several layers made of materials with different characteristics. The effective insulation design of machine coils, especially in the machine end winding, depends upon an accurate model of the stress grading system. This paper proposes a modeling approach to predict the transient overvoltage, electric field, and heat generation in machine coils with a stress grading system, considering the variation of physical properties in the insulation layers. A non-uniform line model is used to divide the coil in different segments based on material properties and lengths: overhang, stress grading and slot. The cascaded connection of chain matrices is used to connect segments for the representation of the
... Show MoreInfection with Trichomonas vaginalis and its relation to some diseases have lately had much attention. The objective of this study was to assess the infection rate of T. vaginalis and its relation to pelvic inflammatory diseases, infertility, and vaginosis. The study also assessed some demographic, clinical, and immunological parameters in women infected with T. vaginalis. The study included 160 non-pregnant married women who attended some private clinics and public hospitals in Baghdad from October 2020 to February 2021. All participants had symptoms of vaginal discharge only or vaginal discharge with lower abdominal pain. The participants were divided into an infertility group (n = 61) and fertility group (n = 99). The participant
... Show MoreIn this paper, variable gain nonlinear PD and PI fuzzy logic controllers are designed and the effect of the variable gain characteristic of these controllers is analyzed to show its contribution in enhancing the performance of the closed loop system over a conventional linear PID controller. Simulation results and time domain performance characteristics show how these fuzzy controllers outperform the conventional PID controller when used to control a nonlinear plant and a plant that has time delay.
Objective: Synthesis, Characterization of formazan derivatives and studies the antioxidant activity of prepared compounds and molecular docking. Methods: In this study, formazan compounds (III–XIV) were produced by combining Schiff base compounds (I), (II) with diazonium salts resulting from reactions of different aromatic amines with sodium nitrate in the presence of Con.HCl at 0–5°C. When isonicotinic acid hydrazide reacts with (N,N-dimethylbenzaldehyde, 4-hydroxy-3-methoxybenzaldehyde) in the presence glacial acetic acid as a solvent Schiff base compounds are created. Results: The prepared compounds were identified by FT-IR, 1H NMR, 13C NMR, then the antioxidant activity of the derivatives and molecular docking were studied. D
... Show MorePeroxidase is a class of oxidation-reduction reaction enzyme that is useful for accelerating many oxidative reactions that protect cells from the harmful effects of free radicals. Peroxidase is found in many common sources like plants, animals and microbes and have extensive uses in numerous industries such as industrial, medical and food processing. In this study, P. aeruginosa was harvested to utilize and study its peroxidases. P. aeruginosa was isolated from a burn patient, and the isolate was verified as P. aeruginosa using staining techniques, biochemical assay, morphological, and a sensitivity test. The gram stain and biochemical test result show rod pink gram-ne
... Show MoreA series of Schiff bases linked to phthalimidyl phenyl sulfonate moiety have been synthesized via multistep synthesis. The first step involved reaction of phthalic anhydride with aniline producing N-phenyl phthalamic acid which was subsequently dehydrated to the corresponding N-phenyl phthalimide via treatment with acetic anhydride and anhydrous sodium acetate. The synthesized imide was treated with chlorosulfonic acid in the third step producing 4-(N-phthalimidyl) phenyl sulfonyl chloride which was introduced in reaction with 4-hydroxy acetophenone in the fourth step producing 4-[4-(N-phthalimidyl) phenyl sulfonate] acetophenone and this in turn was introduced successfully in condensation reaction with various aromatic primary amines affor
... Show MoreDuring COVID-19, wearing a mask was globally mandated in various workplaces, departments, and offices. New deep learning convolutional neural network (CNN) based classifications were proposed to increase the validation accuracy of face mask detection. This work introduces a face mask model that is able to recognize whether a person is wearing mask or not. The proposed model has two stages to detect and recognize the face mask; at the first stage, the Haar cascade detector is used to detect the face, while at the second stage, the proposed CNN model is used as a classification model that is built from scratch. The experiment was applied on masked faces (MAFA) dataset with images of 160x160 pixels size and RGB color. The model achieve
... Show MoreText Clustering consists of grouping objects of similar categories. The initial centroids influence operation of the system with the potential to become trapped in local optima. The second issue pertains to the impact of a huge number of features on the determination of optimal initial centroids. The problem of dimensionality may be reduced by feature selection. Therefore, Wind Driven Optimization (WDO) was employed as Feature Selection to reduce the unimportant words from the text. In addition, the current study has integrated a novel clustering optimization technique called the WDO (Wasp Swarm Optimization) to effectively determine the most suitable initial centroids. The result showed the new meta-heuristic which is WDO was employed as t
... Show More