The Influence of Parallel Computing On Building Deep Learning Model For The Classification of Bean Diseases
The Influence of Parallel Computing On Building Deep Learning Model For The Classification of Bean Diseases
B. Data Analysis
To enhance deep learning model performance in
distinguishing between healthy and diseased bean plants,
robust datasets comprising images of both conditions are
essential. Implementing data preprocessing techniques,
including image resizing, normalization, and augmentation,
is crucial to refine the data quality and augment model
accuracy. Furthermore, leveraging parallel computing
facilitates swift and efficient execution of tasks like parallel
image resizing and data augmentation across multiple
processors, thereby expediting the preprocessing phase and
overall model development process (Elhoucine Elfatimi,
2023).
Model Evaluation
Model evaluation is a very crucial part of building an
effective deep learning model since it gives an explanation
on the model performance. To evaluate a model, evaluation
metrics are employed to discriminate among the model
results. This research adopted 3 model evaluation metrics
that are classification accuracy, confusion matrix, and
classification report (OCHIENG, 2022).
C. Research Design
For this study, due to stratified sampling is a technique
in which the population is divided into smaller, more
homogeneous subgroups called strata. Furthermore, it
ensures that the sample is representative of the entire
population, and it is especially important when the
population is not homogeneous. It is in this regard that we
used this research method to collect the target population
which corresponds to the research questions we intended to
address. Therefore, we developed a model to be used by
farmers and others to detect diseases in bean plants in real-
time.
IV. DATA PRESENTATION, ANALYSIS AND computing influences the efficiency and accuracy of deep
INTERPRETATION OF FINDINGS learning models in this specific context.
In contrast, Serial Computing executes one instruction We observed that, when employing parallel computing,
at a time in a sequential manner. The process data were in a the training time of the deep learning model was taking
step-by-step fashion and the performance was generally approximately 3 minutes. This efficiency was achieved by
slow due to the sequential of tasks. The speed was limited distributing computations across multiple processors,
by a single core and could not exploit modern multi-core allowing simultaneous processing of data and tasks. In
architectures effectively. It was taking a long training time contrast, serial computing, which processes tasks
for large datasets and complex models because serial sequentially, took extremely longtime around 51 minutes to
computing was limited to the capabilities of a single core. complete the same training. This stark difference highlights
the advantage of parallel computing in handling the
C. Analysis of Findings intensive computations typical in deep learning tasks,
thereby accelerating the training process and improving
Training Time Findings overall efficiency.
To evaluate the impact of parallel computing on
training time, we trained the same deep learning model Model Performance Findings
using both serial and parallel computing approaches. The Our model was trained using parallel computing
training times were recorded and compared as follows: approach and achieved higher accuracy due to the ability to
process larger datasets and reduce the risk of overfitting by
With Parallel Computing Training Time: 201.33 (s) 3 mitigating the use of larger datasets and regularization
mins techniques as shown on below figures.
With Serial Computing Training Time: 3049.52 (s)
51mins Accuracy
Using parallel computing, the deep learning model Model in Real-World Application Findings
achieved an accuracy of approximately 0.93. This is due to Deploying the model on mobile devices allows farmers
the ability to process larger batches of data simultaneously and agricultural workers to use their smartphones to quickly
and utilize more complex architectures efficiently. In and accurately diagnose bean diseases in the field. This has
contrast, with serial computing, the model reached an led to timely interventions and better crop management
accuracy of around 0.83, likely due to limitations in practices in bean disease detection.
processing power and the inability to handle larger datasets
effectively. This demonstrates the significant benefits of
parallel computing in both speed and accuracy for deep
learning tasks.