(URL)
-
- Install pipenv (URL)
- Run
pipenv install
at the repo's root directory - Run
pipenv shell
to set up the environment
-
- Run
pip install -r requirements.txt
at the repo's root directory
- Run
- Download the IMDb dataset
- Place all the files downloaded from IMDb into the
data
folder
dbt run
dbt run --vars '{not_run_models: ['reformat_persons']}'
-
Skip some models
not_run_models: ['reformat_persons']
-
Metadata
- Modify the content_rating:
content_rating: ['adult']
- Modify the content_rating:
-
Interaction
-
interaction_type
interaction_type: ('click', 'play', 'purchase')
-
interaction start at
interaction_start_date: '2023-06-07'
-
interaction end at
interaction_end_date: '2023-06-09'
-
duration of training dataset
- by number of days
training_days: '2'
- by specific date
target_date: '2023-06-09'
- by number of days
-