skillfed

synapseml

Synapse Machine Learning

synapseml v1.1.3 1.8M downloads/30d#3,543 on PyPI5,236
Permissive license MIT Active released

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 on this page — 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

synapseml on PyPI

pip

pip install synapseml

uv

uv add synapseml

poetry

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 not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 129 days since the last release
Last repo commit
First released
Downloads 1,800,776/month — #3,543 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: synapseml-1.1.3-py2.py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries

Tags

distributed machine learning on sparkscalable ml pipelinestext analytics at scalecomputer vision with sparkanomaly detection distributedsparkml extension librarylarge-scale deep learningcognitive services spark integration
distributed-mlspark-integrationbig-data

More Libraries packages