Research Article

Benchmark Pashto Handwritten Character Dataset and Pashto Object Character Recognition (OCR) Using Deep Neural Network with Rule Activation Function

Table 3

Parameters’ details of used models.

Model 1Model 2Model 3

Learning rate0.00010.00010.0001
AlgorithmBackpropagation with Softmax on the last layerBackpropagation with Softmax on the last layerBackpropagation with Softmax on the last layer
ReLU activation layersHidden layer 1Hidden layer 1, Hidden Layer 2Hidden layer 1, Hidden Layer 2, Hidden Layer 3
Loss functionCross-entropyCross-entropyCross-entropy
Epochs100001000010000
Dataset size43000 samples43000 samples43000 samples
Training data ratio90% (38700 sample images)90% (38700 sample images)90% (38700 sample images)
Testing data ratio10% (4300 sample images)10% (4300 sample images)10% (4300 sample images)
Tensor flow functionGradient descent with SoftmaxGradient descent with SoftmaxGradient descent with Softmax