Research Article

Sedimentary Environment Analysis by Grain-Size Data Based on Mini Batch K-Means Algorithm

Algorithm 2

Pseudocode of Mini Batch K-means algorithm for sediment sample data processing.
: an Projection to L1 Ball
Input: tolerance, L1-ball radius , vector
if then exit
while or do
  
  
   if then else
end while
for i = 1 to m do
  
end for