Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Exam Databricks Machine Learning Professional Topic 6 Question 23 Discussion

Actual exam question for Databricks's Databricks Machine Learning Professional exam
Question #: 23
Topic #: 6
[All Databricks Machine Learning Professional Questions]

A data scientist has developed a scikit-learn random forest model model, but they have not yet logged model with MLflow. They want to obtain the input schema and the output schema of the model so they can document what type of data is expected as input.

Which of the following MLflow operations can be used to perform this task?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Bulah
2 days ago
Definitely B, mlflow.models.signature.infer_signature!
upvoted 0 times
...
Ricki
8 days ago
I think it's A, mlflow.models.schema.infer_schema.
upvoted 0 times
...
Danica
14 days ago
I vaguely recall that C is about getting the input schema directly, but I’m not confident if it applies to unlogged models.
upvoted 0 times
...
Mira
19 days ago
I practiced a similar question before, and I feel like E could be a trick option since it mentions unlogged models.
upvoted 0 times
...
Ozell
24 days ago
I'm not entirely sure, but I remember something about A being used for schema inference. It could be that one?
upvoted 0 times
...
Dolores
1 month ago
I think the answer might be B, because it sounds like it relates to inferring the model's signature, which includes input and output schemas.
upvoted 0 times
...
Sabra
1 month ago
I'm pretty confident that the answer is B. The `mlflow.models.signature.infer_signature` function is specifically designed to infer the input and output schemas of a model, regardless of whether it's been logged to MLflow or not. This seems like the most straightforward solution for the given problem.
upvoted 0 times
...
Frank
1 month ago
I'm a bit confused by this question. I thought we needed to log the model to MLflow first before we could access any information about it. Is there really a way to get the schemas without logging the model? I'll have to think this through carefully.
upvoted 0 times
...
Jess
1 month ago
Option B sounds like the right choice here. The question is asking about obtaining the input and output schemas, and the `infer_signature` function is designed to do just that, even for unlogged models.
upvoted 0 times
...
Norah
1 month ago
Hmm, I'm not sure about this one. I know we can use MLflow to log models and get information about them, but I'm not familiar with the specific functions for getting the input and output schemas. I'll have to review the MLflow documentation to see which option is correct.
upvoted 0 times
...
Cherelle
1 month ago
I think the answer is B. The `mlflow.models.signature.infer_signature` function should be able to infer the input and output schemas of the model, even if it hasn't been logged to MLflow yet.
upvoted 0 times
...
Francene
1 month ago
Hmm, I'm a bit confused by the options here. I'm not sure which one would be the simplest solution for frequent catalog changes. Maybe I should review the Magento documentation again.
upvoted 0 times
...
Lawrence
1 month ago
I have a vague recollection of SOAP/XML, but I'm not sure how it fits in with alarms?
upvoted 0 times
...
Florinda
1 year ago
I believe option B) is the correct one because it specifically mentions inferring the signature, which includes the input and output schema.
upvoted 0 times
...
Kimi
1 year ago
I'm not sure, but I think option A) mlflow.models.schema.infer_schema might also work.
upvoted 0 times
...
Elfriede
1 year ago
I agree with Harris. That option makes sense to infer the input and output schema.
upvoted 0 times
...
Harris
1 year ago
I think option B) mlflow.models.signature.infer_signature can be used.
upvoted 0 times
...
Lorriane
1 year ago
Tom
upvoted 0 times
Mendy
1 year ago
D) mlflow.models.Model.signature
upvoted 0 times
...
Dominque
1 year ago
C) mlflow.models.Model.get_input_schema
upvoted 0 times
...
Nickole
1 year ago
B) mlflow.models.signature.infer_signature
upvoted 0 times
...
Galen
1 year ago
A) mlflow.models.schema.infer_schema
upvoted 0 times
...
...

Save Cancel