Snowpark ML¶
The registry supports models created using Snowpark ML modeling APIs (models derived from
snowpark.ml.modeling.framework.base.BaseEstimator).
The following additional options can be used in the options dictionary when you call log_model:
| Option | Description |
|---|---|
target_methods | A list of the names of the methods available on the model object. Snowpark ML models have the following target methods by default, assuming the method exists: predict, transform, predict_proba, predict_log_proba, decision_function. |
You do not need to specify sample_input_data or signatures when logging a Snowpark ML model;
these are automatically inferred during fitting.
Note
Snowpark ML pipelines require an estimator. You can’t register a transformer-only Snowpark ML pipeline. Use a scikit-learn pipeline to register your transformers.