PMML functions for Apache Spark