Zeppelin MLeap Setup
Zeppelin runs Spark by default, and we won’t be covering how to set-up a zeppelin notebook here. However, once you do have it set-up, adding MLeap as a dependency is very easy.
MLeap is already located on Maven Central, so all you have to do is add:
ml.combust.mleap:mleap-spark_2.11:0.14.0
for Spark serialization supportml.combust.mleap:mleap-runtime_2.11:0.14.0
andml.combust.mleap:mleap-core_2.11:0.14.0
for MLeap Runtime support
Once that’s done, just include mleap import statements:
// MLeap/Bundle.ML Serialization Libraries
import ml.combust.mleap.spark.SparkSupport._
import resource._
import ml.combust.bundle.BundleFile
import org.apache.spark.ml.bundle.SparkBundleContext
当前内容版权归 combust.ml 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 combust.ml .