--- id: synapseml version: "1.1.3" license: MIT license_treatment: permissive maintenance: active --- # synapseml — Synapse Machine Learning License: permissive · Maintenance: active · Downloads: 1.8M/mo ## What it is and what it does SynapseML is a distributed machine learning library that extends Apache Spark with high-level APIs for building scalable ML pipelines. It abstracts over text analytics, computer vision, anomaly detection, deep learning, and other ML tasks, allowing you to compose these capabilities into workflows that run on single-node, multi-node, or elastically resizable clusters. The library shares the same API conventions as SparkML/MLLib, so it integrates naturally into existing Spark workflows. The package is designed to handle data wherever it lives—across different databases, file systems, and cloud stores—and is usable from Python, R, Scala, Java, and .NET. It includes specialized modules for sparse text analytics, gradient boosting, ONNX model serving, and HTTP-based model deployment. The main constraint is that you must have Spark 3.4+, Scala 2.12, and Python 3.8+ already installed and configured. Use it for: - Train and deploy text analytics models on multi-terabyte datasets using distributed algorithms. - Build computer vision pipelines that process images at scale across a distributed cluster. - Detect anomalies in large time-series or streaming data using distributed ML algorithms. - Integrate cognitive services into Spark ML workflows for big-data AI applications. - Serve trained Spark models as low-latency web services. - Train gradient boosted decision trees on large datasets using distributed computing. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. SynapseML is a distributed machine learning library built on Apache Spark that provides APIs for text analytics, computer vision, anomaly detection, and other ML tasks, designed to scale across single-node and multi-node clusters. Yes, if you are working with Spark and need to build distributed ML pipelines. SynapseML is actively maintained, has no known vulnerabilities, and offers a rich set of ML capabilities that integrate seamlessly with existing Spark workflows. The main condition is that you must already have Spark 3.4+, Scala 2.12, and Python 3.8+ configured; if you lack a Spark environment, the setup overhead may be substantial. For teams already using Spark, it is a natural choice for scaling ML work. ## Install pip install synapseml uv add synapseml poetry add synapseml ## Installing synapseml Before you install: Installation is straightforward (pure Python wheel), and the project is actively maintained with recent commits. However, it requires Spark 3.4+, Scala 2.12, and Python 3.8+ as runtime dependencies outside the PyPI package itself, which may add setup complexity depending on your environment. License in practice: Licensed under MIT (permissive), so you can use, modify, and distribute SynapseML with minimal legal restrictions in commercial and open-source projects. Quickstart: pip install synapseml # SynapseML integrates with Apache Spark for distributed ML pipelines # See documentation for usage patterns with your Spark environment Requires Apache Spark 3.4+, Scala 2.12, and Python 3.8+ to be installed and configured in your environment before using SynapseML. Verify before relying: - Specific performance benchmarks or scalability limits (e.g., maximum cluster size tested, throughput on typical workloads). - Compatibility matrix with specific Spark versions beyond the stated 3.4+ requirement. - Whether all advertised features (Vowpal Wabbit, LightGBM, ONNX, HTTP on Spark) are equally mature or if some are experimental. - Concrete code examples showing how to import and use SynapseML modules in practice. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 1.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags distributed machine learning on spark, scalable ml pipelines, text analytics at scale, computer vision with spark, anomaly detection distributed, sparkml extension library, large-scale deep learning, cognitive services spark integration, distributed-ml, spark-integration, big-data [View on SkillFed](https://skillfed.io/packages/synapseml) · [View on PyPI](https://pypi.org/project/synapseml/)