{"title":"Impact of Activation Functions and Number of Layers on the Classification of Fruits using CNN","authors":"Z. Haq, Z. Jaffery","doi":"10.1109/INDIACom51348.2021.00040","DOIUrl":null,"url":null,"abstract":"The classification of fruits into various classes is becoming inherent to the food processing industry. This paper presents a simulation analysis of effect of activation functions: ReLu, Softmax, sigmoid, and Softplus on the accuracy and latency of the CNN algorithm for classification of fruits: apple, banana and orange. The paper presents the comparative increase of accuracy of different activation functions over the ReLu activation function. The algorithm is trained and tested over a database created by downloading fruit images from the online sources. Also, this paper presents the effect of increasing the number of convolutional layers of the CNN algorithm on the Accuracy and latency of the model. The software used for simulation of the model is Python implemented using Jupyter Notebook over the Anaconda platform.","PeriodicalId":415594,"journal":{"name":"2021 8th International Conference on Computing for Sustainable Global Development (INDIACom)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 8th International Conference on Computing for Sustainable Global Development (INDIACom)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INDIACom51348.2021.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
The classification of fruits into various classes is becoming inherent to the food processing industry. This paper presents a simulation analysis of effect of activation functions: ReLu, Softmax, sigmoid, and Softplus on the accuracy and latency of the CNN algorithm for classification of fruits: apple, banana and orange. The paper presents the comparative increase of accuracy of different activation functions over the ReLu activation function. The algorithm is trained and tested over a database created by downloading fruit images from the online sources. Also, this paper presents the effect of increasing the number of convolutional layers of the CNN algorithm on the Accuracy and latency of the model. The software used for simulation of the model is Python implemented using Jupyter Notebook over the Anaconda platform.