-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feature: integrate amtviz for visualization of tuning jobs #5044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
src/sagemaker/amtviz/__init__.py
Outdated
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | ||
# ANY KIND, either express or implied. See the License for the specific | ||
# language governing permissions and limitations under the License. | ||
"""Placeholder docstring""" |
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.
The placeholder docstring should be replaced with actual documentation explaining the
purpose of this module.
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.
Good catch, thanks for the hint. I added an explanation to the docstring.
"""Amazon SageMaker Automatic Model Tuning Visualization module. This module provides visualization capabilities for SageMaker hyperparameter tuning jobs. It enables users to create interactive visualizations to analyze and understand the performance of hyperparameter optimization experiments. Example: >>> from sagemaker.amtviz import visualize_tuning_job >>> visualize_tuning_job('my-tuning-job') """
… and sagemaker.deserialzers (aws#5037) * Move RecordSerializer and RecordDeserializer to sagemaker.serializers and sagemaker.deserializers * fix codestyle * fix test --------- Co-authored-by: pintaoz <[email protected]>
* Add framework_version to all TensorFlowModel examples * update framework_version to x.x.x --------- Co-authored-by: pintaoz <[email protected]>
…5043) * fix: pass in inference_ami_version to model_based endpoint type * documentation: update contributing.md w/ venv instructions and pip install fixes --------- Co-authored-by: Zhaoqi <[email protected]>
* Add warning about not supporting * update wording --------- Co-authored-by: pintaoz <[email protected]>
Description of changes: Add new functionality to HyperparameterTuner class to visualize the results of tuning jobs. The class now contains two functions using the amtviz package to create dynamic and interactive charts visualizing the influence of hyperparameters on the objective metric. The code in amtviz uses altair for charts generation. The original repository can be found here:
https://github.com/aws-samples/amazon-sagemaker-amt-visualize/
Testing done: Yes, added new unit tests and ran them successfully.
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
unique_name_from_base
to create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.