Getting Started with Spark
MLeap Spark integration provides serialization of Spark-trained MLpipelines to MLeap Bundles. MLeap also providesseveral extensions to Spark, including enhanced one hot encoding, one vsrest models and unary/binary math transformations.
Adding MLeap Spark to Your Project
MLeap Spark 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-spark" % "0.14.0"
To use MLeap extensions to Spark:
libraryDependencies += "ml.combust.mleap" %% "mleap-spark-extension" % "0.14.0"
Using Maven
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-spark_2.11</artifactId>
<version>0.14.0</version>
</dependency>
To use MLeap extensions to Spark:
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-spark-extension_2.11</artifactId>
<version>0.14.0</version>
</dependency>
- See build instructions to build MLeap from source.
- See core concepts for an overview of ML pipelines.
- See Spark documentation to learn how to train ML pipelines in Spark.
- See Demo notebooks on how to use MLeap with PySpark to serialize your pipelines to Bundle.ML and score with MLeap.
当前内容版权归 combust.ml 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 combust.ml .