aws-samples / aws-samples/amazon-personalize-samples

Incorrect path for user data resulting in FileNotFoundError

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
602
Forks
338
PR merge metrics
No merged PRs in 30d

Description

Hi:

I was going through the "amazon-personalize-samples/next_steps/workshops/Immersion_Day/personalize_hrnn_metadata_contextual_example.ipynb" and got a runtime error of "FileNotFoundError" because the file path was missing "airlines_data".

`#users_df = pd.read_csv('a_users.csv')
users_df = pd.read_csv('airlines_data/a_users.csv')
`

Contributor guide

Open the contributing guide

Research direction

Open next_steps/workshops/Immersion_Day/personalize_hrnn_metadata_contextual_example.ipynb and inspect the users_df pandas read_csv path. Confirm the referenced a_users.csv location, update the path so the notebook runs without FileNotFoundError, and rerun the affected cell to verify it loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, pandas, python
Domain
data, machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.