-
Notifications
You must be signed in to change notification settings - Fork 24
samples: updates samples to v1 (3 of 8) #215
Conversation
Codecov Report
@@ Coverage Diff @@
## master #215 +/- ##
=========================================
Coverage 78.06% 78.06%
Complexity 1402 1402
=========================================
Files 97 97
Lines 10158 10158
Branches 137 137
=========================================
Hits 7930 7930
Misses 2051 2051
Partials 177 177 Continue to review full report at Codecov.
|
Here is the summary of changes. You are about to add 2 region tags.
You are about to delete 2 region tags.
This comment is generated by snippet-bot.
|
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright 2020 Google LLC | |||
* Copyright 2021 Google LLC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: no need to update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, thanks for letting me know!
System.out.format( | ||
"Feature Attributions Schema_uri: %s\n", | ||
explanationMetadata.getFeatureAttributionsSchemaUri()); | ||
|
||
Status status = trainingPipelineResponse.getError(); | ||
System.out.println("Error"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this suppose to error or does this need a catch statement? (same for other samples)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the service might run into an error during model training that is unrelated to the request sent by the customer. There isn't an error that we can catch for this. (Same as other samples.)
Thank you! |
This updates the java-aiplatform samples to use the v1 version of the samples.