aws / aws/amazon-sagemaker-examples

3-mitigate-bias-train-model2-registry-e2e.ipynb failed CI

Open
#2,474 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/end_to_end/3-mitigate-bias-train-model2-registry-e2e.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [6]":
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in
1 # variables used for parameterizing the notebook run
----> 2 model_2_name = f'{prefix}-xgboost-post-smote'
3
4 train_data_upsampled_s3_path = f's3://{bucket}/{prefix}/data/train/upsampled/train.csv'
5 bias_report_2_output_path = f's3://{bucket}/{prefix}/clarify-output/bias-2'

NameError: name 'prefix' is not defined

Contributor guide

Open the contributing guide

Research direction

Open end_to_end/3-mitigate-bias-train-model2-registry-e2e.ipynb and inspect cell In [6], then trace where prefix is expected to be defined. Rerun the notebook or CI check and confirm the cell completes without the reported NameError.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.