Question 1mediummulti select
Read the full ML Workflows explanation →Databricks-ML-Assoc ML Workflows • Complete Question Bank
Complete Databricks-ML-Assoc ML Workflows question bank — all 0 questions with answers and detailed explanations.
{
"model_signature": {
"inputs": [{"name": "feature_a", "type": "double"}, {"name": "feature_b", "type": "double"}],
"outputs": [{"name": "prediction", "type": "double"}]
},
"input_example": {
"feature_a": [1.0, 2.0],
"feature_b": [3.0, 4.0]
}
}{
"task_key": "TrainModel",
"notebook_task": {
"notebook_path": "/Shared/Train",
"base_parameters": {
"learning_rate": "0.01",
"epochs": "10"
}
},
"job_cluster_key": "ML_Cluster"
}Error: Model 'MyModel' (version 1) is in the 'Staging' stage and cannot be deployed to 'Production' because the registry policy requires an 'Approved' status from a team lead.
2023-10-27 10:00:00 [ERROR] Model deployment failed: Feature lookup for 'user_age' failed. Required feature not found in feature store.
{
"status": "FAILED",
"error": "java.lang.ClassNotFoundException: org.mlflow.tracking.MlflowClient",
"context": "Job cluster initialization",
"node_type": "i3.xlarge"
}{
"mlflow_config": {
"run_id": "xyz123",
"artifact_uri": "s3://my-bucket/mlflow/xyz123",
"model_flavor": "sklearn"
},
"error": "Permission denied: Unable to write to artifact path"
}log_model(model=my_model, artifact_path='model', signature=model_signature)
{
"model_name": "revenue_forecast",
"run_id": "a1b2c3d4e5f6g7h8",
"stage": "Staging",
"status": "READY",
"tags": {
"team": "finance",
"project": "q3_forecast"
}
}Error: mlflow.exceptions.RestException: RESOURCE_DOES_NOT_EXIST: Model version with name 'demand_forecast' and version '5' not found.