aws / aws/amazon-sagemaker-examples

2_retail_recommend_train_tune.ipynb failed CI

Open
#2,419 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/use-cases/retail_recommend/2_retail_recommend_train_tune.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [6]":
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
1 # load array
----> 2 X_train = load_npz('./data/X_train.npz')
3 X_test = load_npz('./data/X_test.npz')
4 y_train_npzfile = np.load('./data/y_train.npz')
5 y_test_npzfile = np.load('./data/y_test.npz')

/opt/conda/lib/python3.7/site-packages/scipy/sparse/_matrix_io.py in load_npz(file)
129 """
130
--> 131 with np.load(file, **PICKLE_KWARGS) as loaded:
132 try:
133 matrix_format = loaded['format']

/opt/conda/lib/python3.7/site-packages/numpy/lib/npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding)
426 own_fid = False
427

[...]

FileNotFoundError: [Errno 2] No such file or directory: './data/X_train.npz'

Contributor guide

Open the contributing guide

Research direction

Open 2_retail_recommend_train_tune.ipynb and inspect the cells around In [6], where the missing ./data/X_train.npz and related files are loaded. Reproduce the CI run and verify that the notebook completes without the FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
machine-learning, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.