cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Serving model with custom scoring script to a real-time endpoint

M_B
New Contributor II

Hi, new to databricks here and wasn't able to find relevant info in the documentation.


Is it not possible to serve a model with a custom scoring script to an online endpoint on databricks to customise inference ? the customisation is related to incoming data and formatting output, which doesn't seem to be part of the configs of the serving endpoint https://docs.databricks.com/api/azure/workspace/servingendpoints/updateconfig

1 ACCEPTED SOLUTION

Accepted Solutions

HaggMan
New Contributor III

If I'm understanding, all you really want to do is have a pre/post - process function running with your model, is that correct? If so, you can do this by using the MLflow pyfunc model. Something  like they do here:
https://docs.databricks.com/en/machine-learning/model-serving/deploy-custom-models.html

Or in this notebook (possibly a better example): https://docs.databricks.com/en/_extras/notebooks/source/machine-learning/deploy-mlflow-pyfunc-model-... 

Cheers. 

View solution in original post

1 REPLY 1

HaggMan
New Contributor III

If I'm understanding, all you really want to do is have a pre/post - process function running with your model, is that correct? If so, you can do this by using the MLflow pyfunc model. Something  like they do here:
https://docs.databricks.com/en/machine-learning/model-serving/deploy-custom-models.html

Or in this notebook (possibly a better example): https://docs.databricks.com/en/_extras/notebooks/source/machine-learning/deploy-mlflow-pyfunc-model-... 

Cheers. 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now