**3.5 The classification and prediction block diagram**

The block diagram of the system incorporates the following: The dataset is the preprocessed images that will be divided into training and validation set. The input function is then activated while estimate or facilitates construction and training of the models with appropriate APIs that include four sequential actions, they are training, evaluation, prediction, and export. The training and evaluation will be looped. The training setcompute the loss and adjust the weights of the model using gradient descent, the evaluation set validate the model while training and adjust the learning rate then and take the best version of the model, while the test set is used to compare different model approaches, and report the final result of the model (**Figure 4**).
