SageMaker Spark is an open-source Spark library for Amazon SageMaker. With SageMaker Spark you construct Spark ML Pipelines using Amazon SageMaker stages. These pipelines interleave native Spark ML stages and stages that interact with SageMaker training and model hosting. With SageMaker Spark, you can train on Amazon SageMaker from Spark DataFrames using Amazon-provided ML algorithms like K-Means clustering or XGBoost, and make predictions on DataFrames against SageMaker endpoints hosting your trained models, and, if you have your own ML algorithms built into SageMaker compatible Docker containers, you can use SageMaker Spark to train and infer on DataFrames with your own algorithms -- all at Spark scale. SageMaker Spark depends on hadoop-aws-2.8.1. To run Spark applications that depend on SageMaker Spark, you need to build Spark with Hadoop 2.8. However, if you are running Spark applications on EMR, you can use Spark built with Hadoop 2.7.

Features

  • SageMaker Spark needs to be added to both the driver and executor classpaths
  • You can run SageMaker Spark applications on an EMR cluster
  • EMR allows you to read and write data using the EMR FileSystem
  • Create your Spark Session and load your training and test data into DataFrames
  • SageMaker Spark provides several classes that extend SageMakerEstimator to run particular algorithms
  • Use SageMakerEstimator and SageMakerModel in a Spark Pipeline

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow SageMaker Spark

SageMaker Spark Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SageMaker Spark!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Libraries

Registered

2022-07-11