Side orifices are commonly installed in the side of a main channel to spill or divert some of the flow from the source channel to lateral channels. The aim of the present study is the accurate estimation of the discharge coefficient for flow through triangular (Δ-shaped) side orifices by applying three data-driven models including support vector machine (SVM), least squares support vector machine (LSSVM) and least squares support vector machine improved by gravity search algorithm (LSSVM-GSA). The discharge coefficient was estimated by utilizing five dimensionless variables resulted from experimental data (570 runs). Five different scenarios were applied based on the input variables. The models were evaluated through several statistical indices and graphical charts. The results showed that all of the models could successfully estimate the discharge coefficient of Δ-shaped side orifices with adequate accuracy. However, the LSSVM-GSA produced the best performance for the input combination of all variables with the highest coefficients of determination (R2) and Nash–Sutcliffe efficiency (NSE), equal to 0.965 and 0.993, and the least root mean square error (RMSE) and mean absolute error (MAE), equal to 0.0099 and 0.0077, respectively. The LSSVM-GSA improved the RMSE of the SVM and LSSVM by 26% and 20% in estimating the discharge coefficient. Furthermore, the ratio of orifice crest height to orifice height (W/H) was identified as having the highest influence on the discharge coefficient of triangular side orifices among the various input variables.