Apache spark 如何在scala/pyspark中对xgboost使用单调约束

Apache spark 如何在scala/pyspark中对xgboost使用单调约束,apache-spark,pyspark,xgboost,Apache Spark,Pyspark,Xgboost,我在pyspark中使用xgboost 如前所述,我想在我的模型中使用单调性约束 使用python xgboost模型很容易做到这一点,但我希望以分布式方式使用它 知道吗​ 如何在scala或pyspark中使用单调性约束

我在pyspark中使用xgboost

如前所述,我想在我的模型中使用单调性约束

使用python xgboost模型很容易做到这一点,但我希望以分布式方式使用它

知道吗​ 如何在scala或pyspark中使用单调性约束