Getting Started with MLeap
The MLeap runtime itself provides everything needed to execute andserialize entire ML pipelines. It does not include anything required fortraining ML pipelines. In order to start with MLeap, you will need toadd it to your project.
Adding MLeap to Your Project
MLeap and its snapshots are hosted on Maven Central and so should beeasily accessible via a maven build file or SBT. MLeap is currentlycross-compiled for Scala versions 2.10 and 2.11. We try to maintainScala compatibility with Spark.
Using SBT
libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.14.0"
Using Maven
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-runtime_2.11</artifactId>
<version>0.14.0</version>
</dependency>
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">
<resource>reference.conf</resource>
</transformer>
- See build instructions to build MLeap from source.
- See core concepts for an overview of ML pipelines.
- See basic usage of MLeap to start transforming leap frames.
当前内容版权归 combust.ml 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 combust.ml .