Research Article

Automatic Detection of Concrete Spalling Using Piecewise Linear Stochastic Gradient Descent Logistic Regression and Image Texture Analysis

Algorithm 1

Pseudo code of the Stochastic Gradient Descent (SGD) algorithm.

Procedure SGD
Create a training dataset
Randomly create
Defining MaxEpoch // the maximum number of epochs
Defining // the learning rate parameter
For  ep = 1 to MaxEpoch
Shuffle samples in the training data set
For   = 1 to M // M = number of data samples
For   = 0 to
End For
End For
End For
Return