Databricks ML Model Export


Databricks ML Model Export was deprecated in Databricks Runtime 5.3 (Unsupported) and is removed in Databricks Runtime 6.0 (Unsupported). Use MLeap for importing and exporting models instead.

Databricks ML Model Export exports models and full ML pipelines from Apache Spark. These exported models and pipelines can be imported into other platforms to do scoring and make predictions.

Model Export is targeted at low-latency, lightweight ML-powered applications. With Model Export, you can:

  • Use an existing model deployment system
  • Achieve very low latency (milliseconds)
  • Use ML models and pipelines in custom deployments

The scoring (inference) library takes JSON-encoded features.

{"id":5923937,  // any metadata
"features:": { // MLlib vector format: 0 for sparse vector, 1 for dense vector
   "type": 1,
   "values":[0.1, 1.3, 8.4, 4.2]}}

The result is also encoded in JSON.

 "prediction": 1.0}