Table 2 The parameters of the XGB algorithm that need to be tuned.

From: LXGB: a machine learning algorithm for estimating the discharge coefficient of pseudo-cosine labyrinth weir

Parameter

Range

Number of decision trees (K)

\([1,\infty ]\)

Learning rate (\(\eta\))

[0, 1]

Gamma (\(\gamma\))

\([0,\infty ]\)

Sub sample (ss)

\([1,\infty ]\)

Maximum depth (md)

\([0,\infty ]\)

Minimum child weight (mcw)

\([0,\infty ]\)