Getting Started with MLeap

The MLeap runtime itself provides everything needed to execute and serialize entire ML pipelines. It does not include anything required for training ML pipelines. In order to start with MLeap, you will need to add it to your project.

Adding MLeap to Your Project

MLeap and its snapshots are hosted on Maven Central and so should be easily accessible via a maven build file or SBT. MLeap is currently compiled for Scala version 2.12. We try to maintain Scala compatibility with Spark.

Using SBT

libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.21.0"

Using Maven


If you are packaging libraries into a single JAR, you need to use the Maven Shade plugin with the following transformer to ensure reference.conf files are merged instead of being overwritten:

<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  1. See build instructions to build MLeap from source.
  2. See core concepts for an overview of ML pipelines.
  3. See basic usage of MLeap to start transforming leap frames.

results matching ""

    No results matching ""