Export custom model/code

Alberto Vaccariello 21 Reputation points
2021-05-13T09:14:51.797+00:00

If I use transformer/estimator from the sklearn package it's sufficient to export a model.pkl artifact then simply use it following the various tutorials on microsoft site.
However, when I use scikit-learn's FunctionTransformer or TransformerMixin class to incorporate custom transformations how can I export the custom code to azure machine learning together with the model? (model.pkl do not contains the custom code)
What is the best practice?

Thanks.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,729 questions
{count} votes