[Spark-3525] Adding gradient boosting

same as above