sagemaker-sparkml-serving-container icon indicating copy to clipboard operation
sagemaker-sparkml-serving-container copied to clipboard

Building custom docker using spark and mleap

Open prasadpande1990 opened this issue 3 years ago • 0 comments

Hi,

I was referring to this repo to build a custom docker image that does the feature transformation and use lightGBM model for prediction.

I wanted to use mleap to serialize my feature transformation model which is basically a spark pipeline model.

I tried adding dependencies in my docker and tried training but while calling serializeToBundle method I’m getting following exception.

JavaPackage object is not callable

Is there a way to get around this issue.

All stackoverflow posts recommend adding mleap jars but I’m not sure how to add those jars to a sage maker custom docker.

Can you guide me with that?

Thank You,

Prasad

prasadpande1990 avatar Sep 15 '20 21:09 prasadpande1990