[Spark-3525] Adding gradient boosting

return this