Question 1easymultiple choice
Read the full Solving business challenges with ML explanation →PMLE Solving business challenges with ML • Complete Question Bank
Complete PMLE Solving business challenges with ML question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. ``` Error: INVALID_ARGUMENT: Model 'projects/my-project/models/sentiment_v2' failed to load. The model's signature definition does not match the prediction request. Expected: input: 'text' (string), output: 'scores' (float array) Received: input: 'review_text' (string) ```
Refer to the exhibit.
{
"bindings": [
{
"role": "roles/aiplatform.user",
"members": ["serviceAccount:ml-sa@my-project.iam.gserviceaccount.com"],
"condition": {
"title": "project_prefix",
"expression": "resource.name.startsWith('projects/ml-')"
}
}
]
}Refer to the exhibit.
training_job = aiplatform.CustomTrainingJob(
display_name='hyperparameter-job',
script_path='train.py',
container_uri='gcr.io/cloud-aiplatform/training/tf-cpu.2-6:latest',
requirements=['tensorflow==2.6'],
model_serving_container_image_uri='gcr.io/cloud-aiplatform/prediction/tf2-cpu.2-6:latest',
)
hp_job = training_job.run(
replica_count=1,
machine_type='n1-standard-4',
hyperparameter_tuning_job_spec={
'max_trial_count': 10,
'parallel_trial_count': 2,
'metrics': [{'metric_id': 'accuracy', 'goal': 'MAXIMIZE'}]
}
)Reference the exhibit.
```json
[
{"precision": "0.85", "recall": "0.78", "accuracy": "0.82", "f1_score": "0.81"},
{"precision": "0.90", "recall": "0.88", "accuracy": "0.89", "f1_score": "0.89"}
]
```Refer to the exhibit.
```yaml
deploymentResourcePool: projects/my-project/locations/us-central1/deploymentResourcePools/my-pool
disableContainerLogging: false
enableAccessLogging: true
explanationSpec:
parameters:
examples:
exampleGcsSource:
dataFormat: jsonl
gcsSource:
uris:
- gs://my-bucket/examples/*.jsonl
neighborCount: 10
neighborCount: 10
presampling: true
metadata:
inputs:
input:
inputTensor: input
modality: numeric
name: input
outputs:
output:
outputTensor: output
modality: numeric
name: output
machineSpec:
machineType: n1-standard-2
acceleratorCount: 1
acceleratorType: NVIDIA_TESLA_T4
minReplicaCount: 1
maxReplicaCount: 3
model: projects/my-project/locations/us-central1/models/123
trafficSplit:
'0': 100
```