Spaces:
Sleeping
Sleeping
| ''' | |
| PROJECT CONFIGURATION FILE | |
| This file contains the configuration variables for the project. The variables are used | |
| in the other scripts to define the paths to the data and results directories. The variables | |
| are also used to set the random seed for reproducibility. | |
| ''' | |
| # import libraries | |
| import os | |
| from pathlib import Path | |
| # define project configuration variables | |
| PROJECT_DIR = Path(os.getcwd()) | |
| DATA_DIR = PROJECT_DIR / 'data' | |
| MODEL_DIR = PROJECT_DIR / 'models' | |
| MEDIA_DIR = PROJECT_DIR / 'media' | |
| SEED = 42 |