Claim Missing Document
Check
Articles

Found 2 Documents
Search

Comparison of Iris dataset classification with Gaussian naïve Bayes and decision tree algorithms Dani, Yasi; Artanta Ginting, Maria
International Journal of Electrical and Computer Engineering (IJECE) Vol 14, No 2: April 2024
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.11591/ijece.v14i2.pp1959-1968

Abstract

In this study, we apply two classification algorithm methods, namely the Gaussian naïve Bayes (GNB) and the decision tree (DT) classifiers. The Gaussian naïve Bayes classifier is a probability-based classification model that predicts future probabilities based on past experiences. Whereas the decision tree classifier is based on a decision tree, a series of tests that are performed adaptively where the previous test affects the next test. Both of these methods are simulated on the Iris dataset where the dataset consists of three types of Iris: setosa, virginica, and versicolor. The data is divided into two parts, namely training and testing data, in which there are several features as information on flower characteristics. Furthermore, to evaluate the performance of the algorithms on both methods and determine the best algorithm for the dataset, we evaluate it using several metrics on the training and testing data for each method. Some of these metrics are recall, precision, F1-score, and accuracy where the higher the value, the better the algorithm's performance. The results show that the performance of the decision tree classifier algorithm is the most outperformed on the Iris dataset.
Two-Layer Shallow Water Equations with Momentum Conservative Scheme for Wave Propagation Simulation Ginting, Maria Artanta; Suandi, Dani; Dani, Yasi
Engineering, MAthematics and Computer Science Journal (EMACS) Vol. 6 No. 1 (2024): EMACS
Publisher : Bina Nusantara University

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.21512/emacsjournal.v6i1.10786

Abstract

In this paper, we discuss the implementation of momentum conservative scheme to shallow water equations (SWE). In shallow water model, the hydrodynamic pressure of the water is neglected. Here, the numerical calculation of mass and momentum conservation was applied on a staggered grid domain. The vertical interval was divided into two parts which made the computation quite efficient and accurate. Our focus is on the performance of the numerical scheme in simulating wave propagation and run-up phenomena, where the main challenge is to calculate the wave speed accurately and to count the non-linear term of the model. Here we also considered the wet and dry conditions of the topography. Three benchmark tests were picked out to validate the numerical scheme. A simulation of standing wave was carried out; the results were compared to the linear analytical solution and show a good fit. In addition, a simulation of harmonic wave propagation on a sloping beach was conducted, and the results closely align with the expected values from exact solution. Finally, we carried out a simulation of solitary wave with a sloping topography; and the results were compared to laboratory data. A good agreement was observed between the simulation results and experimental measurements.