QuestionQ44

VerifiedTrain and use machine learning models

A model is registered in the Snowflake Model Registry with the following code:

Question Image

Which calls run predictions using the model?

Choose two
Explanation

A Snowflake ModelVersion runs an inference method through run, with the input DataFrame and the registered method name supplied as function_name; therefore, function_name="predict" invokes prediction. Model methods can also be called from SQL with the model-method syntax and the model’s required input feature columns as arguments. The registered model has feature1 and feature2 as its input data columns, so a predict SQL call that passes both columns performs inference. Snowflake documents ModelVersion.run and SQL model-method calls for prediction inference.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!