Cloud-agnostic architectures for machine learning based on Apache Spark. (September 2021)