[Spark-3525] Adding gradient boosting

DoubleRDDFunctions is not needed here