Machine Learning Algorithms and Applications. Группа авторов

Читать онлайн книгу.

Machine Learning Algorithms and Applications - Группа авторов


Скачать книгу
eggs and unhatched eggs. The positive samples consist of images where an individual egg is visible completely, while the negative samples consist of eggs that are partially visible and have multiple egg entries. Figure 2.5 represents the classifier model that is trained to determine positive and negative samples, and the positive samples are later trained to predict the egg center location in terms of pixel values. Further, during the practical application, the center location of the egg predicted is used to crop a single egg data to be fed into a classifier that determines the class of the selected egg into HC or UHC. Figure 2.6 represents an overall result of locating egg centers using egg location predictor CNN model for one of the test data sheets where all egg centers are marked with a blue dot. A sliding window of (32 × 32) with a stride of (4, 4) was used to achieve the results.

      2.3.4 Predicting Egg Class

      (2.5) image

      (2.6) image

Input image Activation/output Training samples Test samples Validation samples Test loss Validation loss
32 × 32 Regression Center of the egg (x, y) 439 × 103 51.6 × 103 25.8 × 103 0.5488 0.5450
Schematic illustration of CNN training model to predict egg location in terms of pixel values. Schematic illustration of the result of egg location CNN model.
Input image Activation/output Training samples Test samples Validation samples Test loss Accuracy on the test set Accuracy on the validation set
32 × 32 SoftMax 2 class-(0/1) 2.4 × 106 80.2 × 103 30 × 103 0.0077 99.8115% 99.7981%
Schematic illustration of the result of egg classification generated by the proposed method.

      In comparison with the conventional method of extracting egg count information using digital images that hardly require any training data, the proposed method that employs the CNN technique required large datasets to learn the features automatically to provide the required results. The CNN method uses plenty of training data along with test and validation datasets as the number of hidden layers increases.

      There are many datasets available for free that can be downloaded to train our own CNN models to classify handwritten digits, identify objects, and many more. But there is no single public dataset available corresponding with the sericulture field especially silkworm egg counting or classification. So, in our work, training datasets were generated by cropping class images from the silkworm egg sheet and providing class


Скачать книгу